audk/EmbeddedPkg/Library/PrePiLib
Ard Biesheuvel 6ac97ad31e EmbeddedPkg/PrePiLib: allocate code pages for DxeCore
The recently introduced memory protection features inadvertently broke
the boot on all PrePi platforms, because the changes to explicitly use
EfiBootServicesCode for loading the DxeCore PE/COFF image need to be
applied in a different way for PrePi. So add a simple helper function
that sets the type of an allocation to EfiBootServicesCode, and invoke
it to allocate the space for DxeCore.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-03-14 20:08:31 +00:00
..
FwVol.c EmbeddedPkg/PrePiLib: Ensure the FFS files are always 8-byte aligned 2015-05-05 15:48:59 +00:00
PrePi.h EmbeddedPkg/PrePiLib: allocate code pages for DxeCore 2017-03-14 20:08:31 +00:00
PrePiLib.c EmbeddedPkg/PrePiLib: allocate code pages for DxeCore 2017-03-14 20:08:31 +00:00
PrePiLib.inf ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
ReportStatusCode.c ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00