]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: enforce arch-specific alignment for split regions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 2 Jul 2015 07:32:56 +0000 (07:32 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Thu, 2 Jul 2015 07:32:56 +0000 (07:32 +0000)
commit0255cfb89c1d61f7182cf1689e64ba40f2ad6764
treefef10824f5a21916c9c6ce526208a691b417137f
parentd2f87ac0576af7f8b67e2f0179c0c5786c6271b7
MdeModulePkg: enforce arch-specific alignment for split regions

The splitting of memory regions into code and data regions violates
architecture specific alignment rules by using a fixed alignment
of 4 KB. Replace it with EFI_ACPI_RUNTIME_PAGE_ALLOCATION_ALIGNMENT,
which is defined appropriately on each architecture.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: "Jaben Carsey" <jaben.carsey@intel.com>
Reviewed-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17812 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c