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 /opcodes | |
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 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 05fc116..417e05d 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,10 @@ 2015-06-02 Matthew Wahab <matthew.wahab@arm.com> + * arm-dis.c (arm_opcodes): Add "setpan". + (thumb_opcodes): Add "setpan". + +2015-06-02 Matthew Wahab <matthew.wahab@arm.com> + * arm-dis.c (select_arm_features): Rework to avoid used of redefined macros. diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 9c2665d..3e1315f 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -1602,6 +1602,10 @@ static const struct opcode32 arm_opcodes[] = {ARM_FEATURE_COPROC (CRC_EXT_ARMV8), 0xe1400240, 0xfff00ff0, "crc32cw\t%12-15R, %16-19R, %0-3R"}, + /* Privileged Access Never extension instructions. */ + {ARM_FEATURE_CORE_HIGH (ARM_EXT2_PAN), + 0xf1100000, 0xfffffdff, "setpan\t#%9-9d"}, + /* Virtualization Extension instructions. */ {ARM_FEATURE_CORE_LOW (ARM_EXT_VIRT), 0x0160006e, 0x0fffffff, "eret%c"}, {ARM_FEATURE_CORE_LOW (ARM_EXT_VIRT), 0x01400070, 0x0ff000f0, "hvc%c\t%e"}, @@ -2293,6 +2297,7 @@ static const struct opcode16 thumb_opcodes[] = /* ARM V8 instructions. */ {ARM_FEATURE_CORE_LOW (ARM_EXT_V8), 0xbf50, 0xffff, "sevl%c"}, {ARM_FEATURE_CORE_LOW (ARM_EXT_V8), 0xba80, 0xffc0, "hlt\t%0-5x"}, + {ARM_FEATURE_CORE_HIGH (ARM_EXT2_PAN), 0xb610, 0xfff7, "setpan\t#%3-3d"}, /* ARM V6K no-argument instructions. */ {ARM_FEATURE_CORE_LOW (ARM_EXT_V6K), 0xbf00, 0xffff, "nop%c"}, |