Commit Graph

512 Commits

Author SHA1 Message Date
jljusten c470d83142 Add WIN32 binary build of LzmaCompress. Add LzmaCompress to tools_def.template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8228 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-01 06:45:01 +00:00
qhuang8 33d487d463 Sync bug fix of Base Tools r1559.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8226 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 10:45:50 +00:00
lgao4 15a7c2f1fe Update VfrCompiler to handle ideqvallist as the first opcode case. Per UEFI spec, If the expression consists of more than a single opcode, then the first opcode in the expression must have the Scope bit set and the expression must end with EFI_IFR_END
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8143 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 02:29:17 +00:00
lgao4 2fd618df9d Enhance VfrCompiler to create the end label for the framework vfr file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8134 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 08:11:14 +00:00
jwang36 14ca06407d Frozen from source r1551
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8122 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 07:22:21 +00:00
lgao4 6924b7ae26 Update VfrCompiler to support UEFI 2.1 form classguid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8113 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:27:16 +00:00
lgao4 7a65d44a47 enchance error handling for disableif
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8072 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 07:01:18 +00:00
lgao4 299b4cf312 Update GenFw -z option to zero debug data and time stamp.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8039 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 09:10:15 +00:00
jwang36 c44fb9d331 Generated from source r1543
a. Fixed PCD database error
b. Fixed inf file extension issue 
c. Fixed an issue in which RealPath() returns None if WORKSPACE root was passed in
d. Check MODULE_TYPE and COMPONENT_TYPE to be defined


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7994 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 15:46:16 +00:00
qhuang8 aaf6344c9e Search framework database file at the $(WORKSPACE)/Conf directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7985 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-30 09:30:53 +00:00
qhuang8 1b9370bc0f Enhance MigrationMsa2Inf to support extract the GUID value from DEC files. It can also extract the GUID value from XML syntax package files, SPD or NSPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7983 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-30 07:06:47 +00:00
jwang36 03e0648b32 Built from source r1536:
a. Show correct and bad file path when file name case is wrong
b. Remove the "_FLAGS" check in meta file parser


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7961 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 15:14:27 +00:00
jlin16 5489a5003f GenFds fix PCD byte array format support for PCD specified file GUID; enhance warning message for binary module/file path case-sensitive conditions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7949 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 08:22:33 +00:00
qhuang8 1e976d75f1 Temporarily rollback the previous check in for more investigations of PCD database data structures difference for PcdPeim and PcdDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7918 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-21 03:59:44 +00:00
jwang36 db488c7865 a. Fixed build break caused by EdkLogger.warning
b. Fixed PCD token number generation issue for PCD in library

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7907 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-19 07:30:32 +00:00
jlin16 024a05ac5c GenFds add support for PCD specified file GUID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7901 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-17 09:48:47 +00:00
jlin16 d26743215a GenFds add option ROM and Defines section support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7891 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 10:20:03 +00:00
jwang36 0306d9a9c5 Added a workaround to bypass the error caused by SaveFileToDisk in Common.PyUtility.pyd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7878 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 09:00:45 +00:00
lgao4 25cda2e069 Correct EfiRom tool to don't check vendor id and device id when the input image is the legacy option rom.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7872 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 03:28:37 +00:00
jwang36 a114969731 Try to remove duplicated include path in command line option
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7869 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 16:39:24 +00:00
jlin16 242d687699 GenFds: hide unnecessary warning information.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7834 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 03:41:44 +00:00
jwang36 34a8fc1077 Added support of PCD HII Variable name in C style of unicode string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7827 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:51:47 +00:00
lgao4 bda0735ba8 Update GenFw tool help text to clarify GenFw tool usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7801 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 14:31:14 +00:00
lgao4 3344d7ded8 Update GenFv tool to get FvNameGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7799 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 07:52:49 +00:00
jlin16 e95a695825 GenFds add FV name GUID support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7798 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 07:25:18 +00:00
jwang36 2696392b1e Fixed file path issue if the WORKSPACE is the root of a drive (generated from source r1506)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7753 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 05:55:25 +00:00
jwang36 63418eb7d0 a. Allow different types PCD declaration in dec file
b. Generated from source r1505

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7745 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 12:53:39 +00:00
jwang36 1a6c62bb0d Frozen from source r1503: added quote marks for the reference of $(MAKE) to avoid build failure because of space in MAKE path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7731 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 07:09:00 +00:00
jwang36 a9f61fc3d0 Added the definition of $(MAKE) macro back into top level makefile for the sake of nmake.exe in Visual Studio 2003.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7722 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 16:10:19 +00:00
lgao4 b3bf1e80c8 Update GenFv tool to support creating PI extension FV header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7668 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 06:28:42 +00:00
jwang36 7e6142874d 1. Fixed the issue which string ID, $LANGUAGE_NAME and $PRINTABLE_LANGUAGE_NAME, were generated if "#langdef" is not in the first uni file.
2. Fixed the issue which "//" would be taken as comment in PCD value in DSC file.
3. Generated from source r1500

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7662 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 17:15:45 +00:00
jwang36 16cbc58005 Fixed single module build failure issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7545 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-19 10:00:25 +00:00
jwang36 9a99b39e56 Fixed an issue caused by passing string of fdf file path
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7542 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 14:15:15 +00:00
jwang36 56cdcbe1a5 Fixed the failure caused by specifying fdf file via "-f" switch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7541 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 12:10:56 +00:00
jwang36 510750f5cf 1) Fixed silent mode issue in Linux.
2) Fixed customized build issue in Duet.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7532 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 04:14:58 +00:00
jwang36 a7d376877f 1. Use FAMILY defined in *_TAGNAME_*_*_FAMILY as the toolchain family
2. Force file name case check in Windows
3. Consolidate file/path operations
4. Support binary file type in build_rule.txt
5. Generate $(FILE_TYPES) macro only when it's used in build_rule.txt
6. Fix HSD202142 and HSD202144
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7529 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-16 13:37:23 +00:00
jwang36 70e5ca2731 Fixed a PcdEx AutoGen bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7358 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 08:37:07 +00:00
lgao4 9d35ff8b32 Enhance GenFw tool to zero PeImage .xdata section (free form exception data) unused in BIOS, which can increase the compression ratio for the BIOS image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7321 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 01:50:10 +00:00
jwang36 d95ecf491b Using share mode to create file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7251 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 05:43:25 +00:00
jwang36 dacae1e8f8 Test version for performance concern.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7249 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 03:35:05 +00:00
jwang36 0ae247182a Fixed the out-of-sync issue of AutoGen-ed files in Windows platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7248 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 08:03:23 +00:00
jwang36 0c9ee2af3f Change the name of extension
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7246 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 06:12:10 +00:00
jwang36 5884bab5eb A test version making use Windows API to create AutoGen files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7244 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 05:44:06 +00:00
jwang36 67d1416a43 Roll back to normal version
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7240 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 02:15:03 +00:00
jwang36 afa5db88b0 A trial version making use of pywin32 api to create file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7239 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-11 08:21:41 +00:00
jwang36 8444320250 test version
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7238 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-10 13:05:21 +00:00
jwang36 cad8a80c0c Try to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7237 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 09:17:00 +00:00
jwang36 eb9b26e549 Final test version (GC plus bufsize=1) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7236 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 08:01:03 +00:00
jwang36 e5ea66ab92 Another test version (using low-level api provided by os module) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7233 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 07:33:29 +00:00
jwang36 ec7def69bf Another test version (using garbage collection to do cleanup) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7231 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:54:39 +00:00
jwang36 b3ff502f6d Another test version (using bufsize=1) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7227 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 05:36:20 +00:00
jwang36 8ec30b14c8 Another test version (using glob to check file existence) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7226 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 05:20:11 +00:00
jwang36 88f185a232 Another test version (sleep in main loop) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7225 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 04:57:59 +00:00
jwang36 7dd12c93b4 Another test version (using windows's specific 'c' open mode) trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7224 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 04:39:56 +00:00
jwang36 99f9af5afc Another test version trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7222 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 03:34:11 +00:00
jwang36 c52a147b40 Another test version trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7221 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 03:00:21 +00:00
jwang36 8578c9a1d1 Another test version trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7205 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-08 02:06:29 +00:00
jwang36 44feaa765a A test version trying to solve the non-existence issue of AutoGen-ed files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7200 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-07 06:27:50 +00:00
jwang36 2eab98c107 1) Re-fine and fully test the mechanism of getting over the long command line limitation
2) Change the -s option from "SpawnMode" to be "SilentMode"
3) Change the prototype of PeiCoreEntryPoint in AutoGen-ed code
4) Remove CalcDeps module since it's no longer needed.
5) Remove "-k", "-g" and "-l" switches from build
6) Remove MULTIPLE_THREAD in target.template. Use MAX_CONCURRENT_THREAD_NUMBER to get the functionality.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7158 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-31 05:53:26 +00:00
klu2 f65aced166 Correct binary tools for generating DUET image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7135 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 07:56:49 +00:00
jwang36 d20c09b282 Fixed an issue which would cause build failure if there's more than one option input to $(MAKE) command.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7079 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-18 08:19:28 +00:00
jwang36 aceceae816 Always add files in [Sources] section to search list for string ID
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7046 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 13:15:03 +00:00
lgao4 6b9b954c40 Update GenSec tool to always create output file without check file content.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7030 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 07:39:56 +00:00
jlin16 619c3f0826 GenFds will try to deduce 'Target_Toolchain_Arch' KeyStringList for GUIDed section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7027 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-15 07:10:49 +00:00
jwang36 7bfde65c79 Add incremental support for FD and Capsule generation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7018 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-13 12:52:46 +00:00
jlin16 96dcf1973f GenFds enable display FV space information when incremental build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7012 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 06:51:49 +00:00
jwang36 2b366ba67d 1) Search value of Guid/Protocol/PPI in inf file only in the same category in dec file.
2) Pass all files in a module's directory to StrGather for R8 modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7009 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-12 06:22:53 +00:00
jwang36 1b0ea113a3 1) Separate the AutoGen code for PCDs between module and its library instances. Only macros for module's PCDs will be put in AutoGen.h. Others will be put in AutoGen.c. This is intended to catch missed PCDs in inf file more easily.
2) For better compatibile between C standards or C compiler, add type cast for PCD constants in AutoGen.h according to the PCD datum type.
3) Add incremental generation capability for FV in GenFds tool.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6930 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 07:13:26 +00:00
jwang36 ed21ba850d Added a feature to print out storage layout in lst file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6844 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 09:08:00 +00:00
jwang36 749adca550 Re-generated with the latest source code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6841 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 07:36:13 +00:00
jwang36 06b360150c a. Added a feature to allow override tools option via "==" in metafile.
b. Removed the AutoGen.c generation for R8 module without unicode file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6828 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 04:57:45 +00:00
jwang36 0e4d589e91 Fixed regression bug HSD201375
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6780 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 12:20:14 +00:00
jwang36 b3b6a070d0 a. Fixed R8 module build issue for EBC arch
B. Fixed issue in trimming preprocessed VFR file with no space between "struct" and open "{".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6771 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 06:09:25 +00:00
lgao4 abf1c3e47f Check In Build.exe and tools_def.template
1. Declare entry point, constructor into AutoGen.h
2. Create ModuleNameStrDefs.h to contain uni code string ID. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6762 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 09:15:52 +00:00
jwang36 35a646e204 Fixed an incorrect PCD type string conversion
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6724 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-25 09:59:02 +00:00
klu2 543cecc301 Use "GLOBAL_REMOVE_IF_UNREFERENCED volatile" for variable of binary patch PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6712 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 17:57:43 +00:00
lgao4 ebff0282f2 Update VfrCompile tool to fix bug that parse the complicated expression, such as ((BOOLEAN)(1==1)) to create the wrong EndOf opcode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6711 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-24 11:56:43 +00:00
qwang12 1459f3cd48 1) StrGather (Build.exe) in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface.
4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6671 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 15:07:14 +00:00
lgao4 cd3c4fcdfd 1. Enhance GenFv WriteFvMap function to print basic debug information (entrypoint, baseaddress, .text, .data section base address) when no map can be referred.
2. Enhance GenFv tool to create the non PI file system firmware volume.

3. Update VfrComile 
 1) Set the first framework var store name to “Setup”
 2) Support DEFAULT and MANUFACTURING for framework CheckBox flags value

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6666 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 07:23:17 +00:00
jwang36 d4a20ec9dc Changed the way to compare the content of AutoGen with the file to be generated from it. This is to solve the re-generation issue of AutoGen files because of the newline format is different between the internal representation and the file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6658 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 04:38:01 +00:00
jwang36 6ae2cf5c0f Changed file line format of AutoGen files to native style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6640 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 02:00:07 +00:00
jwang36 b21f3994c7 Removed GLOBAL_REMOVE_IF_UNREFERENCED for patchable PCD because it will cause that patchable PCD variables information won't be in the map file generated by linker.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6617 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-19 02:25:50 +00:00
qwang12 a19b85ea59 [VfrCompiler FeatureRequest] Generate data for ConfigAccess.ExtractConfig() impl
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6613 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 14:27:22 +00:00
lgao4 64cd21af35 Update ASL build rule, Add PeiLibPciCfgModify into EDKII GlueLib PeiServiceLib to support the modules that uses EDKII Glue Lib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6551 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-17 02:12:36 +00:00
mdkinney d0a0826133 Update GenFv to support SEC built using X64 tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6549 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-15 21:54:07 +00:00
jwang36 7c98946fe6 Removed the replacement rule of PEI_PCI_CFG_PPI for R8 source code conversion
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6534 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 10:24:56 +00:00
jwang36 c555018670 Fixed HSD 201877: 'END' in [depex] caused GenDepex failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6501 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 08:37:47 +00:00
jwang36 a7451d112d a. Added ImportTool.bat script
b. Added more error check for Trim.exe


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6490 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 07:51:03 +00:00
jwang36 53347b6ed4 a. Changed ASL code trim scheme
b. Added one more rule for convert R8 source code and added missing '&' before gPciCfgPpi.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6488 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 07:07:29 +00:00
jwang36 00ee6b6b86 a. Fixed conversion failure for ASL style include.
b. Not to save file if converted file is intact and the target file is the source file.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6483 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-13 04:56:54 +00:00
jwang36 74c90c7e47 a. Allowed flags of tools not defined tools_def.txt
b. Added BUILD as internal tool to pass compatible mode of unicode to build tool.
c. Added support of [Depex.common.<ModuleType>] in inf file
d. Added more optimization, especially for architecture protocols, in GeDepex tool
e. Fixed the generation of _gPeimRevision and _gDxeRevision global variables in AutoGen.c according to new MdePkg spec.
f. Changed the header file of DxeSmmeEntryPoint.h to UefiDriverEntryPoint.h in AutoGen.c since it's no longer exist.
g. Fixed $(PROCESSOR) macro replacement issue in [nmake] section


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6452 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 08:37:20 +00:00
jwang36 498a6d9883 Fixed an issue which caused incorrect path generated when validating
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6438 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 05:54:23 +00:00
jlin16 63a66a35c8 Fix HSD 201801: [GenFds] Error reported when a non-existing INF file is specified is not clear
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6411 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-06 07:53:01 +00:00
jwang36 d2ef2ab552 Fixed build failure of R8 modules with uni file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6310 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 09:57:36 +00:00
jwang36 9df87888de Performance improvement on startup of build.exe
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6289 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 03:14:10 +00:00
jwang36 f40a038076 Fixed incorrect function prototype in AutoGen.c for PEI modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6272 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 09:40:43 +00:00
jwang36 82adad58b5 1. Fixed bugs of HSD bug trackers 201729, 201670 and 201601
2. Improved the screen output when in quiet build mode
3. Added "tbuild" target in makefile in order to not created directories in makefile. Instead, they will be created in build tool. This will give better build performance, especially in incremental build.
4. Added space check in WORKSPACE and OUTPUT_DIRECTORY (in dsc file) directory name and give error message if found.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6269 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-28 08:22:50 +00:00
qhuang8 e27dd4e956 Regenerate build binary (based on BaseTools r1333) to include some missing encodings to avoid build crash when generation the final image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6188 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 14:05:17 +00:00
hche10x aff8fb942c 1. Sync the binary with the latest source modification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6186 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 09:06:44 +00:00
hche10x f2ea316578 1. Sync the binary with the latest source modification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6185 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-22 09:04:32 +00:00