Add support for the ARM IPSR register. (#1067)

1. Create an enum name for the IPSR register.
2. Implement read and write of the IPSR via the xpsr helper functions.

Fixes #1065

Backports commit 6c319941a5462ee3a4af4593c371f5674394d6ce from unicorn.
This commit is contained in:
cfrantz 2019-02-28 16:40:48 -05:00 committed by Lioncash
parent c1267811e2
commit 5ad3a0ea82
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
2 changed files with 7 additions and 0 deletions

View file

@ -133,6 +133,7 @@ typedef enum uc_arm_reg {
UC_ARM_REG_C13_C0_2,
UC_ARM_REG_C13_C0_3,
UC_ARM_REG_IPSR,
UC_ARM_REG_ENDING, // <-- mark the end of the list or registers
//> alias registers