Commit Graph

192 Commits

Author SHA1 Message Date
klu2 ca844f3623 Continue to fix EDKT187.
After discussion with ouyang, qian and shi, carl, we find it is no necessary to add PcdLib according to whether library instance use PcdLib.
In this patch. I remove original fixing and correct some MSA file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1315 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 16:23:46 +00:00
wuyizhong 2d16dcec6f Add class header to FrameworkBuildTask. Remove some unused code from top level build.xml.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1306 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 06:51:51 +00:00
wuyizhong 4a6a5026fc Using Common Definitions. Remove some unused codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1304 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 05:29:15 +00:00
klu2 bd4814401e Fix the track EDKT187: If a module do not use PCD, PcdLib library class need not be exist in its MSA file.
The fixing is judge whether the module's library instance use PCD, if use, build tools will add PcdLib into module's autogen.h automatically.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1297 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 13:59:00 +00:00
qwang12 2c0e2bcf49 Embeded autogenerated code in Java code instead of getting them from a real file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1294 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 10:51:01 +00:00
jwang36 d2059d0594 Added comments and polished the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1293 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 10:35:00 +00:00
klu2 11eb278ae5 Refine the code for PCD tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1282 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 18:33:53 +00:00
klu2 5f907e4a5b Fix the bug that using hardcode driver name to judge whether current driver is PCD driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1281 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 17:11:06 +00:00
wuyizhong 8251688793 Adjust some code format and clear some unused codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1273 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 08:36:45 +00:00
yshi8 ff225cbbae moved exception and logger classes to org.tianocore.common package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1269 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 06:27:57 +00:00
lhauch 391dbbb1c0 Fixed grammar in messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1256 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 18:41:39 +00:00
wuyizhong 88f858a135 Using ${OBJECTS} instead of fileset to trace all obj files. Add a new Macro named Build_Init to provide a way to initial some properties for user.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1252 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 07:00:48 +00:00
wuyizhong 67e7b756c8 Do Not cleanall librarys with a module build clean or build cleanall.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1246 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 03:47:59 +00:00
qouyang a2733a33ab Fix EDKT186.
Fix EDKT148.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1230 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 06:09:10 +00:00
jwang36 19d66cd590 Fixed EDKT163. Added code to assign "arch" to null when no "SupArchList" is specified and made several format clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1222 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 04:56:49 +00:00
wuyizhong 8a9783c1f3 Enhance FfsLayout parsing. When specify a file for a section, then just use the file as section file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1219 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 02:18:20 +00:00
klu2 b629771180 Fix some bugs and remove unused code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1201 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 08:21:32 +00:00
klu2 a04ab2ba89 Fix the bug for not add error reporting in getAllDynamicPcdInfoFromFpd(), it block building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1198 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 06:41:27 +00:00
klu2 4d1939b86f Shutdown the PCD's datum verification when building, it can save 2 minutes for full building by using JDK 1.5.06.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1196 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 03:09:29 +00:00
klu2 20c5c53fd7 Change return value of getGuidInfo from globaldata. Now only guid string is returned.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1195 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-06 08:18:32 +00:00
klu2 e55d8a3c6b In preprocess for getting platform PCD information, if meet error, put error into stack but not stop immediately, all errors will be summaried after preprocess working.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1194 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-06 07:26:05 +00:00
qouyang 8d86099955 Remove debug log.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1191 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-05 13:11:12 +00:00
qouyang 2336382f4c Fix EDKT148.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1190 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-05 11:14:33 +00:00
klu2 8b7bd4559c 1, Make exception string friendly, readable.
2, Add new PlatformPcdPreprocessBuildException and PlatformPcdPreprocessException for catching PlatformPcdPreprocessAction.
3, Clean up some code for pcd's action package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1189 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-04 18:22:21 +00:00
wuyizhong 01413f0ccb Remove some unused code and adjust some code format. Modules build with FPD sequence. Delete three unused Java files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1179 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 02:55:45 +00:00
klu2 af98370ea4 Abstract the logic of Platform pcd preprocess according to FPD file to a class. And add a new class for building process extend this abstract class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1169 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 14:51:46 +00:00
klu2 241876c7a3 Add new PcdDatabase.java file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1166 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 06:56:43 +00:00
klu2 4886a7b4c0 It is bad to put PcdDatabase.java into CollectPCDAction.java class. So I move it out.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1165 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 06:50:47 +00:00
klu2 d14ebb4374 Because Pcd entity, exception and some action package are shared by Building tools and Wizard Tools, so I move them to Tools/Source folder and generated PcdTools.jar,
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1160 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-31 18:55:26 +00:00
klu2 9efa2da011 Fixed track EDKT153, change PCDAutogen code to generate static variable referent for _PCD_VALUE_... for byte array type PCD in FIXED_AT_BUILD case.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1153 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-30 14:48:14 +00:00
klu2 eece174ad0 1, Fix EDKT141
2, Code clean up for PCD building tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1150 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 14:29:59 +00:00
klu2 a1eb640176 There is a rule here:
If a module link a library instance, all pcds defined by library instance should be instanted in module's <ModuleSA> in FPD file.

I add more checking code follows above rules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1141 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 16:44:52 +00:00
wuyizhong 53d853a683 Remove additional / or \ in relative path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1134 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 05:22:00 +00:00
wuyizhong 9cf435c223 Fix T105. It is caused by cpptasks which change automati cally root directory like C: to C:\C. If we pass C:\ to cpptasks, it's okay now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1130 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 01:39:10 +00:00
jwang36 342810920f Fixed EDKT147, which will fail the single module build when a module is just defined for one ARCH in a platform which supports two ARCHs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1118 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 09:25:41 +00:00
qouyang 1dbcbb6158 Fixed EDKT145
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1112 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 03:44:58 +00:00
jwang36 991d660b95 Changed the way to save generated module build.xml to avoid incorrect file name generated on Linux
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1091 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 08:13:58 +00:00
qouyang 893cea1463 Keep the original order of MSA's "dependence library class" which will reflect to include header file in Autogen.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1083 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 09:30:22 +00:00
jwang36 52cbbdbc16 Fixed EDKT118
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1079 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:02:37 +00:00
klu2 6ab88a7c86 Fix track EDKT97: Use {0} as NULL value for VOID* type PCD but not {}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1077 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23 17:26:27 +00:00
qouyang 31a9215c32 Add check when copy flashMap.h to ${ModuleOutputDir}/Debug/TianoR8FlashMap.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1065 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 08:26:32 +00:00
jwang36 57cc2ee710 a) Fixed the issue that the unnecessary build for not specified ARCH in single module build
b) Fixed the issue that mixed case of FV name will cause invalid inf file generation
c) Fixed the issue that not specified outputDir will cause tool (flashmap, efirom) cannot be launched 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1056 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20 10:40:46 +00:00
qouyang 58c5839f2c Modify Autogen.jave to fixed bug: EDKT113.
Modify the COmmonDefinition .java to keep the order of EntryPoint function in autogen.c same with the <ModuleEntryPoint> in MSA.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1047 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 10:18:17 +00:00
wuyizhong e64c74dd8c Add checking for whether module's FfsFormatKey is specified or not. For driver, fail build if can't find FfsFormatKey in FPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1041 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 05:44:44 +00:00
klu2 4b9fc76f7b Fix track EDKT104: If a module use PCD, MSA of this module should use PcdLib libraryClass.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1034 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 14:31:03 +00:00
wuyizhong fa2da5b1c1 Fix EDKT138. And add active_platform file info for stand alone module build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1032 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 07:43:21 +00:00
wuyizhong ae20899810 Fix EDKT117. If SupArchList is not specified, then build the module with all current toolchain supported ARCHs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1001 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 07:07:11 +00:00
jwang36 bdaa67b197 Fixed EDKT116, which more than one target will break the build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@998 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 05:56:42 +00:00
bbahnsen a33f3dd178 Fixes for Linux builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@995 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 05:33:55 +00:00
lhauch 20fa842edb Fixed MSA files so that they have unique names and removed extra copyright and license information in the comment - these are in the header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@990 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 13:15:21 +00:00
wuyizhong 3c696250f5 Enhance Arch check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@975 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 10:47:11 +00:00
jwang36 5f42a4bada Added copyright&license header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@973 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 10:27:03 +00:00
jwang36 5e1c3eedcd Added license & copyright declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@967 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:24:50 +00:00
jwang36 68542af1ea Fixed EDKT111
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@959 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:52:32 +00:00
jwang36 52352e5842 fixed the same guid issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@913 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 12:28:17 +00:00
jwang36 196ad8d77c Fixed EDKT102;
Fixed some dependency check issue and made several optimizations on the dependency check logic. Now the rebuild is speeded up enormously.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@885 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 02:41:10 +00:00
jwang36 7f6dd3e371 Commented out the throwing exception when not supported file type is found, because we should just skip those files which cannot be built by certain tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@876 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 10:06:26 +00:00
qouyang 73b4e31adc EDKT96.
Build tools need to auto-generated the FlashMap.h from .fdf file before a module is built, and then included by Autogen.h based on attributes of module in build time, and copy FlashMap.h to Module\DEBUG dir and change "FlashMap.h" to "TianoR8FlashMap.h".


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@874 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 08:19:18 +00:00
klu2 ddb87685e2 For VOID* type PCD and in byte array method, treat {0} as NULL value but not {}.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@868 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 02:44:36 +00:00
jwang36 23583a8891 Removed the printStackTrace() which is used only for debug purpose.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@864 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 10:51:01 +00:00
qouyang 53b8619385 Change UINAME to CName of GUID/PPI/Protocol in all Msa file and change tool to support it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@863 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 10:14:25 +00:00
wuyizhong 8cf5da75ce Support prebuild and postbuild for UserExtension for Platform build. If UserExtension's Identifier equals "0", which means prebuild, while Identifier equals "1", which means post build. UserExtension's UserId is still "TianoCore".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@860 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 08:43:23 +00:00
qouyang 42b787576f Fixed EdkT35, EdkT89.
Fixed the "#ifndef  _AUTOGENH_" issue when the moduleBase name include the whiteSpace.
Change "#ifndef {moduleBaseName}__AUTOGENH" to "ifndef  _AUTOGENH_${MoudleGuild}". 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@856 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 06:19:15 +00:00
klu2 601f9e375f Assign token number to DynamicExTokenNumber for all DYNAMIC or DYNAMIC_EX type PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@853 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 03:46:11 +00:00
lhauch a782876908 Update the binary MSA to say they were binary, fixed an abstract, changed a module UiName, changed tool default values in the build.xml files to give the name of the tool, rather than all, so when building the tools, you can tell what tool it is trying to build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@848 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 14:14:00 +00:00
jwang36 a10c040004 fixed a potential issue which would be raised by empty value in tools_def.txt file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@835 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 11:04:34 +00:00
jwang36 c773bec060 Changed the code to read the correct configuration name in target.txt file;
Fixed an issue which caused building platform with un-defined tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@833 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 10:02:19 +00:00
klu2 9c6db9eaf7 Remove unused PCD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@831 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 05:32:46 +00:00
lhauch 617cc72bf4 Added a line to remove the Jar file in the cleanall target.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@830 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 05:05:33 +00:00
jwang36 7d6ef0a929 Fixed the build warning issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@812 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 04:38:05 +00:00
qouyang a84091c4be Remove build warning.
Fixed bug:
EdkT81,
EdkT83,
EdkT77,
EdkT84.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@810 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 01:53:47 +00:00
qwang12 c24ba2f612 Fix bugs in GetNextTokenSpace and GetNextToken
Fix bugs in Pcd Build tool generation for ExMap

Fix a few other bugs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@800 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 11:42:25 +00:00
wuyizhong e0f8d087ae Restrict using UserExtension with UserID "TianoCore".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@792 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 07:35:01 +00:00
qwang12 1de04b4f83 Add in support for MaxSize and CurrentSize for PCD entry.
Change the behavior for PcdSET for Variable_Enabled Pcd entry. If a Variable does not exist, we will only save the value to a volatile space. We save it to variable ONLY when the variable exist. 

Fix a few bugs in Pcd Build tool when generated Pcd database for Pcd entry with Unicode String type.

Support PcdSet to return MaxSize if the input SizeOfBuffer is greater than the Max Size declared in FPD file.

Add SetValueWorker and GetValueWoker for each PcdSET and PcdGET function to reduce code size.

Sync function prototype definition for PCD_PPI_SET_POINTER, PCD_PPI_SET_EX_POINTER, PCD_PROTOCOL_SET_POINTER and PCD_PROTOCOL_SET_EX_POINTER with PCD arch spec 0.52.

Add ASSERTION in LibPcdSetPtr.





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@789 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 06:10:20 +00:00
wuyizhong 80785fd5be Fix an issue for user extensions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@780 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 01:33:08 +00:00
wuyizhong e1347472b7 Fix a minor issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@770 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 12:26:30 +00:00
wuyizhong 8031d48db3 Support UserExtension in FPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@769 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 12:06:06 +00:00
qouyang 47f2f01190 Add ModifyInftask in FrameworkTask.
Fixe bug(EkdT72).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@768 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 11:50:44 +00:00
jwang36 78d0508ad9 Fixed the unchecked warning issues when building GenBuild
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@764 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 07:26:12 +00:00
wuyizhong de4bb9f6ed Fully support active platform policy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@763 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 06:22:06 +00:00
klu2 8d82d61173 Support putting unreference DYNAMIC_EX PCD into Pcd runtime database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@761 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:28:48 +00:00
jwang36 d3dfaf4b45 Fixed the cleanall issue which would remove more files than we want
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@748 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 14:52:57 +00:00
klu2 7629edbc44 Move ant-related code from ParserFpd function to enable single module debug for PCD tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@747 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 14:32:27 +00:00
qouyang 25832ed337 Fix autogen bug:[Edk67][Edk35].
Add "/FI" to "PP" option in EdkModulePkg-All-Archs.fpd.
Modify BuildMacro.xml changing "S" for IPF assembler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@746 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 13:44:18 +00:00
qwang12 1eb73ab57a Added LibPatchPcdSetPtr.
Cleaup Pcd Database code generation routine.
Fixed a few bugs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@745 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 12:43:59 +00:00
lhauch 915d1ff529 Updated the SPD and MSA files for Tools - created some new MSA files as well.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@731 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 04:13:48 +00:00
qwang12 bb5545b663 Add PcdDxe and PcdPEIM to all-arch for EdkModulePkg-All-Archs.fpd
Fix a few bugs in PcdDxe and PcdPEIM


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@722 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 15:40:49 +00:00
klu2 548ce97a81 After change token space guid from guid value to Guid's CName, change code to support that.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@707 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-01 10:39:42 +00:00
klu2 e39bb31c57 Clean up for debug message of PCD tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@704 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-01 02:19:31 +00:00
wuyizhong 6ec40aef55 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@696 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-30 20:10:58 +00:00
qouyang 136adffc5c New tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@692 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:56:10 +00:00
wuyizhong a29c47e01d Change to new XML Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@687 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 18:17:09 +00:00
qouyang 0b8c16e472 Fixed autogen bug (EDKT12, EDKT19)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@652 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-28 10:01:50 +00:00
jwang36 b1d9f2a3cb merged part of new changes in new schema, and changed genbuild code accordingly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@643 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-27 14:24:33 +00:00
klu2 51da9e80d4 Fix a bug for token number set in FPD can not exceed 2^31. The fixing is using Long instead of int type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@632 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-26 17:09:08 +00:00
qwang12 3534cbb7a3 1) correct the assert condition for LibPcdSetPtr and LibPcdSetExPtr
2) make sure VOID* type dynamic PCD entry can handle ASCII string correctly.
3) correct one bug where if StringTable is empty the autogen.c won't compile.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@630 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-26 13:41:23 +00:00
qwang12 4276d5dacf 1) Add in support to traverse taken space
2) Remove unused import in DynamicTokenValue.java.
3) Support Byte Stream input for Pointer type Dynamic PCD entry in FPD file.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@616 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 14:41:16 +00:00
klu2 57a38e69b0 Enabling use PcdSetXX macro to set value for PATCHABLE_IN_MODULE, DYNAMIC, DYNAMIC_EX type PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@614 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 12:00:58 +00:00
qwang12 10d8dee566 1) make sure a empty database will be generated if the Uinitialized database portion is empty.
2) add a newline at the end of Autogen.c for PCD driver/PEIM.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@606 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 06:40:50 +00:00
qwang12 58f1099f3d 1) remove some dead code from WinNtBusDriver.c
2) change PCD_INVALID_TOKEN_NUMBER to 0 as stipulated in MWG spec and PCD spec.
3) support returning a Default Value when a read failure by variable service for PCD entry with Variable Enabled.
4) Remove a lot of unreferenced JAVA import from CollectPCDAction.java, PCDAutoGenAction.java, MemoryDatabaseManager.java, Token.java and UsageInstance.java.
5) Opimized to merge elements in all tables in PCD database for make the code compact.
6) Did a tighter check on how dynamic PCD entry is referenced in each module.
7) Update the PCD driver/PEIM and PCD database generation verion to 2.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@605 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 04:30:23 +00:00