Commit Graph

185 Commits

Author SHA1 Message Date
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
bxing fe3262a335 Updated task GenEfi to support SEC component type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@524 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 10:23:48 +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
lhauch d5e51168eb Updated with more MSA Forms data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@507 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 02:36:14 +00:00
lhauch 9d617132f6 Updated MsaFiles to be a choice of <Filename> [1..*] or <MsaFile> [1..*] and added the ModuleGuid, ModuleName and ModuleVersion to the FilenameAttributes in the Transistion Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@505 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 02:14:50 +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 95945c7635 Transfer old <PCDs> in MSA to <PcdCoded>:
1) Add <PcdCoded> definition for library module SA in transition schema.
2) Add <PcdCoded> in all MSA instead of original <PCDs>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@484 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 15:11:33 +00:00
bxing 0fd9e1370f Added a new source file type "x86_asm_autogen" to allow assembly source to use macros defined in AutoGen.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@483 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 11:14:21 +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
lhauch 698e640ac3 More design and build rules, as well as refining requirements.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@480 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 01:02:35 +00:00
lhauch 401693ff43 Removed create/modified/update data, PacakgeType from headers, added HexWordArrayType for VariableName list, the definition accepts the following: 0x000A, 0x000b, 0x00AF or 0x000A 0x000b 0x00AF or 0x000A,0x000b,0x00AF NOTE: LEADING ZERO characters are REQUIRED!
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@473 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 20:29:18 +00:00
klu2 81e8690189 Add HiiDefaultValue in <DynamicPcdBuildDefinition> according to latest schema email send by larry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@472 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 15:46:06 +00:00
klu2 02b4b59b2b Sync the type of <VariableName> with the latest email send by Larry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@471 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 14:49:31 +00:00
klu2 d84573dbd1 Fix some minor bugs on PCD schema according to final schema email send by Larry
1) In <PcdData> of <PcdBuildDefinition>, MaxDatumSize should be added;
2) In <PcdData> of <PcdBuildDefinition>, the number of <Value> should be [0..1] but not [0..n];
3) The max occurs of <SkuId> in <DynamicPcdBuildDefinitions> should be 1;

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@470 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 13:16:10 +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
lhauch 2bf4e0a163 Final Check-for TRUNK transition schema that handles both old and new elements.
This will handle both.  I will start doing the Branch stripped out version with only new stuff in it now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@451 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 05:51:19 +00:00
lhauch 5c5b48998b Intermediate Check-in this MSA schema handles both old and new elements.
This is not the final version of the XML Transition Schema - what is here works.
THE LAST SECTION, FPD File, still to come.  Now this handles both old and new MSA and SPD formats.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@450 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 04:32:47 +00:00
qwang12 eaa6aeba69 Make the PCD database compilable on X64 platform.
We need to add a (UINTN) cast before casting the address to UINT32 type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@449 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 03:10:22 +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
lhauch 716b237185 Intermediate Check-in this SPD schema handles both old and new elements.
This is not the final version of the XML Transition Schema - what is here works.
More will come later.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@446 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 02:06:06 +00:00
lhauch c12c6c7dc6 Intermediate Check-in This is not the final version of the XML Transition Schema - what is here works. More will come later.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@445 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 23:46:59 +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
lhauch 54d37f3a61 Updated the Document - put in Andrew's comments RAW without formatting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@440 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 03:30:55 +00:00
qwang12 8a43e8dd55 Sync Pcd Service Driver, PEIM and library with MDE Spec 0.55a.
1) change all PCD_TOKEN_NUMBER to UINTN
2) change all SKU_ID to UINTN

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@437 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07 12:31:33 +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
lhauch be05f52305 Changed the group names VpdGroup and HiiGroup to HiiEnable and VpdEnable. Changed maxOccures on FvImages and Capsules from unbounded to 1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@425 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 05:18:42 +00:00
lhauch e4ecc06e50 Updated schema, added some new elements that will be used in the final. Added a DatumSizeLimitation type so that it could be referred to rather than specify 8 additional lines of XML for DataumSize element.
MAJOR CHANGE TO Framework Doc - SPD Has been added.  I will add Andrew's comments tomorrow.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@424 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 03:09:40 +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 3547bb9f9f Fix some bugs for EdkFatPkg
1) Remove FatFileSystem.c from Fat.msa
2) Use HighBitSet64 instead of GetPowerOfTwo64 for log2 macro
3) Add PCD entries in EdkNt32Pkg/Nt32.fpd for FAT module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@420 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-05 04:02:54 +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