summaryrefslogtreecommitdiff
path: root/src/target/xscale.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/xscale.h')
-rw-r--r--src/target/xscale.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/xscale.h b/src/target/xscale.h
index a47bce72..63655ffb 100644
--- a/src/target/xscale.h
+++ b/src/target/xscale.h
@@ -78,7 +78,7 @@ typedef struct xscale_trace_s
armv4_5_state_t core_state; /* current core state (ARM, Thumb, Jazelle) */
} xscale_trace_t;
-typedef struct xscale_common_s
+struct xscale_common
{
/* armv4/5 common stuff */
armv4_5_common_t armv4_5_common;
@@ -129,12 +129,12 @@ typedef struct xscale_common_s
uint32_t cp15_control_reg;
int fast_memory_access;
-} xscale_common_t;
+};
-static inline struct xscale_common_s *
+static inline struct xscale_common *
target_to_xscale(struct target_s *target)
{
- return container_of(target->arch_info, struct xscale_common_s,
+ return container_of(target->arch_info, struct xscale_common,
armv4_5_common);
}