diff options
Diffstat (limited to 'src/target/arm720t.h')
-rw-r--r-- | src/target/arm720t.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/arm720t.h b/src/target/arm720t.h index c769626..0689e44 100644 --- a/src/target/arm720t.h +++ b/src/target/arm720t.h @@ -35,4 +35,11 @@ typedef struct arm720t_common_s uint32_t far_reg; } arm720t_common_t; +static inline struct arm720t_common_s * +target_to_arm720(struct target_s *target) +{ + return container_of(target->arch_info, struct arm720t_common_s, + arm7tdmi_common.arm7_9_common.armv4_5_common); +} + #endif /* ARM720T_H */ |