]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
15 years agoedk2/MdePkg/Include/Ia32/ProcessorBind.h:
jljusten [Fri, 29 Aug 2008 23:04:44 +0000 (23:04 +0000)]
edk2/MdePkg/Include/Ia32/ProcessorBind.h:
* Add mask for ICC warning when a parameter is not referenced in a
  function.

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

15 years agoFix build warning by replace CompareGuid by CompareMem
lgao4 [Fri, 29 Aug 2008 08:49:57 +0000 (08:49 +0000)]
Fix build warning by replace CompareGuid by CompareMem

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

15 years agoOptionMap->Guid may not align on UINT32 baundary.
qwang12 [Fri, 29 Aug 2008 06:47:11 +0000 (06:47 +0000)]
OptionMap->Guid may not align on UINT32 baundary.

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

15 years agoFix a bug in the assert condition.
qwang12 [Fri, 29 Aug 2008 05:35:16 +0000 (05:35 +0000)]
Fix a bug in the assert condition.

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

15 years agoFix a bug in the assert condition.
qwang12 [Fri, 29 Aug 2008 05:34:35 +0000 (05:34 +0000)]
Fix a bug in the assert condition.

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

15 years agoGetNextMonotonicCount may not be available when GenerateRandomGuid is called. Add...
qwang12 [Fri, 29 Aug 2008 01:53:37 +0000 (01:53 +0000)]
GetNextMonotonicCount may not be available when GenerateRandomGuid is called. Add a static variable as a seed.

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

15 years agoAdd .S file for X64 GCC tool-chain for Thunk16.
qwang12 [Thu, 28 Aug 2008 15:08:59 +0000 (15:08 +0000)]
Add .S file for X64 GCC tool-chain for Thunk16.

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

15 years agoAdd .S file for GCC tool-chain for EfiRuntimeLib.
qwang12 [Thu, 28 Aug 2008 09:00:06 +0000 (09:00 +0000)]
Add .S file for GCC tool-chain for EfiRuntimeLib.

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

15 years agoAdd .S file for GCC tool-chain for PeiLib.
qwang12 [Thu, 28 Aug 2008 08:44:32 +0000 (08:44 +0000)]
Add .S file for GCC tool-chain for PeiLib.

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

15 years agoAdd .S file for GCC tool-chain for EfiCommonLib.
qwang12 [Thu, 28 Aug 2008 08:21:26 +0000 (08:21 +0000)]
Add .S file for GCC tool-chain for EfiCommonLib.

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

15 years agoFix several approved code review comments:
qhuang8 [Thu, 28 Aug 2008 02:53:16 +0000 (02:53 +0000)]
Fix several approved code review comments:
1. Remove internal function prototypes to avoid sync efforts. The layout of them have been adjusted
2. Apply macro ALIGN_POINTER to get next section stream
3. Fix a potential memory leak issue.
4. Make the comparison between type UINTN and 0 consistent between one function.

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

15 years agoSwitch DxeCore to use DxeCoreMemoryAllocationLib for Unix platform.
qhuang8 [Thu, 28 Aug 2008 01:04:55 +0000 (01:04 +0000)]
Switch DxeCore to use DxeCoreMemoryAllocationLib for Unix platform.

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

15 years agoSwitch DxeCore to use DxeCoreMemoryAllocationLib for Duet platform.
qhuang8 [Thu, 28 Aug 2008 00:49:56 +0000 (00:49 +0000)]
Switch DxeCore to use DxeCoreMemoryAllocationLib for Duet platform.

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

15 years agoAdd new line at the end of file.
qhuang8 [Wed, 27 Aug 2008 14:52:28 +0000 (14:52 +0000)]
Add new line at the end of file.

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

15 years agoRemove the supported module type of DXE_CORE to avoid that this library instanced...
qhuang8 [Wed, 27 Aug 2008 14:30:52 +0000 (14:30 +0000)]
Remove the supported module type of DXE_CORE to avoid that this library instanced by misused by DxeCore.
DxeCore should link the instance in MdeModulePkg for MemoryAllocationLib class.

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

15 years agoClean up DxeCore to remove duplicate memory allocation & device path utility services...
qhuang8 [Wed, 27 Aug 2008 14:29:23 +0000 (14:29 +0000)]
Clean up DxeCore to remove duplicate memory allocation & device path utility services in Library.c.DxeCore should use MemoryAllocationLib & DevicePathLib for these API.
Minor cleanup the coding style: #include <DxeMain.h> should be changed to #include "DxeMain.h" since "DxeMain.h" is not pubic header fie.

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

15 years agoSwitch DxeCore to use DxeCoreMemoryAllocationLib for NT32 platform.
qhuang8 [Wed, 27 Aug 2008 13:52:36 +0000 (13:52 +0000)]
Switch DxeCore to use DxeCoreMemoryAllocationLib for NT32 platform.

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

15 years agoSwitch DxeCore to use DxeCoreMemoryAllocationLib
qhuang8 [Wed, 27 Aug 2008 13:50:19 +0000 (13:50 +0000)]
Switch DxeCore to use DxeCoreMemoryAllocationLib
Add DxeCoreMemoryAllocationLib to build validation file.

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

15 years agoAdd Cpu.S for X64 GCC tool-chain.
qwang12 [Wed, 27 Aug 2008 13:49:54 +0000 (13:49 +0000)]
Add Cpu.S for X64 GCC tool-chain.

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

15 years agoAdd dependency of DevicePathLib to DxeCore so that the internal device path related...
qhuang8 [Wed, 27 Aug 2008 13:48:11 +0000 (13:48 +0000)]
Add dependency of DevicePathLib to DxeCore so that the internal device path related APIs can be retired to avoid code duplication.

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

15 years agoAdd DxeCoreMemoryAllocationLib instance dedicated to DxeCore use.
qhuang8 [Wed, 27 Aug 2008 13:38:01 +0000 (13:38 +0000)]
Add DxeCoreMemoryAllocationLib instance dedicated to DxeCore use.
The implementation borrows the DxeCore Memory Allocation services as the primitive
for memory allocation instead of using UEFI boot servces in an indirect way.
It is assumed that this library instance must be linked with DxeCore in this package.

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

15 years agoCYGWIN_GCC cleanup for GenericBdsLib.
qhuang8 [Wed, 27 Aug 2008 13:30:27 +0000 (13:30 +0000)]
CYGWIN_GCC cleanup for GenericBdsLib.

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

15 years agoFix issue that wrong use Guid and Protocol.
klu2 [Wed, 27 Aug 2008 11:52:34 +0000 (11:52 +0000)]
Fix issue that wrong use Guid and Protocol.

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

15 years agoRemove duplicate PCD
klu2 [Wed, 27 Aug 2008 11:25:24 +0000 (11:25 +0000)]
Remove duplicate PCD

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

15 years agoRemove duplication definition for PcdUefiVariableDefaultLangCodes.
klu2 [Wed, 27 Aug 2008 09:10:09 +0000 (09:10 +0000)]
Remove duplication definition for PcdUefiVariableDefaultLangCodes.

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

15 years agoAdd in Thunk16.S.
qwang12 [Tue, 26 Aug 2008 10:22:08 +0000 (10:22 +0000)]
Add in Thunk16.S.

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

15 years agoremove all obsolete msa files from UnixPkg
eric_tian [Tue, 26 Aug 2008 09:22:15 +0000 (09:22 +0000)]
remove all obsolete msa files from UnixPkg

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

15 years agoadd .mut file type support for Microcode files.
vanjeff [Tue, 26 Aug 2008 06:18:30 +0000 (06:18 +0000)]
add .mut file type support for Microcode files.

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

15 years agoRefine the code.
klu2 [Mon, 25 Aug 2008 05:36:08 +0000 (05:36 +0000)]
Refine the code.

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

15 years agoAdd comments for several library class and declare PCD PcdMaximumGuidedExtractHandler...
lgao4 [Mon, 25 Aug 2008 05:09:01 +0000 (05:09 +0000)]
Add comments for several library class and declare PCD PcdMaximumGuidedExtractHandler as the PcdsFixedAtBuild and PcdsPatchableInModule type.

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

15 years agoremove the unused msa files in FatBinPkg, IntelFrameworkPkg, IntelFrameworkModulePkg...
lgao4 [Mon, 25 Aug 2008 05:08:13 +0000 (05:08 +0000)]
remove the unused msa files in FatBinPkg, IntelFrameworkPkg, IntelFrameworkModulePkg, Nt32Pkg, OptionRomPkg.

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

15 years agoremove the unused msa files in MdeModulePkg.
lgao4 [Mon, 25 Aug 2008 05:03:29 +0000 (05:03 +0000)]
remove the unused msa files in MdeModulePkg.

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

15 years agoremove the unused msa files in MdePkg.
lgao4 [Mon, 25 Aug 2008 05:00:23 +0000 (05:00 +0000)]
remove the unused msa files in MdePkg.

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

15 years agoAdd Fx.s
qwang12 [Mon, 25 Aug 2008 02:03:47 +0000 (02:03 +0000)]
Add Fx.s

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

15 years agoAdd in SupportItpDebug.S.
qwang12 [Mon, 25 Aug 2008 01:51:20 +0000 (01:51 +0000)]
Add in SupportItpDebug.S.

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

15 years agoClean up DxeMemoryAllocationLib and PeiMemoryAllocationLib.
lgao4 [Sun, 24 Aug 2008 05:00:30 +0000 (05:00 +0000)]
Clean up DxeMemoryAllocationLib and PeiMemoryAllocationLib.

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

15 years agoAdd .S (for GCC) file for Pei/PeiLib/PeiLib_Edk2.inf.
qwang12 [Sat, 23 Aug 2008 11:25:00 +0000 (11:25 +0000)]
Add .S (for GCC) file for Pei/PeiLib/PeiLib_Edk2.inf.

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

15 years agoMake EfiRuntimeLib pass GCC.
qwang12 [Sat, 23 Aug 2008 09:55:39 +0000 (09:55 +0000)]
Make EfiRuntimeLib pass GCC.

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

15 years agoFix a bug in UefiDefaultsToFwDefaults NULL should be returned if no Variable pack...
qwang12 [Sat, 23 Aug 2008 09:37:32 +0000 (09:37 +0000)]
Fix a bug in UefiDefaultsToFwDefaults NULL should be returned if no Variable pack is found.

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

15 years ago1) Cleanup for GCC and ICC tool-chain.
qwang12 [Sat, 23 Aug 2008 09:31:51 +0000 (09:31 +0000)]
1) Cleanup for GCC and ICC tool-chain.

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

15 years ago1) Make EfiCpuVersion.c pass ICC and GCC tool-chain
qwang12 [Sat, 23 Aug 2008 08:38:20 +0000 (08:38 +0000)]
1) Make EfiCpuVersion.c pass ICC and GCC tool-chain
2) Add in CpuIA32Lib_Edk2.inf.

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

15 years ago1) add in CpuIA32Lib_Edk2.inf to allow CpuIa32 to be built under GCC tool-chain.
qwang12 [Sat, 23 Aug 2008 07:36:54 +0000 (07:36 +0000)]
1) add in CpuIA32Lib_Edk2.inf to allow CpuIa32 to be built under GCC tool-chain.

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

15 years agoAdd in _Edk2.inf so that library can be build by GCC and ICC tool-chain.
qwang12 [Sat, 23 Aug 2008 07:09:04 +0000 (07:09 +0000)]
Add in _Edk2.inf so that library can be build by GCC and ICC tool-chain.

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

15 years ago1) add in EfiCommonLib_Edk2.inf which will allow EfiCommonLib to build understand...
qwang12 [Sat, 23 Aug 2008 06:48:07 +0000 (06:48 +0000)]
1) add in EfiCommonLib_Edk2.inf which will allow EfiCommonLib to build understand GCC and ICC tool-chain.
2) Add in 3 .asm files for ICC tool-chain.

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

15 years agoUse correct link list traverse functions.
qwang12 [Fri, 22 Aug 2008 14:54:26 +0000 (14:54 +0000)]
Use correct link list traverse functions.

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

15 years ago1) Add in ASSERT conditions
qwang12 [Fri, 22 Aug 2008 13:44:57 +0000 (13:44 +0000)]
1) Add in ASSERT conditions
2) Add GUID and Library Class in INF file.

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

15 years ago1) Update comments for API in DxePiLib.h
qwang12 [Fri, 22 Aug 2008 09:09:24 +0000 (09:09 +0000)]
1) Update comments for API in DxePiLib.h
2) Fix a bug that SectionInstance is not referenced in the function GetSectionFromFv
3) Some minor cleanup.

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

15 years agoUpdate Hob Instance to remove the unused InternalHobLib.h file.
lgao4 [Fri, 22 Aug 2008 07:06:49 +0000 (07:06 +0000)]
Update Hob Instance to remove the unused InternalHobLib.h file.

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

15 years agoFix a minor GUID format issue.
qhuang8 [Fri, 22 Aug 2008 04:26:19 +0000 (04:26 +0000)]
Fix a minor GUID format issue.

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

15 years agoFix ICC build error for the inconsistent PeiService pointer date type.
lgao4 [Thu, 21 Aug 2008 14:23:20 +0000 (14:23 +0000)]
Fix ICC build error for the inconsistent PeiService pointer date type.

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

15 years agoMinor change to remove /GL- option unsupported by ICC tool chain.
lgao4 [Thu, 21 Aug 2008 13:23:12 +0000 (13:23 +0000)]
Minor change to remove /GL- option unsupported by ICC tool chain.

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

15 years agoUpdate GenSec to handle the input file whose size is Zero. And add the unified ASL...
lgao4 [Thu, 21 Aug 2008 13:11:01 +0000 (13:11 +0000)]
Update GenSec to handle the input file whose size is Zero. And add the unified ASL tool path and flags for ASL code.

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

15 years ago1) Add in support to get only VarStoreId = 1 from Multiple VarStores.
qwang12 [Thu, 21 Aug 2008 07:56:01 +0000 (07:56 +0000)]
1) Add in support to get only VarStoreId = 1 from Multiple VarStores.
2) Remove ThunkIfrSupportLib.h
3) Update some comments.
4) Add GetAttributesOfFirstFormSet to scan form package to read formset title, class info.
5) Clean up function related to package registration code.
6) Clean up RemovePackNotify

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

15 years agoAdd compatibility logic to handle framework fvhob and install FvInfo ppi. And remove...
lgao4 [Thu, 21 Aug 2008 07:51:03 +0000 (07:51 +0000)]
Add compatibility logic to handle framework fvhob and install FvInfo ppi. And remove the unused Pcd from MdeModulePkg.dec.

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

15 years agoremove unnecessary IN OUT.
vanjeff [Thu, 21 Aug 2008 03:08:04 +0000 (03:08 +0000)]
remove unnecessary IN OUT.

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

15 years ago1) Add GetAttributesOfFirstFormSet to scan form package to read formset title, class...
qwang12 [Thu, 21 Aug 2008 02:33:00 +0000 (02:33 +0000)]
1) Add GetAttributesOfFirstFormSet to scan form package to read formset title, class info.
2) Clean up function related to package registration code.

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

15 years agoedk2/MdePkg/Library/BaseLib/BaseLib.inf:
jljusten [Wed, 20 Aug 2008 22:19:25 +0000 (22:19 +0000)]
edk2/MdePkg/Library/BaseLib/BaseLib.inf:
edk2/MdePkg/Library/BaseLib/Ipf/AsmCpuMisc.s:
* Add GCC IPF implementation of CpuBreakpoint, MemoryFence,
  DisableInterrupts, EnableInterrupts, and EnableDisableInterrupts.
  (Thanks Vara!)

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

15 years ago1) Add in fix to handle the case when a form is not related to a buffer storage.
qwang12 [Wed, 20 Aug 2008 14:17:24 +0000 (14:17 +0000)]
1) Add in fix to handle the case when a form is not related to a buffer storage.
2) Allocate Hii Handle from a bitfield array so Framework Hii Handle can be recycled.

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

15 years agoUpdate some module INF files in IntelFrameworkModulePkg to UEFI_DRIVER
qhuang8 [Wed, 20 Aug 2008 10:00:50 +0000 (10:00 +0000)]
Update some module INF files in IntelFrameworkModulePkg to UEFI_DRIVER

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

15 years agoUpdate the module type to be UEFI_DRIVER since it follow UEFI driver model
qhuang8 [Wed, 20 Aug 2008 09:55:04 +0000 (09:55 +0000)]
Update the module type to be UEFI_DRIVER since it follow UEFI driver model

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

15 years agoRemove the global variable of gDxeCoreBS and uses the gBS in UefiBootServicesTableLib...
qhuang8 [Wed, 20 Aug 2008 09:41:53 +0000 (09:41 +0000)]
Remove the global variable of gDxeCoreBS and uses the gBS in UefiBootServicesTableLib for DXE Core.

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

15 years agoRemove allocate aligned pool services.
qhuang8 [Wed, 20 Aug 2008 09:39:43 +0000 (09:39 +0000)]
Remove allocate aligned pool services.

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

15 years agoRemove the duplicated comments for function header.
lgao4 [Wed, 20 Aug 2008 09:19:54 +0000 (09:19 +0000)]
Remove the duplicated comments for function header.

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

15 years agoCleanup Cpu library class and CpuLib instance and BaseLib instance; and add comments...
lgao4 [Wed, 20 Aug 2008 09:15:34 +0000 (09:15 +0000)]
Cleanup Cpu library class and CpuLib instance and BaseLib instance; and add comments for the confused logic in IfrSupportLib instance.

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

15 years agoAdd missing library instance to MdePkg.dsc
klu2 [Wed, 20 Aug 2008 04:58:29 +0000 (04:58 +0000)]
Add missing library instance to MdePkg.dsc

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

15 years agoMisuse protocol and guid
klu2 [Wed, 20 Aug 2008 04:29:05 +0000 (04:29 +0000)]
Misuse protocol and guid

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

15 years agoMisuse protocol and guid
klu2 [Wed, 20 Aug 2008 04:20:26 +0000 (04:20 +0000)]
Misuse protocol and guid

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

15 years agoMisuse protocol and guid
klu2 [Wed, 20 Aug 2008 04:18:32 +0000 (04:18 +0000)]
Misuse protocol and guid

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

15 years ago1) Add in code to sync Browser Data with the NvMapOverride that may be updated by...
qwang12 [Tue, 19 Aug 2008 10:44:50 +0000 (10:44 +0000)]
1) Add in code to sync Browser Data with the NvMapOverride that may be updated by Framework Callback.
2) Convert lang code to RFC3066 format in Framework HII's GetSring and NewString
3) Make sure the default ThunkExtractConfig is able to save the data even if it is not present initially.
4) Enable Framework HII's HiiGetGlyph and HiiGlyphToBlt.

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

15 years agoFixed a case error in referencing DxeNt32PeCoffLib.inf.
ywang [Mon, 18 Aug 2008 18:00:26 +0000 (18:00 +0000)]
Fixed a case error in referencing DxeNt32PeCoffLib.inf.

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

15 years agoCode Clean up for IfrSupportLib, HiiLib, PeiExtractGuidedSectionLib and DxeExtractGui...
lgao4 [Mon, 18 Aug 2008 12:11:37 +0000 (12:11 +0000)]
Code Clean up for IfrSupportLib, HiiLib, PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib,

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

15 years agoRetire GenBin directory since we have created EdkShellPkg and its own DSC file to...
qhuang8 [Mon, 18 Aug 2008 11:11:50 +0000 (11:11 +0000)]
Retire GenBin directory since we have created EdkShellPkg and its own DSC file to generate Shell binaries in this  package.

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

15 years agoUpdate ReadMe.txt for the new EdkShellPkg.
qhuang8 [Mon, 18 Aug 2008 11:10:45 +0000 (11:10 +0000)]
Update ReadMe.txt for the new EdkShellPkg.

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

15 years agoAdd a readme.txt file as a brief introduction to this new package.
qhuang8 [Mon, 18 Aug 2008 11:09:49 +0000 (11:09 +0000)]
Add a readme.txt file as a brief introduction to this new package.

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

15 years agoUpdate Shell binaries to integrate a fix to solve "CHAR8" compatibility issue in...
qhuang8 [Mon, 18 Aug 2008 10:57:06 +0000 (10:57 +0000)]
Update Shell binaries to integrate a fix to solve "CHAR8" compatibility issue in DmpStore command.

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

15 years agoAdd a Shell Hot Fix patch to solve RFC3066 language compatibility issue and "CHAR8...
qhuang8 [Mon, 18 Aug 2008 10:50:04 +0000 (10:50 +0000)]
Add a Shell Hot Fix patch to solve RFC3066 language compatibility issue and "CHAR8" compatibility issue (EDK define CHAR8 as "unsigned char" while ECP choose to use "signed char")

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

15 years agoAdd dependency of gEfiDpcProtocolGuid for these two library instances since they...
qhuang8 [Mon, 18 Aug 2008 09:26:33 +0000 (09:26 +0000)]
Add dependency of gEfiDpcProtocolGuid for these two library instances since they retrieve these two protocols at the library constructors.

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

15 years agoAdd Pcd Protocol in [Depex] section and add back the constructor since PCD protocol...
qhuang8 [Mon, 18 Aug 2008 09:24:07 +0000 (09:24 +0000)]
Add Pcd Protocol in [Depex] section and add back the constructor since PCD protocol must have been available when the entrypoint is executed.

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

15 years agoAdd Pcd Ppi dependency in [depex] section in PeiPcdLib
qhuang8 [Mon, 18 Aug 2008 09:22:36 +0000 (09:22 +0000)]
Add Pcd Ppi dependency in [depex] section in PeiPcdLib

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

15 years agoAdd comments for some language related PCDs in MdePkg
qhuang8 [Mon, 18 Aug 2008 09:21:47 +0000 (09:21 +0000)]
Add comments for some language related PCDs in MdePkg

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

15 years agoAdd library instance for UEFI_DRIVER
qhuang8 [Mon, 18 Aug 2008 09:19:13 +0000 (09:19 +0000)]
Add library instance for UEFI_DRIVER

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

15 years agoUpdate some module INF files in MdeModulePkg to "UEFI_DRIVER"
qhuang8 [Mon, 18 Aug 2008 09:18:44 +0000 (09:18 +0000)]
Update some module INF files in MdeModulePkg to "UEFI_DRIVER"

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

15 years agoAdd EDK II DSC file to build validate EDK Shell source and ECP. It can also generate...
qhuang8 [Mon, 18 Aug 2008 09:08:50 +0000 (09:08 +0000)]
Add EDK II DSC file to build validate EDK Shell source and ECP. It can also generate EDK Shell Binaries in EdkShellBinPkg.

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

15 years agoAdd Extern reference to EDK Shell Project.
qhuang8 [Mon, 18 Aug 2008 09:03:04 +0000 (09:03 +0000)]
Add Extern reference to EDK Shell Project.

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

15 years agoCreate EDK style EdkShellPkg
qhuang8 [Mon, 18 Aug 2008 08:51:56 +0000 (08:51 +0000)]
Create EDK style EdkShellPkg

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

15 years agoAdd GLOBAL_REMOVE_IF_UNREFERENCED modifier in the array and change the protocol UI...
qhuang8 [Mon, 18 Aug 2008 08:40:52 +0000 (08:40 +0000)]
Add GLOBAL_REMOVE_IF_UNREFERENCED modifier in the array and change the protocol UI strings to ASCII string since they are only for debug purpose.

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

15 years agoRemove a duplicated definition.
qwang12 [Mon, 18 Aug 2008 08:40:37 +0000 (08:40 +0000)]
Remove a duplicated definition.

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

15 years agoRemove an unreferenced field in PROTOCOL_INTERFACE data structure.
qhuang8 [Mon, 18 Aug 2008 08:39:05 +0000 (08:39 +0000)]
Remove an unreferenced field in PROTOCOL_INTERFACE data structure.

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

15 years agoRe-integrate patch in r5626~r5628:Enhance PeiCore dispatcher and fix a bug in the...
qhuang8 [Mon, 18 Aug 2008 08:38:00 +0000 (08:38 +0000)]
Re-integrate patch in r5626~r5628:Enhance PeiCore dispatcher and fix a bug in the patch.

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

15 years agoAdd TRUE to the depex.
qwang12 [Mon, 18 Aug 2008 08:22:05 +0000 (08:22 +0000)]
Add TRUE to the depex.

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

15 years agoAdd the support of GUID opcode which enable SetupBrowser to support IFR generated...
qwang12 [Mon, 18 Aug 2008 08:16:40 +0000 (08:16 +0000)]
Add the support of GUID opcode which enable SetupBrowser to support IFR generated by a VFR compiler in Framework VFR compatible mode.

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

15 years agoAdd a PCD which enable SetupBrowser to support IFR generated by a VFR compiler in...
qwang12 [Mon, 18 Aug 2008 08:12:32 +0000 (08:12 +0000)]
Add a PCD which enable SetupBrowser to support IFR generated by a VFR compiler in Framework VFR compatible mode.

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

15 years agoAdd the support of GUID opcode which enable SetupBrowser to support IFR generated...
qwang12 [Mon, 18 Aug 2008 08:10:33 +0000 (08:10 +0000)]
Add the support of GUID opcode which enable SetupBrowser to support IFR generated by a VFR compiler in Framework VFR compatible mode.

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

15 years agoMerge in [EDK 1166]: Form title is not displayed by Setup Browser
qwang12 [Mon, 18 Aug 2008 07:57:01 +0000 (07:57 +0000)]
Merge in [EDK 1166]:  Form title is not displayed by Setup Browser

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

15 years agoAdd IfrLibCreatePopUp2 and HiiLibExportPackageLists.
qwang12 [Mon, 18 Aug 2008 07:47:51 +0000 (07:47 +0000)]
Add IfrLibCreatePopUp2 and HiiLibExportPackageLists.

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

15 years agoAdd missing library class.
klu2 [Mon, 18 Aug 2008 07:38:14 +0000 (07:38 +0000)]
Add missing library class.

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

15 years agoAdd CpuDeadLoop() for PeiCore entry, that means PeiCore should not return.
klu2 [Mon, 18 Aug 2008 07:32:34 +0000 (07:32 +0000)]
Add CpuDeadLoop() for PeiCore entry, that means PeiCore should not return.

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

15 years agoRemove msa file and add more comments for DXE core entry
klu2 [Mon, 18 Aug 2008 07:20:14 +0000 (07:20 +0000)]
Remove msa file and add more comments for DXE core entry

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

15 years agoBug fixes for FrameworkHiiToUefiHiiThunk;
qwang12 [Mon, 18 Aug 2008 05:56:23 +0000 (05:56 +0000)]
Bug fixes for FrameworkHiiToUefiHiiThunk;

1) Update variable name to better names.
2) Change List Entry in all data structure to "Link".
3) Update to use proper list manipulation functions in BaseLib.
4) Add in more comments and clean up HiiNewString.
5) Clean up for HiiNewPack, HiiRemovePack and the notify functions.
6) Create better name such as GetPackageCount and AssignFrameworkHiiHandle
7) Clean up the InitializeHiiDatabase entry point.
8) Remove the confusing data field in the HII_THUNK_ENTRY HiiDatabase.h.
9) Add in cleanup code for DestoryThunkContext
10) Add in code to handle the save of browser data after invoke callback
11) Map the UEFI One Of Option code to Framework One Of Option code before calling Framework Callback.
12) Add in CreatePopUp support.
13) Add in SendForm support.
14) HiiGetPrimaryLanguages and HiiGetSecondaryLanguages should support language code in RFC639 format from Caller. Then, they should conver them to 3066 format before calling UEFI HII interfaces.
15) Make ResetStrings a NOP.
16) Remove the unnecessary dependency.

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

15 years agorefine code.
klu2 [Mon, 18 Aug 2008 05:48:39 +0000 (05:48 +0000)]
refine code.

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