]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/PeiCore: allocate BootServicesCode memory for PE/COFF images
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 23 Feb 2017 09:57:03 +0000 (09:57 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 28 Feb 2017 14:59:50 +0000 (14:59 +0000)
commita0ffd7a9ee575615ad5fd0777825b5362a16b49f
tree986f3cfd649b12f9bfb4505680dbb4b9e69af919
parent3b44bb552781777d55661d3c5750bc85c9c17150
MdeModulePkg/PeiCore: allocate BootServicesCode memory for PE/COFF images

Ensure that any memory allocated for PE/COFF images is identifiable as
a boot services code region, so that we know it requires its executable
permissions to be preserved when we tighten mapping permissions later on.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Core/Pei/Image/Image.c