summaryrefslogtreecommitdiff
path: root/src/target/arm926ejs.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:40:15 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commit5f68f45186c1fe73e1c83bd5847edd6bfaf06b34 (patch)
tree3b1e684bcc916190af9204b04d2caaf8ded44ec2 /src/target/arm926ejs.h
parent16487e70856a72f9cbe174c7d7d2fb6a1f258100 (diff)
downloadopenocd+libswd-5f68f45186c1fe73e1c83bd5847edd6bfaf06b34.tar.gz
openocd+libswd-5f68f45186c1fe73e1c83bd5847edd6bfaf06b34.tar.bz2
openocd+libswd-5f68f45186c1fe73e1c83bd5847edd6bfaf06b34.tar.xz
openocd+libswd-5f68f45186c1fe73e1c83bd5847edd6bfaf06b34.zip
arm926ejs_common_t -> struct arm926ejs_common
Remove misleading typedef and redundant suffix from struct arm926ejs_common.
Diffstat (limited to 'src/target/arm926ejs.h')
-rw-r--r--src/target/arm926ejs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/target/arm926ejs.h b/src/target/arm926ejs.h
index f0df0913..27320e6d 100644
--- a/src/target/arm926ejs.h
+++ b/src/target/arm926ejs.h
@@ -25,7 +25,7 @@
#define ARM926EJS_COMMON_MAGIC 0xa926a926
-typedef struct arm926ejs_common_s
+struct arm926ejs_common
{
arm9tdmi_common_t arm9tdmi_common;
uint32_t common_magic;
@@ -36,18 +36,18 @@ typedef struct arm926ejs_common_s
uint32_t d_fsr;
uint32_t i_fsr;
uint32_t d_far;
-} arm926ejs_common_t;
+};
-static inline struct arm926ejs_common_s *
+static inline struct arm926ejs_common *
target_to_arm926(struct target_s *target)
{
- return container_of(target->arch_info, struct arm926ejs_common_s,
+ return container_of(target->arch_info, struct arm926ejs_common,
arm9tdmi_common.arm7_9_common.armv4_5_common);
}
int arm926ejs_init_arch_info(target_t *target,
- arm926ejs_common_t *arm926ejs, struct jtag_tap *tap);
+ struct arm926ejs_common *arm926ejs, struct jtag_tap *tap);
int arm926ejs_register_commands(struct command_context_s *cmd_ctx);
int arm926ejs_arch_state(struct target_s *target);
int arm926ejs_write_memory(struct target_s *target,