diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-19 02:31:34 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-19 02:31:34 -0800 |
commit | f320b1228932e33292207d89778125c03379de5d (patch) | |
tree | 68e67ef2f06c24ca186b63eed44a268ddfc231ad /src/target/armv7a.h | |
parent | f382ebae1050fe26f25d13fd558277d8a032c778 (diff) | |
download | riscv-openocd-f320b1228932e33292207d89778125c03379de5d.zip riscv-openocd-f320b1228932e33292207d89778125c03379de5d.tar.gz riscv-openocd-f320b1228932e33292207d89778125c03379de5d.tar.bz2 |
ARMv7-A: use standard ARM core_mode symbols
The only way ARMv7-A modes differ from ARMv4/ARMv5 flavors
is that v7-A is allowed to include "Secure monitor" support.
That's now handled by our standard top-level ARM code ... so
phase out the stuff that's specific to ARMv7-A.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/armv7a.h')
-rw-r--r-- | src/target/armv7a.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/target/armv7a.h b/src/target/armv7a.h index b008361..f31a7af 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -24,18 +24,6 @@ #include "armv4_5_mmu.h" #include "armv4_5_cache.h" -typedef enum armv7a_mode -{ - ARMV7A_MODE_USR = 16, - ARMV7A_MODE_FIQ = 17, - ARMV7A_MODE_IRQ = 18, - ARMV7A_MODE_SVC = 19, - ARMV7A_MODE_ABT = 23, - ARMV7A_MODE_UND = 27, - ARMV7A_MODE_SYS = 31, - ARMV7A_MODE_MON = 22, - ARMV7A_MODE_ANY = -1 -} armv7a_t; typedef enum armv7a_state { @@ -78,7 +66,6 @@ struct armv7a_common { int common_magic; struct reg_cache *core_cache; - enum armv7a_mode core_mode; enum armv7a_state core_state; /* arm adp debug port */ @@ -119,14 +106,14 @@ struct armv7a_algorithm { int common_magic; - enum armv7a_mode core_mode; + enum armv4_5_mode core_mode; enum armv7a_state core_state; }; struct armv7a_core_reg { int num; - enum armv7a_mode mode; + enum armv4_5_mode mode; struct target *target; struct armv7a_common *armv7a_common; }; |