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
PrePeiCore
PrePi
Scripts
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