aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:40:09 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commitb174a0d75ec81fbcd075c8c8d7f915e4a3d76bc3 (patch)
tree116fbfd7b910fdcb01e60934c3f72fcce7d22788 /src
parent8e77975b92a75d392727339eccd6cc7898628ebb (diff)
downloadriscv-openocd-b174a0d75ec81fbcd075c8c8d7f915e4a3d76bc3.zip
riscv-openocd-b174a0d75ec81fbcd075c8c8d7f915e4a3d76bc3.tar.gz
riscv-openocd-b174a0d75ec81fbcd075c8c8d7f915e4a3d76bc3.tar.bz2
arm920t_cache_line_t -> struct arm920t_cache_line
Remove misleading typedef and redundant suffix from struct arm920t_cache_line.
Diffstat (limited to 'src')
-rw-r--r--src/target/arm920t.c2
-rw-r--r--src/target/arm920t.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c
index 336b01c..871d2f7 100644
--- a/src/target/arm920t.c
+++ b/src/target/arm920t.c
@@ -676,7 +676,7 @@ COMMAND_HANDLER(arm920t_handle_read_cache_command)
uint32_t C15_C_D_Ind, C15_C_I_Ind;
int i;
FILE *output;
- arm920t_cache_line_t d_cache[8][64], i_cache[8][64];
+ struct arm920t_cache_line d_cache[8][64], i_cache[8][64];
int segment, index;
retval = arm920t_verify_pointer(cmd_ctx, arm920t);
diff --git a/src/target/arm920t.h b/src/target/arm920t.h
index 38dafcf..9a837b5 100644
--- a/src/target/arm920t.h
+++ b/src/target/arm920t.h
@@ -45,11 +45,11 @@ target_to_arm920(struct target_s *target)
arm9tdmi_common.arm7_9_common.armv4_5_common);
}
-typedef struct arm920t_cache_line_s
+struct arm920t_cache_line
{
uint32_t cam;
uint32_t data[8];
-} arm920t_cache_line_t;
+};
typedef struct arm920t_tlb_entry_s
{