Commit Graph

298 Commits

Author SHA1 Message Date
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
klu2 f63ef4b271 1) Add byte element checking for a PCD who using byte array type datum.
2) Fix a bug for judging whether datum is Unicode string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@537 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 09:11:15 +00:00
bbahnsen ae86a0c2ed Get rid of old makefiles.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@533 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 16:25:59 +00:00
bbahnsen 19eba4a7b4 Add the ModifyInf tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@532 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 16:23:53 +00:00
klu2 6f7e61a03a Add many datum and datum size checking in PCD building tools, These checking work will be moved to FPD verification tools or UI tools in future.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@528 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 14:41:28 +00:00
jwang36 59a372594c removed throwing BuildException when exit code is not zero
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@526 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 10:28:45 +00:00
jwang36 a236f1a127 rollback to rev.273, merged new updates as well
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@523 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 09:42:34 +00:00
jlin16 247e0d7502 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@511 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-14 10:49:47 +00:00
jwang36 250258de0d added the support for new schema and old schema at the same time
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@510 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 10:44:45 +00:00
qouyang 21b50a2779 Remove the dependence to MdePkg
1. add Include folder which contain the *.h file which used by Tiano tools.
2. Change ${evn.WORKSPACE}/MdePkg to ${PACKAGE_DIR} in build.xml.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@509 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 08:07:19 +00:00
klu2 833b154119 Fix two transition issue:
1) Although current PCD tool's code support use packageName, packageGuid, version, arch to identify a module, but these value can not be got from FPD file, so use null for transition phase.
2) Add transition code to check <TokenSpaceGuid>, In future, the checking work should be done by schema checking tools when change occur of <TokenSpaceGuid> from[0..1] to [1] in schema.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@508 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 04:01:11 +00:00
bbahnsen fad77353ed Fixes for case sensitive operating systems.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@502 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 20:36:27 +00:00
klu2 7db4ab705a Fix some bugs in PCD tools:
1) Normalize the exception text format, 
2) Add throw exception in some special case.
3) Add more code to verify Datum Size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@497 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 09:40:16 +00:00
klu2 ad82307c75 1) Fix a bug for PCD autogen tools, see track#115 in PVCS: Module's PCD informtion is generated into autogen.h/autogen.c of library
2) Remove PcdEmulatedDriver from PcdAutogen class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@495 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 05:46:05 +00:00
klu2 6ff7a41cb8 Modify PCD tool according to final PCD schema modification.
1) Change code of PCD tools.
2) Update all FPD file.
3) Fix some bugs in FPD for wrong DatumSize.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@481 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 07:57:04 +00:00
bbahnsen 1f0032d8b9 Fix a misspelling.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@460 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 22:26:31 +00:00
bbahnsen 1507f64ec4 One GenFvImage can handle all archs now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@459 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 21:14:37 +00:00
bbahnsen 8742c000dc Temporary workaround--determine the target architecture from an environment variable ARCH. Optionally, you can set the variable to IA32, X64 or IPF so that the correct GenFvImage will be called.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@457 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 17:07:09 +00:00
qouyang 164803cb04 Fix GenffsFileTask.java one bug: create *.org failed in some machine.
Root cause is unclosing DataOutputStream after used.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@455 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 11:01:28 +00:00
hche10x 3099b289e6 Fix one conflict with the latest schema
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@453 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 08:30:43 +00:00
jlin16 445705369d git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@448 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-09 02:30:10 +00:00
jlin16 4bf9d8150f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@447 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-09 02:13:57 +00:00
qouyang 2da8968bb5 1.Change environment variable from "Framework_Tools_Path" to "FRAMEWORK_TOOLS_PATH".
2.Add one OUTPUT - *.org file  for GenFfsFile tool.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@443 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 09:11:56 +00:00
bbahnsen 4182ff457c Try to fix the Surface Area build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@433 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 23:06:37 +00:00
bbahnsen 6c756d6463 Remove the prototype code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@423 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-05 23:37:30 +00:00
klu2 8840ad589e PCD tools update:
1) CollectPCDAction will get all PCD information from FPD file but *not* search SPD and MSA file.
2) ALL PcdBuildDeclaration in FPD file has been moved from common <PcdBuildDeclaration> to seperated module's <PcdBuildDeclaration>. Common <PcdBuildDeclaration> was removed from FPD file.
3) The platform information for Dyanmic and DynamicEx type PCD should be record into <PcdDynamicBuildDeclaration> now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@415 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 10:00:41 +00:00
lhauch d4c8b3da7c Updated to match XMLSchema, although this file is not currently being used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@401 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 18:48:28 +00:00
qwang12 3496595d7b Make sure the PCD dxe service driver can handle the case where no PEIM is using any dynamic PCD entry and the PEI phase PCD database is empty.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@388 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 05:28:18 +00:00
jlin16 b4b11851ae update SpdFileContents.java to adapt new schema for LibraryClassDeclaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@386 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 03:39:44 +00:00
bbahnsen 1322edae9d Removing unused code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@373 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 18:26:22 +00:00
ajfish dfd3f9ce4d Removed #ifdef NT32 as we don't need them for tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@368 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 17:39:17 +00:00
bbahnsen d2ec0d9ef6 Add Mde String and PrintLibs. Port StrGather to the Mde Unicode implementation. Compile with 2 byte wchars. Now StrGather works with gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@358 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 21:02:55 +00:00
qwang12 4c114006de Add in GetNextToken and Register Callback Function funtionality for DXE Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@309 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 01:48:32 +00:00
bbahnsen 466d23470c Fix some cleanall issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@300 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 22:53:39 +00:00
bbahnsen 9e792382a8 Fix some cleanall issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@299 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 22:13:31 +00:00
bbahnsen c43c67195a Translate the Arch enum to an arch directory name. This is necessary for Linux builds, since it is case sensitive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@298 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 21:34:51 +00:00
qwang12 6a4cae5897 Remove the warning message reported when building GenBuild.jar
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@293 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 13:40:20 +00:00
qwang12 4acf8ce7da Add version check in both PCD database generation and service driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@292 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 11:00:44 +00:00
jlin16 24dba7f3c1 Fix the problem "update action multiple times fail".
Enhanced GUID value editor.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@289 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 06:53:56 +00:00
qwang12 9a7cf04ab4 Change Workspace to X:
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@288 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 06:34:13 +00:00
qwang12 32648c62db Replace all tab to spaces.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@287 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 02:05:28 +00:00
lhauch 54de7486cf Updated MSA by putting Specification element at the end of the header section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@283 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 21:42:12 +00:00
bbahnsen 8d3adb745f Fix a bug caused by sscanf trashing memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@280 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 18:18:27 +00:00
jwang36 d05003bed6 Added outputDir attribute to support generating FV file in specified directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@273 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 07:45:15 +00:00
qwang12 6776c08a6d Remove a private class to remove the error message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@262 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 09:14:28 +00:00
qwang12 99d2c3c41e git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@250 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-24 08:09:43 +00:00
bbahnsen 4df60ea54f Refactor the PeCoffLoader into a library. Add PeiRebase Tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@247 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-23 22:00:58 +00:00
bbahnsen 51d48c2666 Porting several more tools to edk2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@246 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-23 18:03:58 +00:00
jlin16 33f1b48545 Remove the assumption of package location under workspace and prompt user to specify package location.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@226 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-22 04:59:10 +00:00
bbahnsen e4c48f4ca5 Do not build with debug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@221 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 23:23:33 +00:00
bbahnsen dc13f95d78 Fix capitalization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@218 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 22:26:17 +00:00
bbahnsen 0778de4542 Make sure that the dll is executable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@217 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 22:25:12 +00:00
bbahnsen dae8a1b235 Fix capitalization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@214 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 21:44:12 +00:00
bbahnsen 6959ee43bb Fix capitalization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@213 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 21:43:27 +00:00
bbahnsen 754c0cfed4 GenDepex does not always run correctly on OS X. Turning on debug so that is can be fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@207 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 15:30:49 +00:00
bbahnsen 1c3aec0c26 StrGather does not run correctly on OS X. Turning on debug so that is can be fixed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@206 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 15:30:06 +00:00
lhauch d25c4bf080 Adding Additional Tools that are needed for Platform Image creation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@198 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-19 02:38:56 +00:00