Commit Graph

249 Commits

Author SHA1 Message Date
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 71c60882e9 changed the default path for EBC tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@702 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:42:23 +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
qouyang ff34e632aa For new tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@699 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:24:01 +00:00
wuyizhong 3f9d00a890 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@698 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-30 20:16:26 +00:00
jwang36 f924208bba removed mbd file verification, added fpd file verification
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@697 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:15:32 +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
jwang36 85c483cb18 FDPManifest.xsd has been changed to FarManifest.xsd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@695 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:08:17 +00:00
jwang36 e1459606bd re-added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@694 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:05:49 +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
jwang36 1ea046d4c4 deleted all obsoleted configuration files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@691 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:37:55 +00:00
jwang36 5e256110ac added all supported platforms
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@690 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:33:28 +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
wuyizhong 5fc17c922b Change to new XML Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@681 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 17:56:20 +00:00
wuyizhong 92fb44010e Change to new XML Schema
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@680 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 17:55:30 +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
jwang36 ed9ec043eb merged the last changes in new schema
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@654 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-29 02:19:49 +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 ee80c4d024 commented out building ModuleEditor and PackageEditor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@644 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-27 14:34:16 +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 567df6937d Fix a bug for regular expression using wrong module's file name which contains '\'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@633 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-26 17:36:46 +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
lhauch 61d66c136c Major Changes - most of MSA and SPD are completed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@590 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22 00:42:17 +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
bbahnsen 975201130c Use capital S for GCC assembly. This enables pre-processing for PCD support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@576 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20 21:50:44 +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