From 0a1b7dcfc40385f09b5eb088cd97d6ff25a5816d Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 7 Dec 2009 14:54:13 -0800 Subject: ARM: use not armv4_5.h Move most declarations in to 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 --- src/target/armv7a.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/target/armv7a.h') 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 -#include +#include #include #include #include @@ -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); -- cgit v1.2.3