[ARM] Add support for ARMv8.1 PAN extension

This commit is contained in:
Matthew Wahab
2015-06-02 12:30:38 +01:00
committed by Jiong Wang
parent 1af1dd51db
commit ddfded2f7b
10 changed files with 97 additions and 9 deletions

View File

@ -57,6 +57,8 @@
state. */
#define ARM_EXT_VIRT 0x80000000 /* Virtualization extensions. */
#define ARM_EXT2_PAN 0x00000001 /* PAN extension. */
/* Co-processor space extensions. */
#define ARM_CEXT_XSCALE 0x00000001 /* Allow MIA etc. */
#define ARM_CEXT_MAVERICK 0x00000002 /* Use Cirrus/DSP coprocessor. */
@ -321,5 +323,6 @@ typedef struct
#define ARM_FEATURE_LOW(core, coproc) {{(core), 0}, (coproc)}
#define ARM_FEATURE_CORE_LOW(core) {{(core), 0}, 0}
#define ARM_FEATURE_CORE_HIGH(core) {{0, (core)}, 0}
#define ARM_FEATURE_COPROC(coproc) {{0, 0}, (coproc)}
#define ARM_FEATURE(core1, core2, coproc) {{(core1), (core2)}, (coproc)}