diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:40:18 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:09 -0800 |
commit | 1ad4ee2deb5a888cb9f9b825a0e4fbfa68aa1218 (patch) | |
tree | 760a15f4c0348092b16f699370545cbb3e606a3b /src/target/arm966e.c | |
parent | 5f68f45186c1fe73e1c83bd5847edd6bfaf06b34 (diff) | |
download | riscv-openocd-1ad4ee2deb5a888cb9f9b825a0e4fbfa68aa1218.zip riscv-openocd-1ad4ee2deb5a888cb9f9b825a0e4fbfa68aa1218.tar.gz riscv-openocd-1ad4ee2deb5a888cb9f9b825a0e4fbfa68aa1218.tar.bz2 |
arm966e_common_t -> struct arm966e_common
Remove misleading typedef and redundant suffix from struct arm966e_common.
Diffstat (limited to 'src/target/arm966e.c')
-rw-r--r-- | src/target/arm966e.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/arm966e.c b/src/target/arm966e.c index c752aea..18e904e 100644 --- a/src/target/arm966e.c +++ b/src/target/arm966e.c @@ -32,7 +32,7 @@ #define _DEBUG_INSTRUCTION_EXECUTION_ #endif -int arm966e_init_arch_info(target_t *target, arm966e_common_t *arm966e, struct jtag_tap *tap) +int arm966e_init_arch_info(target_t *target, struct arm966e_common *arm966e, struct jtag_tap *tap) { arm9tdmi_common_t *arm9tdmi = &arm966e->arm9tdmi_common; struct arm7_9_common *arm7_9 = &arm9tdmi->arm7_9_common; @@ -52,13 +52,13 @@ int arm966e_init_arch_info(target_t *target, arm966e_common_t *arm966e, struct j static int arm966e_target_create(struct target_s *target, Jim_Interp *interp) { - arm966e_common_t *arm966e = calloc(1,sizeof(arm966e_common_t)); + struct arm966e_common *arm966e = calloc(1,sizeof(struct arm966e_common)); return arm966e_init_arch_info(target, arm966e, target->tap); } static int arm966e_verify_pointer(struct command_context_s *cmd_ctx, - struct arm966e_common_s *arm966e) + struct arm966e_common *arm966e) { if (arm966e->common_magic != ARM966E_COMMON_MAGIC) { command_print(cmd_ctx, "target is not an ARM966"); @@ -166,7 +166,7 @@ COMMAND_HANDLER(arm966e_handle_cp15_command) { int retval; target_t *target = get_current_target(cmd_ctx); - struct arm966e_common_s *arm966e = target_to_arm966(target); + struct arm966e_common *arm966e = target_to_arm966(target); retval = arm966e_verify_pointer(cmd_ctx, arm966e); if (retval != ERROR_OK) |