]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
17 years ago1.BaseMemoryLibMmx: Add X64 Cpu Arch support.
qhuang8 [Wed, 28 Jun 2006 09:41:50 +0000 (09:41 +0000)]
1.BaseMemoryLibMmx: Add X64 Cpu Arch support.
2.BasePrintLib: Fix some minor bugs

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

17 years agoChange VOID into VOID * in function header
vanjeff [Wed, 28 Jun 2006 09:01:26 +0000 (09:01 +0000)]
Change VOID into VOID * in function header

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

17 years ago1. Fixed bug in FlushCacheLine.asm, added return value
vanjeff [Wed, 28 Jun 2006 08:42:05 +0000 (08:42 +0000)]
1. Fixed bug in FlushCacheLine.asm, added return value
2. Updated AsmEnablePaging64(), added far jump to long mode with updating CS

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

17 years agocommented out building ModuleEditor and PackageEditor
jwang36 [Tue, 27 Jun 2006 14:34:16 +0000 (14:34 +0000)]
commented out building ModuleEditor and PackageEditor

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

17 years agomerged part of new changes in new schema, and changed genbuild code accordingly
jwang36 [Tue, 27 Jun 2006 14:24:33 +0000 (14:24 +0000)]
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

17 years agoFix a bug for regular expression using wrong module's file name which contains '\'.
klu2 [Mon, 26 Jun 2006 17:36:46 +0000 (17:36 +0000)]
Fix a bug for regular expression using wrong module's file name which contains '\'.

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

17 years agoFix a bug for token number set in FPD can not exceed 2^31. The fixing is using Long...
klu2 [Mon, 26 Jun 2006 17:09:08 +0000 (17:09 +0000)]
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

17 years ago1) correct the assert condition for LibPcdSetPtr and LibPcdSetExPtr
qwang12 [Mon, 26 Jun 2006 13:41:23 +0000 (13:41 +0000)]
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

17 years ago• BaseMemoryLib:
qhuang8 [Mon, 26 Jun 2006 10:20:56 +0000 (10:20 +0000)]
• BaseMemoryLib:
Modify some Aassert()s conditions to sync with MWG 0.56d
Modify some defects in function header.
• PostCodeLib:
Implement PeiDxePostCodeLibReportStatusCode.
• Misc
Rename BaseDebugLibReportStatusCode to PeiDxeDebugLibReportStatusCode
Remove tabs in all .c and .h files in MdePkg.
Rename PeiServicesReinstallPpi() to PeiServicesReInstallPpi()
Adjust some minor coding style in PeCoffLoaderGetEntryPointerLib()

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

17 years ago• BaseMemoryLib:
qhuang8 [Mon, 26 Jun 2006 10:20:22 +0000 (10:20 +0000)]
• BaseMemoryLib:
Modify some Aassert()s conditions to sync with MWG 0.56d
Modify some defects in function header.
• PostCodeLib:
Implement PeiDxePostCodeLibReportStatusCode.
• Misc
Rename BaseDebugLibReportStatusCode to PeiDxeDebugLibReportStatusCode
Remove tabs in all .c and .h files in MdePkg.
Rename PeiServicesReinstallPpi() to PeiServicesReInstallPpi()
Adjust some minor coding style in PeCoffLoaderGetEntryPointerLib()

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

17 years ago• BaseMemoryLib:
qhuang8 [Mon, 26 Jun 2006 10:18:28 +0000 (10:18 +0000)]
• BaseMemoryLib:
Modify some Aassert()s conditions to sync with MWG 0.56d
Modify some defects in function header.
• PostCodeLib:
Implement PeiDxePostCodeLibReportStatusCode.
• Misc
Rename BaseDebugLibReportStatusCode to PeiDxeDebugLibReportStatusCode
Remove tabs in all .c and .h files in MdePkg.
Rename PeiServicesReinstallPpi() to PeiServicesReInstallPpi()
Adjust some minor coding style in PeCoffLoaderGetEntryPointerLib()

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

17 years agoRoll back modification for autogen of assemble code, we do not support PCD autogen...
klu2 [Mon, 26 Jun 2006 02:27:11 +0000 (02:27 +0000)]
Roll back modification for autogen of assemble code, we do not support PCD autogen for assemble code.

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

17 years agoFix Buger in this file to process the ffs file that only contain one compressed section.
lgao4 [Fri, 23 Jun 2006 14:45:44 +0000 (14:45 +0000)]
Fix Buger in this file to process the ffs file that only contain one compressed section.

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

17 years ago1) Add in support to traverse taken space
qwang12 [Fri, 23 Jun 2006 14:41:16 +0000 (14:41 +0000)]
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

17 years agoThe main trunk of tip is broken by Scott's removing of PcdPeimTest driver, but forget...
klu2 [Fri, 23 Jun 2006 13:17:53 +0000 (13:17 +0000)]
The main trunk of tip is broken by Scott's removing of PcdPeimTest driver, but forget remove it from EdkModulePkg.spd and <FrameworkModules> in Nt32.fpd. I have fixed it.

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

17 years agoEnabling use PcdSetXX macro to set value for PATCHABLE_IN_MODULE, DYNAMIC, DYNAMIC_EX...
klu2 [Fri, 23 Jun 2006 12:00:58 +0000 (12:00 +0000)]
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

17 years agoRemove the dead files.
qwang12 [Fri, 23 Jun 2006 09:26:50 +0000 (09:26 +0000)]
Remove the dead files.

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

17 years agoRemove the dead files.
qwang12 [Fri, 23 Jun 2006 09:10:00 +0000 (09:10 +0000)]
Remove the dead files.

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

17 years agoRemove the dead files.
qwang12 [Fri, 23 Jun 2006 09:07:36 +0000 (09:07 +0000)]
Remove the dead files.

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

17 years agoRemove the dead files.
qwang12 [Fri, 23 Jun 2006 09:06:57 +0000 (09:06 +0000)]
Remove the dead files.

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

17 years agoRemove the dead files.
qwang12 [Fri, 23 Jun 2006 08:42:54 +0000 (08:42 +0000)]
Remove the dead files.

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

17 years agoRemove the dead files.
qwang12 [Fri, 23 Jun 2006 08:30:53 +0000 (08:30 +0000)]
Remove the dead files.

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

17 years ago1) make sure a empty database will be generated if the Uinitialized database portion...
qwang12 [Fri, 23 Jun 2006 06:40:50 +0000 (06:40 +0000)]
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

17 years ago1) remove some dead code from WinNtBusDriver.c
qwang12 [Fri, 23 Jun 2006 04:30:23 +0000 (04:30 +0000)]
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

17 years agoExplain how to build for other architectures.
bbahnsen [Thu, 22 Jun 2006 23:19:41 +0000 (23:19 +0000)]
Explain how to build for other architectures.

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

17 years agoIn before, FixedPcdGetxx macro was defined as global variable, it is wrong. It should...
klu2 [Thu, 22 Jun 2006 14:08:17 +0000 (14:08 +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@599 6f19259b-4bc3-4df7-8a09-765794883524

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