Aarch64 add thread registers (#834)

* add thread registers to AArch64

* update bindings to add AArch64 thread registers

* fix indentation for register read/write switch-case in unicorn_aarch64.c
This commit is contained in:
misson20000
2017-05-14 00:42:49 -07:00
committed by Nguyen Anh Quynh
parent 476553223b
commit 014ccfb94a
7 changed files with 76 additions and 28 deletions

View File

@ -270,7 +270,12 @@ public interface Arm64Const {
// pseudo registers
public static final int UC_ARM64_REG_PC = 260;
public static final int UC_ARM64_REG_CPACR_EL1 = 261;
public static final int UC_ARM64_REG_ENDING = 262;
// thread registers
public static final int UC_ARM64_REG_TPIDR_EL0 = 262;
public static final int UC_ARM64_REG_TPIDRRO_EL0 = 263;
public static final int UC_ARM64_REG_TPIDR_EL1 = 264;
public static final int UC_ARM64_REG_ENDING = 265;
// alias registers
public static final int UC_ARM64_REG_IP1 = 215;