mirror of https://github.com/acidanthera/audk.git
MdePkg: Define AARCH64_CPTR_RES1 and AARCH64_CPTR_DEFAULT
These constants give the set of RES1 bits in CPTR_EL2, as 1s, and the default value to use for CPTR_EL2 in order to enable all known (or harmless) features but no unknown ones that require EL2 knowledge. This will be used by ArmPlatformPkg in the following commit, separated due to being different packages, even though the combined change is tiny. Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
This commit is contained in:
parent
ef35863880
commit
1bd09ad193
|
@ -23,6 +23,8 @@
|
|||
|
||||
// Coprocessor Trap Register (CPTR)
|
||||
#define AARCH64_CPTR_TFP (1 << 10)
|
||||
#define AARCH64_CPTR_RES1 0x33ff
|
||||
#define AARCH64_CPTR_DEFAULT AARCH64_CPTR_RES1
|
||||
|
||||
// ID_AA64MMFR1 - AArch64 Memory Model Feature Register 0 definitions
|
||||
#define AARCH64_MMFR1_VH (0xF << 8)
|
||||
|
|
Loading…
Reference in New Issue