summaryrefslogtreecommitdiff
path: root/src/target/armv4_5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/armv4_5.h')
-rw-r--r--src/target/armv4_5.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h
index 80f28db3..fb7926b6 100644
--- a/src/target/armv4_5.h
+++ b/src/target/armv4_5.h
@@ -86,6 +86,12 @@ typedef struct armv4_5_common_s
void *arch_info;
} armv4_5_common_t;
+static inline struct armv4_5_common_s *
+target_to_armv4_5(struct target_s *target)
+{
+ return target->arch_info;
+}
+
typedef struct armv4_5_algorithm_s
{
int common_magic;