audk/ArmPlatformPkg
Ard Biesheuvel 44d2e8d7ca ArmPlatformPkg/MemoryInitPeiLib: reserve rather than remove FV memory
Instead of completely removing the memory occupied by the primary PrePi
FV from the memory map, thereby making it inaccessible to the OS, mark
it as boot services data. This will ensure that the memory is left
untouched by the firmware, but will release it to the OS when it calls
ExitBootServices().

Note that for reasons that are not entirely clear, this only works as
desired if the memory allocation HOB and the resource descriptor HOB
that describe the region are identical in offset and size, and so we
still need to iterate over the descriptors and split them up.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-02-28 16:10:58 +00:00
..
Drivers ArmPlatformPkg: remove old PL111/HdLcd driver code 2017-12-12 17:40:16 +00:00
Include/Library ArmPlatformPkg: introduce LcdHwLib library class 2017-12-12 17:37:29 +00:00
Library ArmPlatformPkg: implement LcdHwLib for HdLcd 2017-12-12 17:40:12 +00:00
MemoryInitPei ArmPlatformPkg/MemoryInitPeiLib: reserve rather than remove FV memory 2018-02-28 16:10:58 +00:00
PlatformPei ArmPlatformPkg/PlatformPeim: allow PlatformPeiLib to set the boot mode 2017-11-05 16:19:00 +00:00
PrePeiCore ArmPlatformPkg/PrePeiCoreMPCore: use a unique GUID 2017-12-08 16:31:15 +00:00
PrePi ArmPlatformPkg/PrePi: remove bogus IntelFrameworkModulePkg reference 2017-11-30 17:08:42 +00:00
Scripts ArmPlatformPkg/DS-5: fix 64-bit PE/COFF header parsing bug 2016-04-18 10:18:14 +02:00
ArmPlatformPkg.dec ArmPlatformPkg: retire obsolete PCDs 2017-12-12 17:40:17 +00:00
ArmPlatformPkg.dsc ArmPlatformPkg: remove old PL111/HdLcd driver code 2017-12-12 17:40:16 +00:00