audk/MdePkg/Include
Ard Biesheuvel 67b8f806d2 MdePkg/Base: introduce MAX_ALLOC_ADDRESS
On some architectures, the maximum representable address deviates from
the virtual address range that is accessible by the firmware at boot
time. For instance, on AArch64, UEFI mandates a 4 KB page size, which
limits the address space to 48 bits, while more than that may be
populated on a particular platform, for use by the OS.

So introduce a new macro MAX_ALLOC_ADDRESS, which represent the maximum
address the firmware should take into account when allocating memory
ranges that need to be accessible by the CPU at boot time.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-12-20 11:01:38 +01:00
..
AArch64 MdePkg/Base: introduce MAX_ALLOC_ADDRESS 2018-12-20 11:01:38 +01:00
Arm MdePkg/Base: introduce MAX_ALLOC_ADDRESS 2018-12-20 11:01:38 +01:00
Ebc MdePkg/Base: introduce MAX_ALLOC_ADDRESS 2018-12-20 11:01:38 +01:00
Guid MdePkg Cper.h: Add generic error macros for ARM platform 2018-08-15 09:34:48 -07:00
Ia32 MdePkg/Base: introduce MAX_ALLOC_ADDRESS 2018-12-20 11:01:38 +01:00
IndustryStandard MdePkg ACPI: fix the typos in Acpi61.h and Acpi62.h 2018-11-27 11:18:28 +08:00
Library MdePkg/BaseLib: Add new AsmLfence API 2018-09-30 13:06:42 +08:00
Pi MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
Ppi MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
Protocol MdePkg: Removing ipf which is no longer supported from edk2. 2018-09-25 23:48:21 +08:00
Uefi MdePkg: Removing ipf which is no longer supported from edk2. 2018-09-25 23:48:21 +08:00
X64 MdePkg/Base: introduce MAX_ALLOC_ADDRESS 2018-12-20 11:01:38 +01:00
Base.h MdePkg/Base.h: Implement BASE_CR() via OFFSET_OF(). 2018-11-02 22:15:54 +08:00
PiDxe.h MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
PiMm.h MdePkg: Add new definitions for Management Mode. 2017-08-29 09:37:36 +08:00
PiPei.h MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
PiSmm.h MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00
Uefi.h MdePkg: Clean up source files 2018-06-28 11:19:47 +08:00