16 years agoModify PCD declaration according to new schema.
klu2 [Wed, 21 Jun 2006 09:16:41 +0000 (09:16 +0000)]
Modify PCD declaration according to new schema.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@583 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUse the address of guid array as parameter directly for _PCD_MODE_xx macro for Dynami...
klu2 [Wed, 21 Jun 2006 03:36:00 +0000 (03:36 +0000)]
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

16 years agoFix bug in DxeMain module and EdkMemoryStatusCodeLib library.
lgao4 [Wed, 21 Jun 2006 02:59:51 +0000 (02:59 +0000)]
Fix bug in DxeMain module and EdkMemoryStatusCodeLib library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@581 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemove
bbahnsen [Tue, 20 Jun 2006 22:48:13 +0000 (22:48 +0000)]

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@578 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd a new classpath element.
bbahnsen [Tue, 20 Jun 2006 22:12:27 +0000 (22:12 +0000)]
Add a new classpath element.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@577 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUse capital S for GCC assembly. This enables pre-processing for PCD support.
bbahnsen [Tue, 20 Jun 2006 21:50:44 +0000 (21:50 +0000)]
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

16 years agoModify autogen code for DynamicEx type PCD.
klu2 [Tue, 20 Jun 2006 17:10:21 +0000 (17:10 +0000)]
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

16 years agoAdd exception and log mechanism
qouyang [Tue, 20 Jun 2006 11:57:17 +0000 (11:57 +0000)]
Add exception and log mechanism
1. Add :
   a. GenBuildLogger.java in Tools/Source/GenBuild/org/tianocore/build/gobal.
2. modify:
   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

16 years agoAdpate to schema merge.
jlin16 [Tue, 20 Jun 2006 08:43:00 +0000 (08:43 +0000)]
Adpate to schema merge.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@572 6f19259b-4bc3-4df7-8a09-765794883524

16 years agochanged Specification to string and changed back Abstract to new schema format
jwang36 [Tue, 20 Jun 2006 08:41:13 +0000 (08:41 +0000)]
changed Specification to string and changed back Abstract to new schema format

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@571 6f19259b-4bc3-4df7-8a09-765794883524

16 years agochanged back to old Abstract and Version in SpdHeader for ModuleEditor and PackageEdi...
jwang36 [Tue, 20 Jun 2006 07:26:07 +0000 (07:26 +0000)]
changed back to old Abstract and Version in SpdHeader for ModuleEditor and PackageEditor compatible issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@570 6f19259b-4bc3-4df7-8a09-765794883524

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@569 6f19259b...
qouyang [Tue, 20 Jun 2006 07:17:40 +0000 (07:17 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@569 6f19259b-4bc3-4df7-8a09-765794883524

16 years agomerged the new changes in new schema, and corrected many inconsistencies in attribute...
jwang36 [Tue, 20 Jun 2006 06:57:42 +0000 (06:57 +0000)]
merged the new changes in new schema, and corrected many inconsistencies in attributes definitions

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@568 6f19259b-4bc3-4df7-8a09-765794883524

16 years agochanged the way to fetch file name list in spd file, per the schema changes
jwang36 [Tue, 20 Jun 2006 06:56:10 +0000 (06:56 +0000)]
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

16 years agoAdd log and exception mechanism
qouyang [Tue, 20 Jun 2006 06:24:39 +0000 (06:24 +0000)]
Add log and exception mechanism

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@566 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Fixed bug for WriteUnaligned24() in Unaligned.c of BaseLib
vanjeff [Tue, 20 Jun 2006 05:30:27 +0000 (05:30 +0000)]
1. Fixed bug for WriteUnaligned24() in Unaligned.c of BaseLib
2. Added assert() for AsmFxRestore() in x86LowLevel.c of BaseLib
3. Added assert() for LongJump() in LongJump.c of BaseLib
4. Changed parameter type of Value from "IN" to "IN OUT" for InterLockedComparedExchanged32/64/pointer() functions to sync with MWG-0.55a
5. Changed functions header of all BitField functions of BaseLib, BaseIoLibIntrinsic, BasePciCf8Lib, BasePciExpressLib, BasePciLibCf8, BasePciLibPciExpressLib DxeIoLibCpuIo, PeiIoLibCpuIo etc, to follow MWG-0.55a.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@565 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoupdated UserExtensions to match final schema.
lhauch [Tue, 20 Jun 2006 00:41:18 +0000 (00:41 +0000)]
updated UserExtensions to match final schema.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@563 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix a bug to judege max value of UINT32, 0xFFFFFFFF is invalid UINT32 in JAVA.
klu2 [Mon, 19 Jun 2006 09:13:44 +0000 (09:13 +0000)]
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

16 years agoAdd DATUM_TYPE checking for FEATURE_FLAG PCD entry. For FEATURE_FLAG PCD, the datum...
klu2 [Mon, 19 Jun 2006 08:33:18 +0000 (08:33 +0000)]
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

16 years ago 1. PostCodeLib.
qhuang8 [Mon, 19 Jun 2006 07:41:18 +0000 (07:41 +0000)]
1. PostCodeLib.
Rename BasePostCodeLib80 to BasePostCodeLibPort80.
2. DebugLib
Change the parameter type of LineNumber of DebugAssert() from “INTN” to “UINTN” to follow MWG.
Add type cast “(EFI_GUID *)” in macro ASSERT_PROTCOL_ALREADY_INSTALLED () to follow MWG.
3. BasePeCoffLib/
Add library function header for all the interfaces in MWG.
Add missing ASSERT()s.
4. PciLib
Add ASSERT()s in PciRead/WriteBuffer() to check cross PCI function access.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@558 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago 1. PostCodeLib.
qhuang8 [Mon, 19 Jun 2006 07:40:23 +0000 (07:40 +0000)]
1. PostCodeLib.
Rename BasePostCodeLib80 to BasePostCodeLibPort80.
2. DebugLib
Change the parameter type of LineNumber of DebugAssert() from “INTN” to “UINTN” to follow MWG.
Add type cast “(EFI_GUID *)” in macro ASSERT_PROTCOL_ALREADY_INSTALLED () to follow MWG.
3. BasePeCoffLib/
Add library function header for all the interfaces in MWG.
Add missing ASSERT()s.
4. PciLib
Add ASSERT()s in PciRead/WriteBuffer() to check cross PCI function access.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@557 6f19259b-4bc3-4df7-8a09-765794883524

16 years agomerged the new schema except to those PCD related
jwang36 [Mon, 19 Jun 2006 06:24:35 +0000 (06:24 +0000)]
merged the new schema except to those PCD related

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@556 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix a bug of PCD autogen for UINT64:
klu2 [Mon, 19 Jun 2006 03:53:41 +0000 (03:53 +0000)]
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

16 years agoFixed the issues which caused the gcc build on MacOs failed
jwang36 [Sat, 17 Jun 2006 15:42:16 +0000 (15:42 +0000)]
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

16 years agoFix a bug when generate default value for byte array for FIXED_AT_BUILD, PATCHABLE_IN...
klu2 [Sat, 17 Jun 2006 13:25:31 +0000 (13:25 +0000)]
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

16 years agoChange the macro for dynamicEx type PCD and modify autogen tools to auto generate...
klu2 [Sat, 17 Jun 2006 09:57:06 +0000 (09:57 +0000)]
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

16 years agoUse an absolute path to specify tool executables.
bbahnsen [Fri, 16 Jun 2006 17:48:34 +0000 (17:48 +0000)]
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

16 years agoRool Back this modification to enable gcc Build.
lgao4 [Fri, 16 Jun 2006 16:45:27 +0000 (16:45 +0000)]
Rool Back this modification to enable gcc Build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@544 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix DxeIpl module bugs: DxeCoreFileName should be from the Dxe Core ffs file that...
lgao4 [Fri, 16 Jun 2006 14:45:03 +0000 (14:45 +0000)]
Fix DxeIpl module bugs: DxeCoreFileName should be from the Dxe Core ffs file that contain DxeCore Pe Data.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@543 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix GenFfsFileTask.java bugs
lgao4 [Fri, 16 Jun 2006 14:31:27 +0000 (14:31 +0000)]
Fix GenFfsFileTask.java bugs

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@542 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Removed the unnecessary #include statements and include files
yshi8 [Fri, 16 Jun 2006 11:42:42 +0000 (11:42 +0000)]
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

16 years ago1. Removed the unnecessary #include statements and include files
yshi8 [Fri, 16 Jun 2006 11:40:33 +0000 (11:40 +0000)]
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

16 years ago1. Removed the unnecessary #include statements and include files
yshi8 [Fri, 16 Jun 2006 11:38:14 +0000 (11:38 +0000)]
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

16 years ago1) Add byte element checking for a PCD who using byte array type datum.
klu2 [Fri, 16 Jun 2006 09:11:15 +0000 (09:11 +0000)]
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

16 years agoshould return instead of break.
qwang12 [Fri, 16 Jun 2006 07:22:48 +0000 (07:22 +0000)]
should return instead of break.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@536 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdated CpuFlushCacheLine() to return the address flushed.
bxing [Fri, 16 Jun 2006 07:02:23 +0000 (07:02 +0000)]
Updated CpuFlushCacheLine() to return the address flushed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@535 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoGet rid of old makefiles.
bbahnsen [Thu, 15 Jun 2006 16:25:59 +0000 (16:25 +0000)]
Get rid of old makefiles.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@533 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd the ModifyInf tool
bbahnsen [Thu, 15 Jun 2006 16:23:53 +0000 (16:23 +0000)]
Add the ModifyInf tool

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@532 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd many datum and datum size checking in PCD building tools, These checking work...
klu2 [Thu, 15 Jun 2006 14:41:28 +0000 (14:41 +0000)]
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

16 years agoremoved throwing BuildException when exit code is not zero
jwang36 [Thu, 15 Jun 2006 10:28:45 +0000 (10:28 +0000)]
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

16 years agoThunk16.asm's can use constants defined in BaseLib.h now.
bxing [Thu, 15 Jun 2006 10:25:17 +0000 (10:25 +0000)]
Thunk16.asm's can use constants defined in BaseLib.h now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@525 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdated task GenEfi to support SEC component type.
bxing [Thu, 15 Jun 2006 10:23:48 +0000 (10:23 +0000)]
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

16 years agorollback to rev.273, merged new updates as well
jwang36 [Thu, 15 Jun 2006 09:42:34 +0000 (09:42 +0000)]
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

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@520 6f19259b...
yshang1 [Thu, 15 Jun 2006 02:54:27 +0000 (02:54 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@520 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix an assembler warning.
bbahnsen [Wed, 14 Jun 2006 15:37:59 +0000 (15:37 +0000)]
Fix an assembler warning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@514 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoThis was only used by GenFvImage tool, so it can be removed now.
bbahnsen [Wed, 14 Jun 2006 15:14:46 +0000 (15:14 +0000)]
This was only used by GenFvImage tool, so it can be removed now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@513 6f19259b-4bc3-4df7-8a09-765794883524

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@511 6f19259b...
jlin16 [Wed, 14 Jun 2006 10:49:47 +0000 (10:49 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@511 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoadded the support for new schema and old schema at the same time
jwang36 [Wed, 14 Jun 2006 10:44:45 +0000 (10:44 +0000)]
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

16 years agoRemove the dependence to MdePkg
qouyang [Wed, 14 Jun 2006 08:07:19 +0000 (08:07 +0000)]
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

16 years agoFix two transition issue:
klu2 [Wed, 14 Jun 2006 04:01:11 +0000 (04:01 +0000)]
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

16 years agoUpdated with more MSA Forms data.
lhauch [Wed, 14 Jun 2006 02:36:14 +0000 (02:36 +0000)]
Updated with more MSA Forms data.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@507 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd <TokenSpaceGuid> for all PCD entry in FPD file
klu2 [Wed, 14 Jun 2006 02:35:56 +0000 (02:35 +0000)]
Add <TokenSpaceGuid> for all PCD entry in FPD file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@506 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdated MsaFiles to be a choice of <Filename> [1..*] or <MsaFile> [1..*] and added...
lhauch [Wed, 14 Jun 2006 02:14:50 +0000 (02:14 +0000)]
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

16 years agoFixes for case sensitive operating systems.
bbahnsen [Tue, 13 Jun 2006 20:36:27 +0000 (20:36 +0000)]
Fixes for case sensitive operating systems.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@502 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoPrepend underscores to procedure identifiers.
bbahnsen [Tue, 13 Jun 2006 16:09:27 +0000 (16:09 +0000)]
Prepend underscores to procedure identifiers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@501 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoSync SetMem64 with MASM version.
bbahnsen [Tue, 13 Jun 2006 16:06:40 +0000 (16:06 +0000)]
Sync SetMem64 with MASM version.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@500 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoAdd in HII enable support for PCD.
qwang12 [Tue, 13 Jun 2006 10:34:56 +0000 (10:34 +0000)]
Add in HII enable support for PCD.
But the default value has not been enabled.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@498 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix some bugs in PCD tools:
klu2 [Tue, 13 Jun 2006 09:40:16 +0000 (09:40 +0000)]
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

16 years ago BaseMemoryLib (BaseMemoryLibRepStr):
qhuang8 [Tue, 13 Jun 2006 06:31:11 +0000 (06:31 +0000)]
BaseMemoryLib (BaseMemoryLibRepStr):
Fix a logic error in SetMem64 (); The correct stride should be 8 instead of 4.
Fix Printf(“%\n”) passer error.
Fix BufferSize = 0, 1 issue
Fix some missing ASSERT ()s
Move MAXIMUM_VALUE_CHARACTERS from PrintLibInternal.h to PrintLib.h
Add CONST modifier to some interfaces
Replace some Unicode in comments.
Remove unnecessary ASSERT()s in PciRead/WriteBuffer()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@496 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1) Fix a bug for PCD autogen tools, see track#115 in PVCS: Module's PCD informtion...
klu2 [Tue, 13 Jun 2006 05:46:05 +0000 (05:46 +0000)]
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

16 years agoConvert env var name to all caps.
bbahnsen [Mon, 12 Jun 2006 17:15:58 +0000 (17:15 +0000)]
Convert env var name to all caps.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@486 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixes for gcc assembly.
bbahnsen [Mon, 12 Jun 2006 17:11:17 +0000 (17:11 +0000)]
Fixes for gcc assembly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@485 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoTransfer old <PCDs> in MSA to <PcdCoded>:
klu2 [Mon, 12 Jun 2006 15:11:33 +0000 (15:11 +0000)]
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

16 years agoAdded a new source file type "x86_asm_autogen" to allow assembly source to use macros...
bxing [Mon, 12 Jun 2006 11:14:21 +0000 (11:14 +0000)]
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

16 years agoModify PCD tool according to final PCD schema modification.
klu2 [Mon, 12 Jun 2006 07:57:04 +0000 (07:57 +0000)]
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

16 years agoMore design and build rules, as well as refining requirements.
lhauch [Mon, 12 Jun 2006 01:02:35 +0000 (01:02 +0000)]
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

16 years agoRemoved create/modified/update data, PacakgeType from headers, added HexWordArrayType...
lhauch [Sat, 10 Jun 2006 20:29:18 +0000 (20:29 +0000)]
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

16 years agoAdd HiiDefaultValue in <DynamicPcdBuildDefinition> according to latest schema email...
klu2 [Sat, 10 Jun 2006 15:46:06 +0000 (15:46 +0000)]
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

16 years agoSync the type of <VariableName> with the latest email send by Larry.
klu2 [Sat, 10 Jun 2006 14:49:31 +0000 (14:49 +0000)]
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

16 years agoFix some minor bugs on PCD schema according to final schema email send by Larry
klu2 [Sat, 10 Jun 2006 13:16:10 +0000 (13:16 +0000)]
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

16 years ago1) Sync PcdPpi guid with PCD arch spec.
qwang12 [Sat, 10 Jun 2006 12:03:36 +0000 (12:03 +0000)]
1) Sync PcdPpi guid with PCD arch spec.
2) Correct macro PatchPcdSetPtr

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@469 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Updated PalCallStatic.s in BaseCacheMaintenanceLib
bxing [Sat, 10 Jun 2006 10:13:05 +0000 (10:13 +0000)]
1. Updated PalCallStatic.s in BaseCacheMaintenanceLib
2. Updated PalCallStatic.s in BaseTimerLibLocalApic

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@467 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFixed mistyping in Ia32/LongJump.asm and X64/LongJump.asm
bxing [Sat, 10 Jun 2006 09:57:35 +0000 (09:57 +0000)]
Fixed mistyping in Ia32/LongJump.asm and X64/LongJump.asm

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@466 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Added AsmCpuidEx() to BaseLib
bxing [Sat, 10 Jun 2006 09:37:12 +0000 (09:37 +0000)]
1. Added AsmCpuidEx() to BaseLib
2. Added DecimalToBcd8() and BcdToDecimal8() to String.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@465 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago1. Updated SetJump() and LongJump() for IPF
bxing [Sat, 10 Jun 2006 07:16:11 +0000 (07:16 +0000)]
1. Updated SetJump() and LongJump() for IPF
2. Added assertion for SetJump() for all architectures
3. Added CpuSleep() for IPF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@464 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdate comments to conform to the new, Doxygen friendly, coding standard. These...
darylm503 [Fri, 9 Jun 2006 23:44:26 +0000 (23:44 +0000)]
Update comments to conform to the new, Doxygen friendly, coding standard.  These are structural changes only.  There is NO NEW CONTENT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@462 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdate comments to conform to the new, Doxygen friendly, coding standard. These...
darylm503 [Fri, 9 Jun 2006 23:41:12 +0000 (23:41 +0000)]
Update comments to conform to the new, Doxygen friendly, coding standard.  These are structural changes only.  There is NO NEW CONTENT.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@461 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix a misspelling.
bbahnsen [Fri, 9 Jun 2006 22:26:31 +0000 (22:26 +0000)]
Fix a misspelling.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@460 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoOne GenFvImage can handle all archs now.
bbahnsen [Fri, 9 Jun 2006 21:14:37 +0000 (21:14 +0000)]
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

16 years agoAdded an environment variable test to bypass setting the path multiple times, it...
lhauch [Fri, 9 Jun 2006 18:07:09 +0000 (18:07 +0000)]
Added an environment variable test to bypass setting the path multiple times, it checks the FRAMEWORK_TOOLS_PATH to make sure that it has not changed.  If it has, it prepends the new FRAMEWORK_TOOLS_PATH setting to the PATH environment variable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@458 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoTemporary workaround--determine the target architecture from an environment variable...
bbahnsen [Fri, 9 Jun 2006 17:07:09 +0000 (17:07 +0000)]
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

16 years agoFixed a bug in the script - missing % on a WORKSPACE declaration. Also, added an...
lhauch [Fri, 9 Jun 2006 15:26:28 +0000 (15:26 +0000)]
Fixed a bug in the script - missing % on a WORKSPACE declaration.  Also, added an argument, skip, that will skip building tools and re-setting the PATH. executing edksetup skip sets WORKSPACE, FRAMEWORK_TOOLS_PATH, CYGWIN_HOME (if c:\cygwin exists) and the CLASSPATH.  This arg was added so that folks who might run the program more than one time from the same command window do not end up with a PATH environment that exceeds the max number of characters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@456 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoFix GenffsFileTask.java one bug: create *.org failed in some machine.
qouyang [Fri, 9 Jun 2006 11:01:28 +0000 (11:01 +0000)]
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

16 years agoFix one conflict with the latest schema
hche10x [Fri, 9 Jun 2006 08:30:43 +0000 (08:30 +0000)]
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

16 years agoFinal Check-for TRUNK transition schema that handles both old and new elements.
lhauch [Fri, 9 Jun 2006 05:51:19 +0000 (05:51 +0000)]
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

16 years agoIntermediate Check-in this MSA schema handles both old and new elements.
lhauch [Fri, 9 Jun 2006 04:32:47 +0000 (04:32 +0000)]
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

16 years agoMake the PCD database compilable on X64 platform.
qwang12 [Fri, 9 Jun 2006 03:10:22 +0000 (03:10 +0000)]
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

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@448 6f19259b...
jlin16 [Fri, 9 Jun 2006 02:30:10 +0000 (02:30 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@448 6f19259b-4bc3-4df7-8a09-765794883524

16 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@447 6f19259b...
jlin16 [Fri, 9 Jun 2006 02:13:57 +0000 (02:13 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@447 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoIntermediate Check-in this SPD schema handles both old and new elements.
lhauch [Fri, 9 Jun 2006 02:06:06 +0000 (02:06 +0000)]
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

16 years agoIntermediate Check-in This is not the final version of the XML Transition Schema...
lhauch [Thu, 8 Jun 2006 23:46:59 +0000 (23:46 +0000)]
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

16 years ago1.Change environment variable from "Framework_Tools_Path" to "FRAMEWORK_TOOLS_PATH".
qouyang [Thu, 8 Jun 2006 09:11:56 +0000 (09:11 +0000)]
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

16 years ago 1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX...
qhuang8 [Thu, 8 Jun 2006 03:38:14 +0000 (03:38 +0000)]
1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX() to PeiServicesXXX().
2. Remove PostCode interfaces from ReportStatusCodeLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@442 6f19259b-4bc3-4df7-8a09-765794883524

16 years ago 1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX...
qhuang8 [Thu, 8 Jun 2006 03:36:57 +0000 (03:36 +0000)]
1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX() to PeiServicesXXX().
2. Remove PostCode interfaces from ReportStatusCodeLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@441 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoUpdated the Document - put in Andrew's comments RAW without formatting.
lhauch [Thu, 8 Jun 2006 03:30:55 +0000 (03:30 +0000)]
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

16 years agoMake sure Pcd service driver can work on 64-bit architecture.
qwang12 [Wed, 7 Jun 2006 15:56:29 +0000 (15:56 +0000)]
Make sure Pcd service driver can work on 64-bit architecture.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@439 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoBaseMemoryLib:
qhuang8 [Wed, 7 Jun 2006 15:38:52 +0000 (15:38 +0000)]
Correct wrong ASSERT()s on SetMem16(), SetMem32(), SetMem64()
Add Missing ASSERT()s for BuildGuidHobData() since CopyMem() now allow zero source buffer with length > 0.
Add ASSERT()s to check NULL buffer and NULL format.
Add 3 instances of PostCodeLib and introduce new Pcd for post code property mask.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@438 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoSync Pcd Service Driver, PEIM and library with MDE Spec 0.55a.
qwang12 [Wed, 7 Jun 2006 12:31:33 +0000 (12:31 +0000)]
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

16 years agoTry to clarify the gcc story a little bit.
bbahnsen [Wed, 7 Jun 2006 00:21:44 +0000 (00:21 +0000)]
Try to clarify the gcc story a little bit.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@435 6f19259b-4bc3-4df7-8a09-765794883524

16 years agoRemove one of the saxon jars from the classpath.
bbahnsen [Tue, 6 Jun 2006 23:41:12 +0000 (23:41 +0000)]
Remove one of the saxon jars from the classpath.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@434 6f19259b-4bc3-4df7-8a09-765794883524