Commit Graph

1309 Commits

Author SHA1 Message Date
qouyang 34a0c84476 Delete the midterm temporary file which created by GenFFSFile task.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1576 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 06:21:04 +00:00
bxing 76c86b3ac4 Remove dependence check of FD upon FlashMap.fdf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1575 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 02:57:55 +00:00
jlin16 1b69863ad8 add multi-source pcd check before adding/deleting lib instance for ModuleSA in platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1574 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20 00:48:36 +00:00
mdkinney 495849b7cf Add PCD Feature Flags for the Device Path Module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1573 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:14:50 +00:00
mdkinney e99aa5a211 Update Device Path Module to use PCD Feature Flags to determine of the Device Path To Text and Text To Device Path Protocols are produced or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1572 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:14:02 +00:00
mdkinney c7823a8f8a Add use of PCD feature flags to the Device Path Modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1571 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:13:04 +00:00
mdkinney af118a862d Declare PCD Feature flags for protocols produced by the Device Path Module and decompression methods supported by the DXE IPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1570 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:11:53 +00:00
mdkinney e29d70965d Add PCD Feature Flags to control which decompression method(s) are included in the DXE IPL. The choices are any combination of EFI, Tiano, and Custom decompression.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1569 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:10:41 +00:00
mdkinney f47629a482 Remove IDT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1568 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:08:01 +00:00
mdkinney 23086ba84c Optimize the size of the Base Library for the MSFT 32-bit tool chains by taking advantage of inline assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1567 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:04:40 +00:00
mdkinney b053781829 Add GLOBAL_REMOVE_IF_REFERENCED to the declaration of module globals in the Print Library that were still present in the final image even through there were no references to those module globals.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1566 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:01:18 +00:00
mdkinney 3edf127e48 1) Simplify implementation by reading the entire input file into memory, modifying the buffer in memory, and then writing the entire buffer from memory to the output file.
2) Zero all optional fields in the PE/COFF Optional Header

3) Zero the .pdata section of X64 images that do not have a Debug Directory

4) Strip zero padding at the end of the .reloc section.




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1565 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:58:55 +00:00
mdkinney 0e84e0d7bd Fix buffer overflow when the raw size of a section and the virtual size of a section are not the same.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1564 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:53:32 +00:00
mdkinney 202515b47d Compute the end address of a section read from a file using the SizeOfRawData instead of VirtualSize, because the PE/COFF image format allows the SizeOfRawData to be smaller then VirtualSize.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1563 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:52:07 +00:00
mdkinney 928fbe8f1c Use a 64-bit Optional Header when a 64-bit image is detected
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1562 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:49:56 +00:00
mdkinney b7b99c7662 Enable source level debug of all tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1561 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:48:21 +00:00
mdkinney 1986771518 Enable source level debug of all tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1560 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:46:40 +00:00
mdkinney a6b6b67a48 Enable source level debug of all tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1559 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 18:46:15 +00:00
jwang36 34f40a4aca Fixed an issue which will cause dependency check failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1558 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 07:04:08 +00:00
alfred 77dd49a7d1 add EdkModule Guid
nmake.()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1557 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 06:42:24 +00:00
jwang36 d946661a82 1) Added dependency check for flashmap, genfvimage, peirebase tasks
2) Added code in FpdParserTask.java to avoid re-generate FV.inf file
3) Added isEmpty() to ToolArg class to check if an argument is empty or not

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1556 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 05:55:19 +00:00
hche10x d1760183fd 1. Fix EDKT277 "ModuleType missing when creating a new Module"
2. Fix EDKT278 "Can NOT save file after generate a new GUID for a MSA"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1555 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 02:14:15 +00:00
lhauch 13bb49b1fb Adding merge command line program that merges multiple MSA modules into a single MSA file. View readme.txt to see rules and usage. This is the batch file that executes this command on a Windows* system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1554 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 22:02:52 +00:00
lhauch 0e771cd32f Adding merge command line program that merges multiple MSA modules into a single MSA file. View readme.txt to see rules and usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1553 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 22:02:06 +00:00
lgao4 0992e55989 changed EdkModulePkg GUID from the original B6EC423C-21D2-490D-85C6-DD5864EAA674 to new 68169ab0-d41b-4009-9060-292c253ac43d to avoid its conflict with gPeiBaseMemoryTestPpiGuid and change all msa and fpd file in EdkII, which depends on EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1552 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 11:32:31 +00:00
lgao4 62f8431554 changed EdkModulePkg GUID from the original B6EC423C-21D2-490D-85C6-DD5864EAA674 to new 68169ab0-d41b-4009-9060-292c253ac43d to avoid its conflict with gPeiBaseMemoryTestPpiGuid and change all msa and fpd file in EdkII, which depends on EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1551 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 11:31:20 +00:00
jwang36 e5890ee5f8 Added check to skip generating target.txt and tools_def.txt if they already exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1550 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 10:36:58 +00:00
qouyang 3e73f377a8 Fixed EDK258.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1549 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 09:56:40 +00:00
vanjeff 7f47bef3d8 added EFIAPI for those constructor functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1548 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 02:44:41 +00:00
vanjeff a8e756dad0 add EFIAPI for those constructor funcitons declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1547 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 02:07:18 +00:00
jwang36 2f2c367ad8 Added synchronized to getCommandSetting to solve multi-thread build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1546 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 09:35:46 +00:00
jlin16 ac66fadf6f remove comments before ModuleSA and library instance , if any, in xml file when deleting a module or instance from FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1545 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 09:13:04 +00:00
lgao4 7838808993 Add EntryPoint info of module into Fv.map file, which is used to debug when no serial output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1544 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 07:53:15 +00:00
jwang36 1744b047bb Added "synchronized" to getToolChainInfo() to solve synchronization issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1543 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 06:18:55 +00:00
vanjeff 34913f248c typecast some return values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15 02:36:38 +00:00
bxing f23d790a79 Added an extra GDT entry to the GDT used by thunk code. SS register will always be loaded as flat segment before switching to 16-bit mode, since SS might not be always valid for NULL selector is allowed in 64-bit mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1541 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 16:04:47 +00:00
qwang12 0f008d9ad4 Remove platform-specific Firmware Volume Block Driver implementation from EdkNt32Pkg. And move files from nt32 directory up one level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1540 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 14:18:20 +00:00
lgao4 8aab007a7d Remove Static declaration for the related driver binding functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1539 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 09:46:16 +00:00
jchen20 33dc2c50a1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1538 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-14 09:30:35 +00:00
jchen20 66ce26dad5 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1537 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-14 09:30:04 +00:00
jwang36 e0ab6c7b60 fixed a typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1536 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:36:26 +00:00
jwang36 0fdb42ac46 1) Applied ToolArg and FileArg class to represent tool arguments
2) Unified the tool output message and exception handling
3) Cleaned the coding style
4) Removed used code

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1535 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:35:38 +00:00
alfred 39e5e412f9 add .. support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1534 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 08:09:54 +00:00
jlin16 ce32083fca Add Binary or Source type check before providing PCD item choices when editing platform PCDBuildData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1533 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 07:06:02 +00:00
wuyizhong 2a9060e294 For stand-alone build, generate Platform_build.xml and call prebuild firstly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1532 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 02:39:02 +00:00
jlin16 73d9b1c494 For one library class, list all library instances from all packages in workspace.
Fix the PCD memory database inconsistency problem when changing PCD item type in platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1531 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 14:51:47 +00:00
qhuang8 10e4f9901c 1.Support to drop Pei Services Table Pointer at best.
2.Change the comments style of Migration tool.
3.Fix a bug in identify function header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1530 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 10:00:18 +00:00
qouyang 5c4eec41d7 (Customized Compression)If setting the EncapsulationType="Compress", Tool will transfer it to sectiontype="EFI_SECTION_COMPRESS" in <gensection>element of <genffsFile> task.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1529 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 09:20:36 +00:00
wuyizhong d965d1f63f Update log.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1528 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:40:49 +00:00
wuyizhong d8956f143e Add warning message for single module build if multi-thread enabled.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1527 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 07:14:54 +00:00