audk/ArmPkg/Include
Olivier Martin d8dc9f0af5 ArmPkg: Fixed GetEnvironmentVariable() when the UEFI Variable did not exist
The function was allocating a buffer for the read value from the UEFI Variable.
But it was returning the pointer of the default value when the variable was
not present.
It could cause error when the default value and the returned value were free
when these addresses were the same (double FreePool on the same address).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15427 6f19259b-4bc3-4df7-8a09-765794883524
2014-04-02 17:32:29 +00:00
..
Chipset ArmPkg/ArmCortexA5x: Declared the helper functions to access the CPU Extended Control Register 2014-03-26 19:32:48 +00:00
Guid ArmPkg: Create MpCoreInfo PPI and HOB to describe CPU Cores on a MPCore platform 2011-09-22 23:14:01 +00:00
IndustryStandard ArmPkg/BdsLib: Replace ARM magic value by a proper defined value. 2013-04-14 09:30:46 +00:00
Library ArmPkg: Fixed GetEnvironmentVariable() when the UEFI Variable did not exist 2014-04-02 17:32:29 +00:00
Ppi ArmPkg/ArmMpCoreInfo.h: Fixed macro definition 2013-12-10 16:37:10 +00:00
Protocol EmbeddedPkg: Move Universal/MmcDxe from ArmPkg to EmbeddedPkg 2011-06-03 09:07:31 +00:00
AsmMacroIoLib.h ARM Packages: Replaced the macro GetCorePositionFromMpId() by the ArmPlatformGetCorePosition() 2013-05-10 12:46:11 +00:00
AsmMacroIoLib.inc ARM Packages: Replaced the macro GetCorePositionFromMpId() by the ArmPlatformGetCorePosition() 2013-05-10 12:46:11 +00:00
AsmMacroIoLibV8.h ArmPkg: Replace single dead loop. 2014-03-01 10:57:55 +00:00