mirror of https://github.com/acidanthera/audk.git
MdePkg/AArch64: Add some missing MMU related constants
Add definitions for the non-global page tables descriptor attribute, as well as the E2H TCR bit, so that we can use them in the MMU code. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
a25eb7557f
commit
c2827283a8
|
@ -66,6 +66,7 @@
|
|||
#define ARM_HCR_AMO BIT5
|
||||
#define ARM_HCR_TSC BIT19
|
||||
#define ARM_HCR_TGE BIT27
|
||||
#define ARM_HCR_E2H BIT34
|
||||
|
||||
// Exception Syndrome Register
|
||||
#define AARCH64_ESR_EC(Ecr) ((0x3F << 26) & (Ecr))
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
|
||||
#define TT_NS BIT5
|
||||
#define TT_AF BIT10
|
||||
#define TT_NG BIT11
|
||||
|
||||
#define TT_SH_NON_SHAREABLE (0x0 << 8)
|
||||
#define TT_SH_OUTER_SHAREABLE (0x2 << 8)
|
||||
|
|
Loading…
Reference in New Issue