summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
364eed8)
AArch64 supports the use of more than 48 bits for physical and/or
virtual addressing, but only if the page size is set to 64 KB,
which is not supported by UEFI. So redefine MAX_ADDRESS to cover
only 48 address bits.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
#define MAX_2_BITS 0xC000000000000000ULL\r
\r
///\r
#define MAX_2_BITS 0xC000000000000000ULL\r
\r
///\r
-/// Maximum legal AARCH64 address\r
+/// Maximum legal AARCH64 address (48 bits for 4 KB page size)\r
-#define MAX_ADDRESS 0xFFFFFFFFFFFFFFFFULL\r
+#define MAX_ADDRESS 0xFFFFFFFFFFFFULL\r
\r
///\r
/// Maximum legal AArch64 INTN and UINTN values.\r
\r
///\r
/// Maximum legal AArch64 INTN and UINTN values.\r