summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/armv7a.c2
-rw-r--r--src/target/armv7a.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/target/armv7a.c b/src/target/armv7a.c
index 1def12f7..582e2e0d 100644
--- a/src/target/armv7a.c
+++ b/src/target/armv7a.c
@@ -82,7 +82,7 @@ char* armv7a_state_strings[] =
"ARM", "Thumb", "Jazelle", "ThumbEE"
};
-armv7a_core_reg_t armv7a_core_reg_list_arch_info[] =
+struct armv7a_core_reg armv7a_core_reg_list_arch_info[] =
{
{0, ARMV4_5_MODE_ANY, NULL, NULL},
{1, ARMV4_5_MODE_ANY, NULL, NULL},
diff --git a/src/target/armv7a.h b/src/target/armv7a.h
index 5a77befc..42a25df8 100644
--- a/src/target/armv7a.h
+++ b/src/target/armv7a.h
@@ -141,13 +141,13 @@ struct armv7a_algorithm
enum armv7a_state core_state;
};
-typedef struct armv7a_core_reg_s
+struct armv7a_core_reg
{
int num;
enum armv7a_mode mode;
target_t *target;
struct armv7a_common *armv7a_common;
-} armv7a_core_reg_t;
+};
int armv7a_arch_state(struct target_s *target);
reg_cache_t *armv7a_build_reg_cache(target_t *target,