summaryrefslogtreecommitdiff
path: root/src/target/armv7a.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-07 14:54:13 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-07 14:57:44 -0800
commit0a1b7dcfc40385f09b5eb088cd97d6ff25a5816d (patch)
tree025315bb7ed2228175cb8d501f24b37582080cc9 /src/target/armv7a.h
parent0529c14bfeb113ee37f4d961f9309102d57a1e39 (diff)
downloadopenocd+libswd-0a1b7dcfc40385f09b5eb088cd97d6ff25a5816d.tar.gz
openocd+libswd-0a1b7dcfc40385f09b5eb088cd97d6ff25a5816d.tar.bz2
openocd+libswd-0a1b7dcfc40385f09b5eb088cd97d6ff25a5816d.tar.xz
openocd+libswd-0a1b7dcfc40385f09b5eb088cd97d6ff25a5816d.zip
ARM: use <target/arm.h> not armv4_5.h
Move most declarations in <target/armv4_5.h> to <target/arm.h> and update users. What's left in the older file is stuff that I think should be removed ... the old register cache access stuff, which makes it awkward to support microcontroller profile (Cortex-M) cores. The armv4_5_run_algorithm() declaration was moved too, even though it's not yet as generic as it probably ought to be. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/armv7a.h')
-rw-r--r--src/target/armv7a.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/target/armv7a.h b/src/target/armv7a.h
index 24ec8198..663e5d92 100644
--- a/src/target/armv7a.h
+++ b/src/target/armv7a.h
@@ -20,7 +20,7 @@
#define ARMV7A_H
#include <target/arm_adi_v5.h>
-#include <target/armv4_5.h>
+#include <target/arm.h>
#include <target/armv4_5_mmu.h>
#include <target/armv4_5_cache.h>
#include <target/arm_dpm.h>
@@ -114,22 +114,6 @@ target_to_armv7a(struct target *target)
/* See ARMv7a arch spec section C10.8 */
#define CPUDBG_AUTHSTATUS 0xFB8
-struct armv7a_algorithm
-{
- int common_magic;
-
- enum arm_mode core_mode;
- enum arm_state core_state;
-};
-
-struct armv7a_core_reg
-{
- int num;
- enum arm_mode mode;
- struct target *target;
- struct armv7a_common *armv7a_common;
-};
-
int armv7a_arch_state(struct target *target);
struct reg_cache *armv7a_build_reg_cache(struct target *target,
struct armv7a_common *armv7a_common);