]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
17 years agoIn before, FixedPcdGetxx macro was defined as global variable, it is wrong. It should...
klu2 [Thu, 22 Jun 2006 14:07:22 +0000 (14:07 +0000)]
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@598 6f19259b-4bc3-4df7-8a09-765794883524

17 years agoFix buger in DxeMain module and modify uefispec.h coding style
lgao4 [Thu, 22 Jun 2006 12:32:30 +0000 (12:32 +0000)]
Fix buger in DxeMain module and modify uefispec.h coding style

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

17 years agoIn before, module type is judged by the sub element value in <ModuleSA>, it is not...
klu2 [Thu, 22 Jun 2006 08:17:35 +0000 (08:17 +0000)]
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

17 years ago1. UINTN & INTN issue for EBC architecture:
qhuang8 [Thu, 22 Jun 2006 06:09:37 +0000 (06:09 +0000)]
1. UINTN & INTN issue for EBC architecture:
The MAX_BIT of EBC will no longer be fixed to bit 63. It is defined as (1ULL << (sizeof (INTN) * 8 - 1)).
Make EdkModulePkg & MdePkg EBC compiler clean: treat all EFI_STATUS error code as variable.
2. PrintLib
Complete all missing ASSERT()s.
Fix “\n” & “%\n” issue thanks to the clarification of MWG 0.56d.
Adjust StatusString array to support EBC build.
3. BaseMemoryLib
Adjust ASSERT () & function header of ComparaMem, SetMemXX, ScanMemXX to synchronize with MWG 0.56d.
4.SmbusLib
Change Pec bit to bit 22 SmBusAddress to synchronize MWG 0.56d.
Add ASSERT()s to check if length is illegal for SmBusBlockWrite() & SmBusProcessBlock() since it is 6 bit now.
5. PerformanceLib
Rename “EdkDxePerformanceLib” & “EdkPeiPerformanceLib” to “DxePerformanceLib” & “PeiPerformanceLib” respectively.
Synchronize the function header of GetPerformanceMeasurement() with MWG 0.56d.
6. BasePeCoffLoaderLib.
Make PeCoffLoaderLoadImage () Assert() if ImageContext is NULL>
Make PeCoffLoaderLoadImage () return RETURN_INVALID_PARAMETER if the ImageAddress in ImageContext is 0.
Adjust some coding style.

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

17 years ago1. UINTN & INTN issue for EBC architecture:
qhuang8 [Thu, 22 Jun 2006 06:08:00 +0000 (06:08 +0000)]
1. UINTN & INTN issue for EBC architecture:
The MAX_BIT of EBC will no longer be fixed to bit 63. It is defined as (1ULL << (sizeof (INTN) * 8 - 1)).
Make EdkModulePkg & MdePkg EBC compiler clean: treat all EFI_STATUS error code as variable.
2. PrintLib
Complete all missing ASSERT()s.
Fix “\n” & “%\n” issue thanks to the clarification of MWG 0.56d.
Adjust StatusString array to support EBC build.
3. BaseMemoryLib
Adjust ASSERT () & function header of ComparaMem, SetMemXX, ScanMemXX to synchronize with MWG 0.56d.
4.SmbusLib
Change Pec bit to bit 22 SmBusAddress to synchronize MWG 0.56d.
Add ASSERT()s to check if length is illegal for SmBusBlockWrite() & SmBusProcessBlock() since it is 6 bit now.
5. PerformanceLib
Rename “EdkDxePerformanceLib” & “EdkPeiPerformanceLib” to “DxePerformanceLib” & “PeiPerformanceLib” respectively.
Synchronize the function header of GetPerformanceMeasurement() with MWG 0.56d.
6. BasePeCoffLoaderLib.
Make PeCoffLoaderLoadImage () Assert() if ImageContext is NULL>
Make PeCoffLoaderLoadImage () return RETURN_INVALID_PARAMETER if the ImageAddress in ImageContext is 0.
Adjust some coding style.

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

17 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@592 6f19259b...
klu2 [Thu, 22 Jun 2006 05:46:21 +0000 (05:46 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@592 6f19259b-4bc3-4df7-8a09-765794883524

17 years ago1) Change the schema type for <VariableGuid> used in PCD HiiEnable group in FPD file.
klu2 [Thu, 22 Jun 2006 05:39:54 +0000 (05:39 +0000)]
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

17 years agoMajor Changes - most of MSA and SPD are completed.
lhauch [Thu, 22 Jun 2006 00:42:17 +0000 (00:42 +0000)]
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

17 years agoNot needed
bbahnsen [Wed, 21 Jun 2006 21:09:12 +0000 (21:09 +0000)]
Not needed

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

17 years agoClean up some data type mismatches.
bbahnsen [Wed, 21 Jun 2006 17:39:11 +0000 (17:39 +0000)]
Clean up some data type mismatches.

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

17 years ago1) Move almost new schema related to PCD on branch to transition scheme in main trunk.
klu2 [Wed, 21 Jun 2006 16:07:38 +0000 (16:07 +0000)]
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

17 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

17 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

17 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

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

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

17 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

17 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

17 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

17 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.
   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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years ago 1. PostCodeLib.
qhuang8 [Mon, 19 Jun 2006 07:41:18 +0000 (07:41 +0000)]
1. PostCodeLib.
Rename BasePostCodeLib80 to BasePostCodeLibPort80.
Fix typos in macro POST_CODE() and POST_CODE_WITH_DESCRIPTION()
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

17 years ago 1. PostCodeLib.
qhuang8 [Mon, 19 Jun 2006 07:40:23 +0000 (07:40 +0000)]
1. PostCodeLib.
Rename BasePostCodeLib80 to BasePostCodeLibPort80.
Fix typos in macro POST_CODE() and POST_CODE_WITH_DESCRIPTION()
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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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.
BasePrintLib:
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
ReportStatusCodeLib:
Add CONST modifier to some interfaces
Modify
DebugLib:
Replace some Unicode in comments.
PeiServicesTablePointerLib
Add ASSERT()s
PciLib:
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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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