diff options
author | Matthew Wahab <matthew.wahab@arm.com> | 2015-06-02 12:30:38 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-06-02 12:30:38 +0100 |
commit | ddfded2f7bba485d6c967b502337a72310f24913 (patch) | |
tree | df248162b8426a8e6d86559f1ac1cc4287cf4fea /include | |
parent | 1af1dd51db991700c0e66b35d777a44e6953bbd2 (diff) | |
download | gdb-ddfded2f7bba485d6c967b502337a72310f24913.zip gdb-ddfded2f7bba485d6c967b502337a72310f24913.tar.gz gdb-ddfded2f7bba485d6c967b502337a72310f24913.tar.bz2 |
[ARM] Add support for ARMv8.1 PAN extension
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/arm.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 5b9eb5d..969ac70 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,5 +1,10 @@ 2015-06-02 Matthew Wahab <matthew.wahab@arm.com> + * arm.h (ARM_EXT2_PAN): New. + (ARM_FEATURE_CORE_HIGH): New. + +2015-06-02 Matthew Wahab <matthew.wahab@arm.com> + * arm.h (ARM_FEATURE_ALL): New. 2015-06-02 Matthew Wahab <matthew.wahab@arm.com> diff --git a/include/opcode/arm.h b/include/opcode/arm.h index cbe9e7d..9736943 100644 --- a/include/opcode/arm.h +++ b/include/opcode/arm.h @@ -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)} |