mirror_edk2.git
12 years agofixed to build under IPF.
jcarsey [Mon, 11 May 2009 18:02:16 +0000 (18:02 +0000)]
fixed to build under IPF.
Refactored some commands into FileHandleLib since they are used in many binaries.
Added .h for GUID that was missing.
Added PCD for initialization of shell apps and shell itself in shell library interaction.

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

12 years agoAdd conformance check for OldBuffer and size even if the memory allocation fails.
qhuang8 [Mon, 11 May 2009 08:23:26 +0000 (08:23 +0000)]
Add conformance check for OldBuffer and size even if the memory allocation fails.

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

12 years agoAdd more validation for input parameters.
klu2 [Mon, 11 May 2009 07:44:55 +0000 (07:44 +0000)]
Add more validation for input parameters.

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

12 years agofix the typo in DxeCore
eric_tian [Mon, 11 May 2009 07:28:44 +0000 (07:28 +0000)]
fix the typo in DxeCore

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

12 years agoFix minor coding style issue for ScsiReadCapacity16Command() API in UefiScsiLib
qhuang8 [Mon, 11 May 2009 07:22:49 +0000 (07:22 +0000)]
Fix minor coding style issue for ScsiReadCapacity16Command() API in UefiScsiLib

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

12 years agoAdd warning message that tool chain tag will be ignored if user provide output direct...
klu2 [Mon, 11 May 2009 07:04:28 +0000 (07:04 +0000)]
Add warning message that tool chain tag will be ignored if user provide output directory from command line explicitly.

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

12 years agoIn PrintXY() and AsciiPrintXY(), the number of chartacter returned is at most PcdUefi...
eric_tian [Mon, 11 May 2009 06:58:28 +0000 (06:58 +0000)]
In PrintXY() and AsciiPrintXY(), the number of chartacter returned is at most PcdUefiLibMaxPrintBufferSize, and will return the number of characters actually displayed on the screen not includng partial characters that may be clipped by the right edge of the display.

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

12 years agoAdd Fv name checking for build.exe if user gives FV name from command line. originall...
klu2 [Mon, 11 May 2009 05:37:56 +0000 (05:37 +0000)]
Add Fv name checking for build.exe if user gives FV name from command line. originally, this checking is only done by GenFds tool, that is too later.

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

12 years agoFix bug that trim crash when no parameter is input.
klu2 [Mon, 11 May 2009 03:18:42 +0000 (03:18 +0000)]
Fix bug that trim crash when no parameter is input.

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

12 years agoRemove -c option for GenFds tool because it does not defined in build specification.
klu2 [Mon, 11 May 2009 03:01:05 +0000 (03:01 +0000)]
Remove -c option for GenFds tool because it does not defined in build specification.

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

12 years agoUpdate TargetTools for add set/get/clean BUILD_RULE_CONF option for target.txt file.
klu2 [Mon, 11 May 2009 02:34:33 +0000 (02:34 +0000)]
Update TargetTools for add set/get/clean BUILD_RULE_CONF option for target.txt file.

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

12 years agoConfigRouting should get driver handle by device path in all drivers database in...
vanjeff [Mon, 11 May 2009 02:26:26 +0000 (02:26 +0000)]
ConfigRouting should get driver handle by device path in all drivers database in system, not only in Hii Package list database.

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

12 years agoadd the extra comments into BasePeCoffRelocateImage, BasePeCoffLoadImage and BasePeCo...
eric_tian [Mon, 11 May 2009 01:32:17 +0000 (01:32 +0000)]
add the extra comments into BasePeCoffRelocateImage, BasePeCoffLoadImage and BasePeCoffRelocateImageForRuntime to help user to know the usage model of these APIs.
The comments mainly used to clarify it's caller's responsibility to to perform cache maintenance operations

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

12 years agoUpdate GCC version of VAR_ARG () to be compatible with non GCC version of VAR_ARG...
mdkinney [Sun, 10 May 2009 19:44:21 +0000 (19:44 +0000)]
Update GCC version of VAR_ARG () to be compatible with non GCC version of VAR_ARG () so it handles TYPE parameters that are smaller than UINTN properly when GCC builtins are used for vararg parsing.

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

12 years agoFix ICC build break properly
mdkinney [Sun, 10 May 2009 18:35:35 +0000 (18:35 +0000)]
Fix ICC build break properly
Update set of module types to include DXE_SMM and DXERUNTIME

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

12 years agoFix ICC build break
mdkinney [Sat, 9 May 2009 18:09:41 +0000 (18:09 +0000)]
Fix ICC build break

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

12 years agoClarify BuildCvHob() API in HobLib to state that this function will ASSERT() if the...
mdkinney [Sat, 9 May 2009 01:48:15 +0000 (01:48 +0000)]
Clarify BuildCvHob() API in HobLib to state that this function will ASSERT() if the platform does not support Capsule Volume HOBs.  This allows PI implementations to ASSERT() and Framework implementations to provide a full implementation of this API.

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

12 years agoClarify BuildCvHob() API in HobLib to state that this function will ASSERT() if the...
mdkinney [Sat, 9 May 2009 01:47:49 +0000 (01:47 +0000)]
Clarify BuildCvHob() API in HobLib to state that this function will ASSERT() if the platform does not support Capsule Volume HOBs.  This allows PI implementations to ASSERT() and Framework implementations to provide a full implementation of this API.

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

12 years agoUpdate function header description of ScsiReadCapacity16Command() in the UEFI Scsi...
mdkinney [Sat, 9 May 2009 01:31:20 +0000 (01:31 +0000)]
Update function header description of ScsiReadCapacity16Command() in the UEFI Scsi Library

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

12 years agoUpdate comments in PeiMemoryAllocationLib and UefiMemoryAllocationLib to match update...
mdkinney [Sat, 9 May 2009 01:14:10 +0000 (01:14 +0000)]
Update comments in PeiMemoryAllocationLib and UefiMemoryAllocationLib to match updates to MemoryAllocationLib.h.

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

12 years agoClarify that FreePages(), FreeAlignedPages(), and FreePool() may perform n actions...
mdkinney [Sat, 9 May 2009 01:13:40 +0000 (01:13 +0000)]
Clarify that FreePages(), FreeAlignedPages(), and FreePool() may perform n actions if those operations are not possible.  For example, the PEI Phase does not provide any services to free allocated pages or allocated pool memory.

Update comments in PeiMemoryAllocationLib and UefiMemoryAllocationLib to match updates to MemoryAllocationLib.h.

Add ASSERT() statements in PeiMemoryAllocationLib for the FreePages() and FreeAlignedPages() if Pages is 0.

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

12 years agoSync with PE/COFF Extra Action library class comments and add ASSERT() conditions...
mdkinney [Sat, 9 May 2009 00:51:14 +0000 (00:51 +0000)]
Sync with PE/COFF Extra Action library class comments and add ASSERT() conditions if ImageContext is NULL.

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

12 years agoSync with PE/COFF Extra Action library class comments and add ASSERT() conditions...
mdkinney [Sat, 9 May 2009 00:50:40 +0000 (00:50 +0000)]
Sync with PE/COFF Extra Action library class comments and add ASSERT() conditions if ImageContext is NULL.

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

12 years ago1) Clarify file and function header comments for the PE/COFF Extra Action library...
mdkinney [Sat, 9 May 2009 00:45:25 +0000 (00:45 +0000)]
1) Clarify file and function header comments for the PE/COFF Extra Action library class
2) Update the file and function header comments in the BasePeCoffExtraActionLibNull
3) Add ASSERT() statements to APIs in BasePeCoffExtraActionLibNull is ImageContext is NULL.

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

12 years agoClarify clipping behavior of PrintXY() and AsciiPrintXY().
mdkinney [Fri, 8 May 2009 23:48:32 +0000 (23:48 +0000)]
Clarify clipping behavior of PrintXY() and AsciiPrintXY().

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

12 years agoFix bug in Reallocate Pool functions in DXE Core Memory Allocation Lib. The wrong...
mdkinney [Fri, 8 May 2009 22:10:26 +0000 (22:10 +0000)]
Fix bug in Reallocate Pool functions in DXE Core Memory Allocation Lib.  The wrong memory type was being allocated.  This syncs the DXE Core Memory Allocation Lib with the fix that was previously made to the UEFI Memory Allocation Lib.

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

12 years agoClarify ASSERT() conditions for Reallocate Pool functions.
mdkinney [Fri, 8 May 2009 22:09:40 +0000 (22:09 +0000)]
Clarify ASSERT() conditions for Reallocate Pool functions.

Fix bug in Reallocate Pool functions in PEI Memory Allocation Lib.  The wrong memory type was being allocated.  This syncs the PEI Memory Allocation Lib with the fix that was previously made to the UEFI Memory Allocation Lib.

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

12 years agoClean up comment
mdkinney [Fri, 8 May 2009 22:07:42 +0000 (22:07 +0000)]
Clean up comment

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

12 years ago1. Assign BDS timeout PCD value.
vanjeff [Fri, 8 May 2009 07:51:03 +0000 (07:51 +0000)]
1. Assign BDS timeout PCD value.
2. Sync SetupVariableInit in Unix Platform.

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

12 years agoSetMode() should clear screen per UEFI spec.
vanjeff [Fri, 8 May 2009 07:46:27 +0000 (07:46 +0000)]
SetMode() should clear screen per UEFI spec.

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

12 years agoUpdate SetupBrowserDxe and BdsDxe to use an internal string for prompting string...
rsun3 [Fri, 8 May 2009 05:55:25 +0000 (05:55 +0000)]
Update SetupBrowserDxe and BdsDxe to use an internal string for prompting string missing instead of ASSERT if it fails to get a string for separate module's forms.

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

12 years agoUpdate HiiDataBase driver to use GetBestLanguage() for matching RFC 4646 languages.
rsun3 [Fri, 8 May 2009 05:39:24 +0000 (05:39 +0000)]
Update HiiDataBase driver to use GetBestLanguage() for matching RFC 4646 languages.

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

12 years agoFix bugs in StrStr() and AsciiStrStr().
rsun3 [Fri, 8 May 2009 05:22:17 +0000 (05:22 +0000)]
Fix bugs in StrStr() and AsciiStrStr().

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

12 years agoThe GCC compiler’s behavior is different than the Microsoft compilers for statically...
eric_tian [Fri, 8 May 2009 02:27:46 +0000 (02:27 +0000)]
The GCC compiler’s behavior is different than the Microsoft compilers for statically linked vararg functions. The GCC compilers do provide __builtin_ functions for accessing varargs. we should use these intrinsic functions with GCC

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

12 years agoRefine language conversion in ECP. Create a new library LanguageLib providing functio...
rsun3 [Fri, 8 May 2009 01:51:35 +0000 (01:51 +0000)]
Refine language conversion in ECP. Create a new library LanguageLib providing functions for language conversion between ISO 639-2 and RFC 4646 styles. Update FrameworkHiiOnUefiHiiThunk, UcOnUc2Thunk and Uc2OnUcThunk modules to use this library.

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

12 years agoRemove the duplicated EdidActive.h & EdidDiscovery.h in DuetPkg. MdePkg has already...
qhuang8 [Fri, 8 May 2009 01:23:49 +0000 (01:23 +0000)]
Remove the duplicated EdidActive.h & EdidDiscovery.h in DuetPkg. MdePkg has already defined these two files with the exactly same contents.

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

12 years agoFirst (Alpha) release of ShellPkg
jcarsey [Thu, 7 May 2009 18:46:18 +0000 (18:46 +0000)]
First (Alpha) release of ShellPkg

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

12 years agoRefine code for OemHookStatusCodeLibNull.
xli24 [Thu, 7 May 2009 08:51:16 +0000 (08:51 +0000)]
Refine code for OemHookStatusCodeLibNull.

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

12 years agoFix DEC issue for MdeModulePkg:
klu2 [Thu, 7 May 2009 02:46:03 +0000 (02:46 +0000)]
Fix DEC issue for MdeModulePkg:
1, Remove unused library class NewHiiLib
2, Use relative path for library class UefiHiiServicesLib

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

12 years agoDelete useless files.
gikidy [Wed, 6 May 2009 09:46:04 +0000 (09:46 +0000)]
Delete useless files.

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

12 years agoRemove -Os for UNIXGCC CC FLAGS to reduce size.
gikidy [Wed, 6 May 2009 09:40:50 +0000 (09:40 +0000)]
Remove -Os for UNIXGCC CC FLAGS to reduce size.

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

12 years ago1. Open USB related and logo support FVs, remove some useless FVs.
gikidy [Wed, 6 May 2009 09:03:11 +0000 (09:03 +0000)]
1. Open USB related and logo support FVs, remove some useless FVs.
2. Update PostBuild.sh for LZMA support under Linux.

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

12 years agoSynchronize PCD_Infrastructure 0.55 with source code.
klu2 [Wed, 6 May 2009 06:18:49 +0000 (06:18 +0000)]
Synchronize PCD_Infrastructure 0.55 with source code.

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

12 years agoSynchronize PCD_Infrastructure 0.55 with source code.
klu2 [Wed, 6 May 2009 06:18:16 +0000 (06:18 +0000)]
Synchronize PCD_Infrastructure 0.55 with source code.

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

12 years agoRemove duplicated PcdDebugPrintErrorLevel definition on same FixedAtBuild PCD type...
klu2 [Wed, 6 May 2009 04:28:59 +0000 (04:28 +0000)]
Remove duplicated PcdDebugPrintErrorLevel definition on same FixedAtBuild PCD type with different default value.

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

12 years agofix the wrong data length. According to spec, to get interface and configuration...
eric_tian [Wed, 6 May 2009 04:26:30 +0000 (04:26 +0000)]
fix the wrong data length. According to spec, to get interface and configuration descriptors, should pass 1 as data length.

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

12 years agoPorted LZMA to DUET platform.
gikidy [Wed, 6 May 2009 03:44:47 +0000 (03:44 +0000)]
Ported LZMA to DUET platform.

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

12 years agocorrect the minor format.
lgao4 [Wed, 6 May 2009 03:21:24 +0000 (03:21 +0000)]
correct the minor format.

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

12 years agoUpdate BasePeCoff to Initialize the debug field to zero.
lgao4 [Wed, 6 May 2009 03:17:45 +0000 (03:17 +0000)]
Update BasePeCoff to Initialize the debug field to zero.

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

12 years agoRemove usage of MemoryAllocationLib, and use a simplistic allocation
jljusten [Tue, 5 May 2009 19:46:28 +0000 (19:46 +0000)]
Remove usage of MemoryAllocationLib, and use a simplistic allocation
routine which makes use of the decompression scratch buffer.

This resolves a potential issue where the usage of the LZMA library
in the PEI phase may not have enough memory for the AllocatePool
function call.  (Some platforms may be extremely constrained in
heap space for the PEI phase.)

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

12 years agoAdd the optional EfiRom CodeRevision option.
lgao4 [Tue, 5 May 2009 07:31:56 +0000 (07:31 +0000)]
Add the optional EfiRom CodeRevision option.

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

12 years agoUpdate EfiRom to handle ClassCode and CodeRevision options correctly.
lgao4 [Tue, 5 May 2009 07:30:35 +0000 (07:30 +0000)]
Update EfiRom to handle ClassCode and CodeRevision options correctly.

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

12 years agoGenFds change efirom command line option from '-I' to '-l'.
jlin16 [Tue, 5 May 2009 06:26:45 +0000 (06:26 +0000)]
GenFds change efirom command line option from '-I' to '-l'.

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

12 years agoAdd SMM_DRIVER and SMM_CORE support
jwang36 [Tue, 5 May 2009 06:01:17 +0000 (06:01 +0000)]
Add SMM_DRIVER and SMM_CORE support

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

12 years agoGenFds add option ROM parameters override of those in INF file.
jlin16 [Tue, 5 May 2009 05:26:26 +0000 (05:26 +0000)]
GenFds add option ROM parameters override of those in INF file.

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

12 years agoMerge PEI & DXE LzmaCustomDecompressLib. A previous implementation
jljusten [Mon, 4 May 2009 20:00:04 +0000 (20:00 +0000)]
Merge PEI & DXE LzmaCustomDecompressLib.  A previous implementation
was causing the LZMA decompression code to request a large buffer,
which caused an ASSERT to fail for PEI's AllocatePool.  The
current implementation, which uses the LzmaDecode function, does
not have this issue and therefore both the PEI & DXE versions can
use AllocatePool/FreePool.

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

12 years agoFix a bug in UefiHiiLib. The size for allocating a buffer is StrSize instead of StrLen.
rsun3 [Mon, 4 May 2009 08:51:40 +0000 (08:51 +0000)]
Fix a bug in UefiHiiLib. The size for allocating a buffer is StrSize instead of StrLen.

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

12 years agofix the typo
eric_tian [Mon, 4 May 2009 07:24:05 +0000 (07:24 +0000)]
fix the typo

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

12 years agoFix a bug that L"PlatformLang" must be a null-terminated ASCII string according to...
qhuang8 [Mon, 4 May 2009 05:56:36 +0000 (05:56 +0000)]
Fix a bug that L"PlatformLang" must be a null-terminated ASCII string according to UEFI spec.

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

12 years agoFix a bug that L"PlatformLang" must be a null-terminated ASCII string according to...
qhuang8 [Mon, 4 May 2009 05:55:56 +0000 (05:55 +0000)]
Fix a bug that L"PlatformLang" must be a null-terminated ASCII string according to UEFI spec.

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

12 years agoUpdate function comments for AsmPrepareThunk16, AsmThunk16, AsmPrepareAndThunk16...
klu2 [Mon, 4 May 2009 03:33:53 +0000 (03:33 +0000)]
Update function comments for AsmPrepareThunk16, AsmThunk16, AsmPrepareAndThunk16 interface. These interfaces could be used in either physical mode or virtual modes with paging enabled where virtual to physical mappings for ThunkContext.RealModeBuffer is mapped to 1:1

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

12 years agoAdd checking for ThunkAttribute to avoid THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL...
klu2 [Mon, 4 May 2009 03:00:08 +0000 (03:00 +0000)]
Add checking for ThunkAttribute to avoid THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL and THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 are set at same time.

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

12 years agoImplemented feature request hsd202262 and incorporated SMM support
jwang36 [Sun, 3 May 2009 06:40:59 +0000 (06:40 +0000)]
Implemented feature request hsd202262 and incorporated SMM support

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

12 years agoAdd WIN32 binary build of LzmaCompress. Add LzmaCompress to tools_def.template.
jljusten [Fri, 1 May 2009 06:45:01 +0000 (06:45 +0000)]
Add WIN32 binary build of LzmaCompress.  Add LzmaCompress to tools_def.template.

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

12 years agoAdd LzmaCustomDecompressLib based on the LZMA SDK 4.65 which was
jljusten [Fri, 1 May 2009 00:28:19 +0000 (00:28 +0000)]
Add LzmaCustomDecompressLib based on the LZMA SDK 4.65 which was
placed in the public domain on 2009-02-03. The LZMA SDK
4.65 was released at the http://www.7-zip.org/sdk.html
website.

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

12 years agoSync bug fix of Base Tools r1559.
qhuang8 [Thu, 30 Apr 2009 10:45:50 +0000 (10:45 +0000)]
Sync bug fix of Base Tools r1559.

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

12 years agoReview the comments to match Spec.
gikidy [Thu, 30 Apr 2009 09:26:15 +0000 (09:26 +0000)]
Review the comments to match Spec.

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

12 years agoCorrect HiiGetBrowserData API usage.
lgao4 [Thu, 30 Apr 2009 09:08:37 +0000 (09:08 +0000)]
Correct HiiGetBrowserData API usage.

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

12 years agoFix the bug that EnablePaging64() should assert() for x64 platform.
qhuang8 [Thu, 30 Apr 2009 07:17:52 +0000 (07:17 +0000)]
Fix the bug that EnablePaging64() should assert() for x64 platform.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 07:01:55 +0000 (07:01 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 07:00:27 +0000 (07:00 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 06:58:02 +0000 (06:58 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 06:50:16 +0000 (06:50 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 06:48:16 +0000 (06:48 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoHiiLib exports HiiCreateRawOpCode API
lgao4 [Thu, 30 Apr 2009 05:58:55 +0000 (05:58 +0000)]
HiiLib exports HiiCreateRawOpCode API

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

12 years agoHiiLib exports HiiCreateRawOpCode API
lgao4 [Thu, 30 Apr 2009 05:58:47 +0000 (05:58 +0000)]
HiiLib exports HiiCreateRawOpCode API

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 05:39:18 +0000 (05:39 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 05:37:31 +0000 (05:37 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 05:36:29 +0000 (05:36 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 05:32:11 +0000 (05:32 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoReplace references to RFC 3066 with RFC 4646.
gikidy [Thu, 30 Apr 2009 05:30:35 +0000 (05:30 +0000)]
Replace references to RFC 3066 with RFC 4646.

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

12 years agoUpdate BasePeCoffLib comments to specify this library support scope.
lgao4 [Thu, 30 Apr 2009 05:18:43 +0000 (05:18 +0000)]
Update BasePeCoffLib comments to specify this library support scope.

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

12 years agoupdate to pass GCC build as we replace VA_START with __builtin_va_start
eric_tian [Thu, 30 Apr 2009 04:29:27 +0000 (04:29 +0000)]
update to pass GCC build as we replace VA_START with __builtin_va_start

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

12 years agoUpdate IPF version BasePeCoffLib only supports IFP and EBC PeImage, doesn't support...
lgao4 [Thu, 30 Apr 2009 03:29:49 +0000 (03:29 +0000)]
Update IPF version BasePeCoffLib only supports IFP and EBC PeImage, doesn't support IA32 and X64 PeImage

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

12 years agoFix the bug that SetMem.S of BaseMemoryLibOptDxe is incorrect.
xli24 [Thu, 30 Apr 2009 02:59:35 +0000 (02:59 +0000)]
Fix the bug that SetMem.S of BaseMemoryLibOptDxe is incorrect.

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

12 years agoFix the bug in DxeRuntimePciExpressLib that behavior of GetPciExpressAddress() in...
xli24 [Thu, 30 Apr 2009 02:32:49 +0000 (02:32 +0000)]
Fix the bug in DxeRuntimePciExpressLib that behavior of GetPciExpressAddress() in virtual mode is not correct.

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

12 years agoAcquire & Release the lock from the high level variable service
jljusten [Wed, 29 Apr 2009 20:22:38 +0000 (20:22 +0000)]
Acquire & Release the lock from the high level variable service
routines similar to MdeModulePkg/Universal/Variable/RuntimeDxe.
When the Acquire was in the FindVariable routine, is was
being called by both EmuSetVariable and again in
AutoUpdateLangVariable, which caused an ASSERT to fail.

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

12 years agofixed 2 k8 issues.
vanjeff [Wed, 29 Apr 2009 08:57:19 +0000 (08:57 +0000)]
fixed 2 k8 issues.

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

12 years agofix ICC build warning
eric_tian [Wed, 29 Apr 2009 08:05:00 +0000 (08:05 +0000)]
fix ICC build warning

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

12 years agoAdd limitation clarification for usage of AsmPrepareThunk16(), AsmThunk16(), AsmPrepa...
klu2 [Wed, 29 Apr 2009 06:23:35 +0000 (06:23 +0000)]
Add limitation clarification for usage of AsmPrepareThunk16(), AsmThunk16(), AsmPrepareAndThunk16() interfaces that they are could only be used in physical mode but can not be used in virtual mode with paging.

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

12 years agoupdate the spec file name in header
tding1 [Wed, 29 Apr 2009 03:27:06 +0000 (03:27 +0000)]
update the spec file name in header

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

12 years agoupdate the header to point to Smm Cis v1.1 to cover the definition of MP API
tding1 [Wed, 29 Apr 2009 03:10:31 +0000 (03:10 +0000)]
update the header to point to Smm Cis v1.1 to cover the definition of MP API

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

12 years agoFix the bug that gEfiSalSystemTableGuid is missing in UefiPalLib.inf.
xli24 [Wed, 29 Apr 2009 03:01:50 +0000 (03:01 +0000)]
Fix the bug that gEfiSalSystemTableGuid is missing in UefiPalLib.inf.

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

12 years agoFix the bug that InternalReallocatePool() ignores the input parameter PoolType, and...
xli24 [Wed, 29 Apr 2009 02:52:37 +0000 (02:52 +0000)]
Fix the bug that InternalReallocatePool() ignores the input parameter PoolType, and does always allocates memory of type EfiBootServicesData.

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

12 years agoimprove platformlangcodes/langcodes and platformlang/lang autoupdate mechanism.
eric_tian [Wed, 29 Apr 2009 02:42:01 +0000 (02:42 +0000)]
improve platformlangcodes/langcodes and platformlang/lang autoupdate mechanism.

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

12 years agofixed ECC issues.
vanjeff [Tue, 28 Apr 2009 06:20:55 +0000 (06:20 +0000)]
fixed ECC issues.

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

12 years agoFix bug in variable driver about the incorrect usage for GetBestLanguage(), which...
qhuang8 [Tue, 28 Apr 2009 03:32:24 +0000 (03:32 +0000)]
Fix bug in variable driver about the incorrect usage for GetBestLanguage(), which expects the NULL to be the last var arg

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

12 years agoupdate
eric_tian [Tue, 28 Apr 2009 02:31:48 +0000 (02:31 +0000)]
update

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

12 years agoRemove unused ConvertRfc3066LanguageToIso639Language() in BdsDxe after the lanuage...
rsun3 [Tue, 28 Apr 2009 02:23:11 +0000 (02:23 +0000)]
Remove unused ConvertRfc3066LanguageToIso639Language() in BdsDxe after the lanuage codes variable auto-update mechanism was implemented.

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

12 years agoupdate to pass ICC build
eric_tian [Tue, 28 Apr 2009 01:46:32 +0000 (01:46 +0000)]
update to pass ICC build

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