Commit Graph

654 Commits

Author SHA1 Message Date
alfred a756211f3f Modify Critic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1302 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 05:06:49 +00:00
jlin16 daa4663bdd Fix EDKT191.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1301 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 03:11:55 +00:00
hche10x 739c6b04fd 1. Merge ModuleDefinitions to MsaHeader
2. Make InMemoryDB consistent for all operations
3. Extend Copyright to 2 lines text area in msa header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1300 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 02:04:40 +00:00
lhauch 4033708d7a Turned off the AUTO_RESIZE on the table so that it would work on a small display. Large display now has unused space, still trying to find a cure for this.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1299 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 19:58:28 +00:00
jlin16 d96d701f98 fix EDKT189.
and remove FFS file Guid text field from ModuleSaOptions pane.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1298 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 17:37:34 +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
alfred 8c4eeeb6a5 Enhancing Critic
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1296 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 12:09:16 +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
qouyang c59963f51b Fix EDKT 188.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1291 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 06:22:43 +00:00
alfred fed802b139 Add Critic.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1290 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 05:49:09 +00:00
alfred 2be54d60f1 Identify SupArch for .msa
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1287 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16 01:14:51 +00:00
lhauch 4cd31580d8 Added module type column to the FPD module table, and also removed AUTO_RESIZE_OFF, so that the columns fill the pane - only the Path column can be re-sized to any great extent, the other columns can be resized just enough to show the data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1286 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 23:59:55 +00:00
jlin16 f4c4325bb4 sort modules by name alphabetically when start; make column width resizable and remove unused code in FpdModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1285 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 23:24:24 +00:00
lhauch df4b9c3ecc Adjusted column sizes, made resizable, added Module Type column to All Module Table, adjusted the Version columns to be module version, then pkg version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1284 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 22:21:07 +00:00
jlin16 3c0192d429 move the package definitions to header editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1283 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 21:55:55 +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
jlin16 d208e1e260 java variable should have its first char in low case.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1280 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 15:41:06 +00:00
alfred 609384c5c5 add serial number to MsaTreeEditor.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1279 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 12:40:47 +00:00
alfred 90503bad37 Turn to Regex in ModuleReader.java
1st edition of MsaTreeEditor.java
Some edit on ia32 x64... in .inf-read and MsaWriter.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1278 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 12:35:00 +00:00
klu2 f889b75c5f Fix track EDKT179.
In fact, I remove the judgment for unmached PCD value. because the checking work should be done in wizard tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1276 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 10:40:42 +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
qouyang 87379bbecf Modify GenFfsTask to make it don't create ORG file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1271 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 08:05:34 +00:00
vanjeff 9c7790d2cb 1. Adjust might be 64bit, so we need to typecast it to UINT32 firstly.
2. Synchronization modification described in Tracker EDKT182 to all dependent files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1270 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 06:35:47 +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
yshi8 3b614fb901 moved exception and logger classes to org.tianocore.common package; and created definitions classes to put common definitions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1267 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 05:48:17 +00:00
alfred f7fee0ea9d Re-Follow...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1265 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 04:43:21 +00:00
alfred 5d2d04225a Faint!change messages cause error, this is an revert
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1264 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 04:36:25 +00:00
alfred c5d67e99c5 Follow changes on grammar in messages by Larry
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1263 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 04:32:05 +00:00
alfred e6a5df3bbd Add subdirectory support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1261 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 04:27:45 +00:00
hche10x 535329b5c1 1. To let MSA/SPD/FPD Header have their own sections, not are the top level of the tree pane
2. Change "Package Headers" of the tree to "Package Includes"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1260 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 04:05:20 +00:00
jlin16 93fd07b176 change table column positions in tables of FrameworkModules and horizontal scrollbar will appear when needed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1259 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 20:23:11 +00:00
lhauch d653c17a85 Fixed grammar in messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1258 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 19:21:03 +00:00
lhauch 719cebfea7 Fixed grammar in messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1257 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 19:20:35 +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
lhauch 3f7b510edb Fixed grammar in messages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1255 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 17:19:24 +00:00
alfred 03af6beba5 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1253 6f19259b-4bc3-4df7-8a09-765794883524 2006-08-14 07:03:21 +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
alfred 7b086bab60 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1251 6f19259b-4bc3-4df7-8a09-765794883524 2006-08-14 06:47:58 +00:00
alfred fb840aa8f7 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1250 6f19259b-4bc3-4df7-8a09-765794883524 2006-08-14 06:40:48 +00:00
alfred b02824125f Add License Head to all files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1248 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 05:16:07 +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
jwang36 f496b9b5ce Tried to fix EDKT149. Since the issue happened randomly, only long time test can make sure it's really fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1243 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14 01:53:55 +00:00
ajfish 396974d645 Fixed issue with new MAP file feature a fprintf was using a pointer to the .PDB file that was in data that had been freed. Moved the fprint before the free and also print out if the image is PE32 or TE now in the map file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1241 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-11 18:08:43 +00:00
alfred b48e3710a5 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1239 6f19259b-4bc3-4df7-8a09-765794883524 2006-08-11 03:22:44 +00:00
alfred 0dc8c58932 Add MigrationTools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1232 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 09:27:16 +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 1c47256758 Added stringToInt method to handle hex integer for FFS_ATTRIB_DATA_ALIGNMENT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1229 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 06:02:12 +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 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
lhauch 18916b6321 Adjusted sizes to accommodate Windows, iMac and Linux GUI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1144 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 23:26:13 +00:00
lhauch 3f62225f1e Adjusted sizes to accommodate Windows, iMac and Linux GUI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1143 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 23:09:53 +00:00
lhauch ffebd360b8 Fixed spacing for Linux and iMac display
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1142 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 19:07:20 +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
hche10x fd16c6d5d4 1. PcdUsage is added to PCD entry in schema so wizard tool is also updated to support this.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1140 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 08:17:32 +00:00
jwang36 27169a56e6 Added more error check on validation to let result be more exact.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1138 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 06:33:01 +00:00
jlin16 57d0e52a71 Fix the bug of library instance selection interference between different archs of ModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1137 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 06:10:45 +00:00
hche10x 0c235b66d2 1. Fix the bug missing initialize ToolCode drop down list when add a new source file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1135 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 05:24:42 +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
hche10x a929458e66 1. Change ToolCode from text field to drop down list, and user can enter their customizing tool command.
2. Fix some coding style issue


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1133 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 05:03:19 +00:00
lhauch ccb063b1f2 Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling Text Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1132 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 03:20:46 +00:00
lhauch 5101eff919 Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling Text Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1131 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 02:02:09 +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
lhauch 7ab6baa9de Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling Text Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1129 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28 00:17:23 +00:00
lhauch 5b38b75ba6 Fixed Absolute position of fields, Added ToolTipText and made HelpText a Scrolling Text Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1128 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 22:22:01 +00:00
lhauch 5262e23748 Added Tool Tip Text, fixed dimensions after modifying HelpText to an Area
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1124 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 19:00:22 +00:00
jlin16 5af6b67fdb 1. keep from generating empty FrameworkModules.
2. remove unused import in EventsDlg.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1120 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 10:36:54 +00:00
jlin16 e232295ec8 keep from generating empty DynamicPcdBuildDefinitions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1119 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 09:54:36 +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
jlin16 82dcbb45c7 Fix EDKT143.
Add the feature of inserting Xml Comments before ModuleSA elements and library instance elements.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1115 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 07:40:21 +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
jlin16 8f55ea7396 Remove empty FfsFileNameGuid element under ModuleSaBuildOptions if user input empty string into it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1111 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 03:21:41 +00:00
lhauch 7cae34b00a Fixed a spelling error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1110 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 23:44:12 +00:00
lhauch 747e1504f1 Adjusted the Help Text field to be a Text Area inside of a Scroll Pane, with line wrapping and wrap on word boundary.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1107 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 21:48:33 +00:00
lhauch f51ee52bce Fixed spelling and grammar, also fixed the size of the pop up dialog boxes and the placement of the Arch list check boxes in EventsDlg.java
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1106 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 19:20:43 +00:00
bbahnsen 460fa4a25b A couple of cleanups in the TianoTools build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1104 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 17:25:15 +00:00
qouyang ea62f12ac6 fixed EDKT139.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1101 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 10:18:56 +00:00
jlin16 a490bca85d fix the problem that if no data updated in wizard editors, the Save indicator will not pop-up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1100 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 09:42:04 +00:00
jwang36 6c96db7120 Added code to fail the SAVerify command when validation failed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1099 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 08:24:17 +00:00
bbahnsen 881c267b11 Add x64 headers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1096 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 21:24:27 +00:00
bbahnsen c7c42e4001 Support building on x64 hosts.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1095 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 21:08:04 +00:00
lhauch 4cb2253560 Added Copyright
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1094 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25 15:27:10 +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
jlin16 1be13d3fdd 1. Add scroll bars to Package Library Class Declarations editor.
2. Add GuidType UI support to protocol and ppi declarations according to latest schema.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1081 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:16:26 +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
hche10x ed1665f268 1. Wrap text by word when showing a message box
2. Add "wrn" function in Log.java to save and show warning message. Most of original err messages are replaced by warning messages.
3. Add "try-catch" for double click event in main ui.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1078 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 07:43:22 +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
hche10x f9d0ab9266 1. Show source files' attributes when editing SourceFiles in msa
2. Set default value to "Module" when new a msa
3. Move OpenFile.java from identification to common

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1064 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 07:56:14 +00:00
hche10x 75dd1f9efc Update FrameworkWizard.msa to add newly added file in <SourceFiles> section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1063 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 04:00:16 +00:00
hche10x 2003a22e94 1. Enhance Source Files selection in msa:
a. Can select multiple files one time
   b. Totally same file can be added once
2. Separate sort functions from Tools.java to Sort.java
3. Fix a bug of new function: to create directory first if the file's directory doesn't exist
4. Adjust some file's coding style


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1058 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 02:56:30 +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
jlin16 bf5abaffcc 1. only show ModuleName, version, PackageName, version, supported Arch, path in table of FrameworkModules.
2. adding multiple entries per module for different archs. 

3. show ModuleSaOptions.
4. change "library Class consumed" to "library Class uninstantiated"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1046 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 10:03:37 +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
jlin16 2c85fbc88a Fix the bug of leaving empty GuidTypeList, SupArchList attributes in xml file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1038 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-18 09:53:52 +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
jlin16 d129bd96fa Fix tracker "Package Library Class Recommended Instance should not default to null":
When adding a library class to a Package, the recommended instance name is a drop down with no entries, and the table gets filled in with a recommended instance of "null"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1030 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 07:35:43 +00:00
qouyang 9653129917 [Wizard- Far Install/Create]
Change Manifest file name to "FrameworkArchiveManifest.xml".
Modify Md5 format in FrameworkArchiveMainfest.xml file.
Add Md5 verification when install FAR.
Fix the bug of Far installation can't work with Sun JDK 1.5.0_04 version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1029 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 07:31:21 +00:00
jlin16 209abc92de 1. change SPD Pcd editor title to "PCD Declarations".
2. PCD editor: remove attribute SupArchList, SupModList if no value set for them.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1027 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 05:12:50 +00:00
yshi8 56fe62ce9d Removed one useless makefile, and corrected some BSD licenses
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1025 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 03:33:40 +00:00
lhauch 322b772308 Added some checks to see if the attributes were set - clears up some warning messages when trying to unset an attribute that was not set.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1024 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-16 08:26:44 +00:00
lhauch 97796eaa70 Replaced set*(null) with unset*() to clear empty attributes that were causing invalid SPD files. Tracker EDK137
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1023 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-16 07:50:47 +00:00
lhauch 2f8a751769 SHOWSTOPPER TEMPORARY FIX EDK131 was reclassified to SHOWSTOPPER
Temporary fix until we can figure out how to handle Recommended Instances in SPD files.  Right now, commented out code that was breaking SPD files, by having RecommendedInstanceGuid="" and RecommendedInstanceVersion="" which is not valid!

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1022 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-15 14:54:50 +00:00
lhauch 30500d38cd Fixed a spelling error and changed the Package Headers Tab title to be Package Headers (instead of Library Class Declarations)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1016 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-15 04:10:39 +00:00
hche10x f9334421d8 1. Remove empty top level elements if they have no data
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1013 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 09:37:03 +00:00
lhauch ad1f8df0c9 Applied BSD license to the source files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1012 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 09:28:02 +00:00
bbahnsen cf17111004 Add new OSS License
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1011 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 09:27:09 +00:00
jlin16 055e7ae674 Fix bug of missing Pcd information in FPD ModuleSA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1010 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 09:19:24 +00:00
lhauch a71a82e576 Applied BSD license to the source files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1009 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 09:15:04 +00:00
bbahnsen 35e5d5771c Trash it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1008 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 09:13:04 +00:00
lhauch 163312e3c8 Applied BSD license to the source files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1007 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 09:11:51 +00:00
lhauch b84b42fc6c Applied BSD license to the source files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1006 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 09:10:17 +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
hche10x 985384609e 1. Add pcd item Identifications used by select pcd entry when editing pcd in msa
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@997 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 05:45:53 +00:00
hche10x 9a8d6d9fb7 1. Fix the bug missing TokenSpaceGuidCName when editing a pcd entry in Msa
2. Fix the bug missing EventType selection when editing events in Msa
3. Fix the bug missing adding new node under moduledescription when creating a new package
4. Fix the bug in DataValidation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@996 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-14 05:44:56 +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
hche10x ef6e2efe66 1. Update release note to use jdk1.5.0_06 to take place of jdk1.5.0_04
2. Support "Update Far" function
3. Fix bugs in Far operations

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@985 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 12:13:23 +00:00
jlin16 60e97865b2 coding style modification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@979 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 10:59:47 +00:00
hche10x 102ae4cf41 1. Remove "update far" from menu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@976 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 10:55:42 +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
hche10x a45e9a400d 1. Adjust UI for far operations
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@972 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 09:49:45 +00:00
hche10x 55a2762d8c 1. Fix bug in get industry std headers
2. Fix bug in save msa without saving specification
3. Add tool tip text to ArchCheckBox
4. Locate to msa file location when open a file browser when edit source file in Msa
5. File filter only for text file when open/save ToolChainConfig file
6. Adjust UI for clone and add far id info when clone an item.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@971 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:51:27 +00:00
lhauch c06e865748 There were suppose to be three spaces, not one between SPECIFICATION and 0x00 in the line:
FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@969 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:32:48 +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
hche10x 2ccc154947 1. Add FrameworkWizard source code files record to msa
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@965 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:09:14 +00:00
qouyang 1898a0c348 Enhance Installation, removing and creating FAR functionality.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@964 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:06:16 +00:00
jlin16 9937fde125 remove some unused code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@961 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 07:44:53 +00:00
lhauch d37928448c Fixed Enumeration ModuleType was suppose to be TOOL, not TOOLS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@960 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 07:35:47 +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
jlin16 410e0e9f02 1. adjust contents layout of SPD header editor, FPD header editor.
2. modify globla data to reflect new added module information.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@956 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:18:09 +00:00
wuyizhong 5a24e806b0 1. Support to Create/Update/Delete/Install far file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@950 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 05:37:22 +00:00
jlin16 12e17a0aee Fixes:
1.SpdHeader, FpdHeader not save specification.
2.  PackageSurfaceArea.LibraryClassDeclarations Show Recommended Library Instance UiName, not the GUID.
PackageSurfaceArea.MsaFiles - make table fill the window.
3.   PlatformSurfaceArea.PlatformDefinitions.IntermediateDirectories Do NOT create EMPTY <OutputDirectory/>
4.   Do NOT create EMPTY <FrameworkModules/> 
5.   When adding a module, pop up the module settings to let you know that you have added the module.

6.  PlatformSurfaceArea.BuildOptions.Options.Option Do not require ToolFamily - default should be not specified.
	
7.  PlatformSurfaceArea.BuildOptions.UserDefinedAntTasks 
Ant Task File should have a browse button
Id column should only be width of 8 characters.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@944 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 03:36:11 +00:00
jwang36 8db3db9afc Changed the clean target to prevent unwanted removal
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@939 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 01:58:26 +00:00
jwang36 4f94d98ce9 Removed the output line code to reduce confusion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@921 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 14:36:32 +00:00
jwang36 a7e63efe72 Syncronized the file list in each msa and spd files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@918 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 13:47:48 +00:00
jwang36 f09561094a Fixed a typo issue which will cause cleanall failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@917 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 13:13:54 +00:00
jwang36 219e224747 Polished the build tools' screen output to be in a more coherent form
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@916 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 12:39:18 +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
hche10x 06a19ceec7 Use table and popup window to add/edit all elements of module instead of original drop down list.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@894 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 07:46:39 +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
jlin16 af25df1662 1. Make SPD editor tables bigger.and table now focus the entry added.
2. Modify FileContents classes to delete empty elements in SPD file and FPD file when no contents in these elements.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@881 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 11:04:13 +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
hche10x 92e2937805 1. Restructure module description on main UI
2. Make alphabetized list for all module, package, platform names and guid_c_names

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@875 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 09:03:32 +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
bbahnsen f3dcd51163 Fix for EDKT9.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@855 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 05:22:28 +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
jlin16 908b1c0595 1. Add feature of ModuleSA PcdBuildDefinition editor.
2. bug fixing for SPD editor.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@847 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 13:44:41 +00:00
jwang36 9e63db5eb6 Added code to print out file name in GCC building because GCC doesn't output its input file name in its stdout
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@844 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 11:09:11 +00:00
jwang36 bf0ce309d1 Fixed GCC ld issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@842 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 05:14:01 +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
jlin16 f46d7c213b bug fixing for SPD editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@820 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 08:52:34 +00:00
hche10x 8f4f211c8d 1. Fix displaying wrong file type bug.
2. Fix a typo bug in Tool Chain Config frame.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@819 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 08:10:20 +00:00
qouyang 01026c709f Modify ModifyInfTask which in frameworkTask.
Remove the "[]" which add around "patternstr" attribute by modifyInfTask. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@815 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 05:58:08 +00:00
hche10x 8f9acbd7af 1. Add help for ToolChainConfig
2. Fix data validation bug in PCD of Msa


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@814 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 05:38:39 +00:00
jwang36 265869ee45 Fixed the build warning issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@813 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 04:51:02 +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
jlin16 82961247e6 update ModuleSA PCD editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@811 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 03:20:53 +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
jlin16 71baa24b69 Bug fixing for FPD ModuleSA editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@788 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 05:36:39 +00:00
jlin16 d6d24759a0 Adapt to new Main UI interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@782 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 03:16:57 +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
jlin16 f3b0ed9a12 some bug fixing for FpdFrameworkModules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@779 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 01:09:38 +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
jlin16 ce73a791eb Add Data Validations for SPD editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@765 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 08:16:05 +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
jlin16 c16ade35ca Add two files for List editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@756 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 04:11:04 +00:00
hche10x f9cc201cc0 Modify FrameworkWizard.msa for newly changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@752 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 02:42:30 +00:00
hche10x d65242dfe8 1. Add image in "About" frame
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@751 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 02:18:04 +00:00
hche10x 79cb6fdbc0 1. Restructure some folders and files
2. Adjust the arithmetic of "Clone" function
3. Add image in "About" frame

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@750 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 02:07:26 +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
jlin16 1800d80f22 Add ModuleSA BuildOptions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@737 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 08:11:49 +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
jlin16 6a09eb19ce Adjust Platform Definition and Module SA operations in FPD editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@729 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 03:56:07 +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
qouyang a15bb0d31f Add follows warpped tianotools to frameworktask:
1. CreateMtFileTask
2. EfiCompressTask
3. EfiRomTask
4. FlashMapTask
5. GenAcpiTableTask
6. GenCapsuleHdrTask
7. GenTeImageTask
8. PeiReBaseTask
9. SectApResetVectorFixupTask
10.SecFixupTask
11.SplitfileTask
12.StripTask
13.ZeroDebugDataTask

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@720 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 08:25:23 +00:00
jlin16 3b405e9b04 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@718 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-03 03:51:10 +00:00
jlin16 6cba26e882 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@714 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-03 01:20:43 +00:00
jlin16 ae0d4fd2dd Flash Setting Refinement
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@711 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-02 03:17:57 +00:00
jlin16 440537339e git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@710 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-01 11:43:16 +00:00
jlin16 0b5e1cc313 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@709 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-01 11:42:35 +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
jwang36 5b2a7957d9 removed unnecessary name space declarations in some top level elements
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@700 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:31:48 +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
wuyizhong 9c39e21476 Change to new XML Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@686 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 18:03:20 +00:00
wuyizhong 275d78c5f6 Using ModuleType to determine FFS file extension.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@685 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 18:02:35 +00:00
wuyizhong 626b85a58c This file is never used any more. Enhance Cpptasks.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@684 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 18:00:37 +00:00
wuyizhong 8a2866387d Change to new XML Schema. Using Module_Type to determine SubSystem value
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@683 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 17:59:08 +00:00
wuyizhong 509693ccfd Change to new XML Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@682 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 17:57:58 +00:00
jlin16 202c4f38c5 Modify BuildOptions and Flash editors in FPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@676 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 11:27:36 +00:00
hche10x f4a250cb18 Remove ModuleEditor and PackageEditor from Tools\Source
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@672 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 10:06:58 +00:00
hche10x a13899c5ac git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@671 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-30 09:59:54 +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
klu2 16d3e132aa In before, FixedPcdGetxx macro was defined as global variable, it is wrong. It should be defined as value directly, and module developer can use it to define length of array.
1) Change macro FixedPcdGetxx to value macro. 
2) Change some wrong macro usage in library.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@599 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22 14:08:17 +00:00
klu2 03b1a72da7 In before, module type is judged by the sub element value in <ModuleSA>, it is not totally correct. Now the module type will be retrieved from GlobalData after pre-process all MSA document.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@595 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22 08:17:35 +00:00
klu2 cd0170f5b0 1) Change the schema type for <VariableGuid> used in PCD HiiEnable group in FPD file.
2) Modify PCD tools to support that.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@591 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22 05:39:54 +00:00
bbahnsen ecbc84213c Not needed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@588 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-21 21:09:12 +00:00
bbahnsen cc7f0a9111 Clean up some data type mismatches.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@587 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-21 17:39:11 +00:00
klu2 6c4dc2267a 1) Move almost new schema related to PCD on branch to transition scheme in main trunk.
2) Remove the original unused PCD schema in FPD in main trunk.
2) Modify PCD tools to support updated schema in main trunk.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@585 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-21 16:07:38 +00:00
klu2 a49b34c00e Use the address of guid array as parameter directly for _PCD_MODE_xx macro for DynamicEx type PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@582 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-21 03:36:00 +00:00
klu2 11e7b0f6dd Modify autogen code for DynamicEx type PCD.
1) Roll back PcdSetEx/PcdGetEx macro, module developer must input the token space guid explicitly, because in a module maybe two PCD with same CName and token number but in different token space guid.
2) Modify the generated value for _PCD_MODE_xxx for DynamicEx PCD. This macro will be mapped to PcdLibSetEx/PcdLibGetEx directly, and the parameter of token space guid is auto generated.
3) For token space guid array variable autogened, only one copy will be exists in a module's autogen C file for different PCD which are in same token space guid.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@575 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20 17:10:21 +00:00
qouyang b9546cc80d Add exception and log mechanism
1. Add :
   a. GenBuildLogger.java in Tools/Source/GenBuild/org/tianocore/build/gobal.
   b.Tools/Source/Common/build.xml
2. modify:
   a.edksetup.bat
   b.Tools/build.xml
   c.Tools/Source/GenBuild/build.xml
   d. Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@574 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20 11:57:17 +00:00
jlin16 c082c8cffe Adpate to schema merge.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@572 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20 08:43:00 +00:00
qouyang 60a73645cd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@569 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-20 07:17:40 +00:00
jwang36 20391ab0d6 changed the way to fetch file name list in spd file, per the schema changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@567 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20 06:56:10 +00:00
qouyang 652f4bd848 Add log and exception mechanism
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@566 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20 06:24:39 +00:00
klu2 e59cdca8e8 Fix a bug to judege max value of UINT32, 0xFFFFFFFF is invalid UINT32 in JAVA.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@560 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-19 09:13:44 +00:00
klu2 bab72a575b Add DATUM_TYPE checking for FEATURE_FLAG PCD entry. For FEATURE_FLAG PCD, the datum type should only be boolean type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@559 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-19 08:33:18 +00:00
klu2 1cf9cdcc9c Fix a bug of PCD autogen for UINT64:
when generate macro value for a UINT64 type PCD, "ULL" should be added to forbid compiler tread it as UINT32 value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@555 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-19 03:53:41 +00:00
jwang36 3ce2b1a85f Fixed the issues which caused the gcc build on MacOs failed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@552 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-17 15:42:16 +00:00
klu2 2435723ad9 Fix a bug when generate default value for byte array for FIXED_AT_BUILD, PATCHABLE_IN_MODULE type PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@551 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-17 13:25:31 +00:00
klu2 38ee8d9e66 Change the macro for dynamicEx type PCD and modify autogen tools to auto generate TokenSpaceGuid. After modification, you can use two method access DynamicPCD,
1) PcdGet8/PcdGet32/... to get a value of DynamicEx PCD, same as PcdSetxx
2) PcdGet8Ex/PcdGet32Ex to get a value of DynamicEx PCD, same as PcdSetxxEx.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@549 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-17 09:57:06 +00:00
bbahnsen 5179dda3f8 Use an absolute path to specify tool executables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@545 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 17:48:34 +00:00
lgao4 c965d3aff4 Fix GenFfsFileTask.java bugs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@542 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 14:31:27 +00:00
yshi8 ce53a8c3b2 1. Removed the unnecessary #include statements and include files
2. Removed the unnecessary library and include path from MSA files


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@541 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 11:42:42 +00:00
yshi8 5a96e3e3fe 1. Removed the unnecessary #include statements and include files
2. Removed the unnecessary library and include path from MSA files


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@540 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 11:40:33 +00:00
yshi8 1cc00e4525 1. Removed the unnecessary #include statements and include files
2. Removed the unnecessary library and include path from MSA files


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@539 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 11:38:14 +00:00