mirror of https://github.com/acidanthera/audk.git
ArmVirtPkg: apply PE/COFF memory protection to DxeCore as well
Include DXE_CORE in the BuildOptions that are set to force 4 KB section alignment for PE/COFF images in order to allow them to be mapped with strict memory permissions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
e7b24ec978
commit
cc8de57bce
|
@ -17,7 +17,7 @@
|
||||||
DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
|
DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
|
||||||
DEFINE TTY_TERMINAL = FALSE
|
DEFINE TTY_TERMINAL = FALSE
|
||||||
|
|
||||||
[BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
|
[BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
|
||||||
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
||||||
|
|
||||||
[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
|
[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
|
||||||
|
|
Loading…
Reference in New Issue