Commit Graph

355 Commits

Author SHA1 Message Date
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 205437772a Set different arguments for gcc3.x.x and gcc4.x.x. Suppress pointer-sign warning in gcc4.x.x.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1221 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 03:14:51 +00:00
jwang36 caf9538f28 Changed the alignment related member and method to conform to FFS spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1220 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 02:25:52 +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
lhauch a8a9de7cbb Fixed grammar and column widths (set min, preferred and max widths for version and arch)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1218 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 01:09:11 +00:00
jlin16 1dac04abec auto adjust pcd settings when display existing ModuleSA settings. if new PCD added/deleted in MSA file, in platform FrameworkModules, the change of PCD will reflect in the display after you click settings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1214 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-08 08:55:34 +00:00
wuyizhong 9776330c42 Remove warning message in MAC GCC tool build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1212 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-08 06:16:49 +00:00
jwang36 8cf7c268db Fixed the FfsAlignment issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1210 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-08 03:40:13 +00:00
jlin16 2a23019dfd Store Variable Name as Hex data array in dynamic pcd build definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1205 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 09:55:27 +00:00
jlin16 b2d4baa6ba no display "null" if no recommended instance specified in library class declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1202 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 08:47:34 +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
hche10x 74c0c087a2 1. Fix the bug for "C name displayed in dialog to edit PCD is not correct"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1200 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 07:59:53 +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
jlin16 add40ab226 [EDKT169]Add feature of sorting modules in FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1197 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 03:51:22 +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
ajfish d7506e116a Updated PeiRebase to produce a map file of the relocations done by this tool. This code passes in the map file name as the same name as the FV with a .map appended to the end.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1193 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-05 17:32:38 +00:00
ajfish 5049fd31d6 Updated PeiRebase to produce a map file of the relocations done by this tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1192 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-05 17:22:18 +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
qouyang 8f7f05d527 Fix EDKT140(CompressDll.dll does not build under cygwin gcc).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1188 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-04 03:17:05 +00:00
lhauch 2cc02cdb51 Changed ToolTipText to read Enter a string; the tool will convert to Unicode Data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1187 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 19:58:58 +00:00
wuyizhong ca9ea8d956 GenTeImage can't work well with Linux is caused by its parameter parsing. GenTeImage will replace all Parameter's first character to '-' if start with '/'. Actually, it is not necessary to deal with, after remove this processor, it works well now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1185 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 09:40:28 +00:00
klu2 5afd499259 Fix makefile's parameter bug for OSX building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1184 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 08:53:53 +00:00
hche10x 43dc3851cf 1. Fix bug for wrong Variable name in msa file
2. Release cursor after saving files.
3. Adjust some file's coding style.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1183 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 08:07:13 +00:00
klu2 f28c083051 Modify code according to Wang, jian's comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1182 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 05:56:42 +00:00
wuyizhong e6225e3c73 Adjust code format and remove unused code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1181 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 04:34:39 +00:00
jlin16 a390c35d8a set default value of PCD from msa file or spd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1180 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03 03:45:57 +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
jlin16 802e005517 set MaxDatumSize for PcdData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1178 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-02 09:34:27 +00:00
jlin16 1faac7b69f comment out item type checking temporarily when adding module to fpd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1177 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-02 07:26:02 +00:00
lhauch af1dd46d37 Updated to handle cygwin/gcc and moved msvc,gcc property settings to the TianoTools/build.xml file. Properties are inherited, so we only need to set them one. Cleaned up clean and cleanall targets to remove the executables and library files. Added makefile.cygwin to antlr and dlg programs to generate the .exe needed for cygwin.
FlashMap.c needed a newline at the end of the file to remove a warning message in cygwin.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1174 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 23:58:18 +00:00
klu2 a513c5a8b4 Add new class ModulePcdInfoFromFpd.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1171 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 14:56:44 +00:00
klu2 bc2628416c 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. (Missing check-in part)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1170 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 14:53:02 +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
wuyizhong af8eab8443 Miss loop variable incremental, otherwise, will cause dead loop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1168 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 08:39:26 +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
jlin16 34c614e1b7 1. Fix the problem of adding PCD for different Arch.
2. enhanced exception messages.
3. pick out getModuleId method to GlobalData class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1164 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-01 05:59:51 +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
jlin16 4da2e62597 Coding style changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1156 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-31 11:20:16 +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 2eaa5ba11d FlashMap can not work correctly in unix GCC because the windows path char "\" exist in parameter.
I fix it by adding a NormalizePath function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1152 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-30 08:09:57 +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
lhauch 9e857952db Added some additional comments in the files, as well as fixed some of them.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1149 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 04:39:01 +00:00
lhauch 928b45fb4c Adjusted sizes to accommodate Windows, iMac and Linux GUI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1147 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 00:13:09 +00:00
lhauch c634482386 Adjusted locations and sizes of boxes for Windows, Linux and iMac GUI, no other functionality was changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1146 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 00:04:38 +00:00
lhauch a19466adcb Adjusted sizes to accommodate Windows, iMac and Linux GUI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1145 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 23:41:57 +00:00