summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:40:12 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commit16487e70856a72f9cbe174c7d7d2fb6a1f258100 (patch)
tree20297257c58c6dae9cb77fc883465568ceb637b5 /src
parentb174a0d75ec81fbcd075c8c8d7f915e4a3d76bc3 (diff)
downloadopenocd_libswd-16487e70856a72f9cbe174c7d7d2fb6a1f258100.tar.gz
openocd_libswd-16487e70856a72f9cbe174c7d7d2fb6a1f258100.tar.bz2
openocd_libswd-16487e70856a72f9cbe174c7d7d2fb6a1f258100.tar.xz
openocd_libswd-16487e70856a72f9cbe174c7d7d2fb6a1f258100.zip
arm920t_tlb_entry_t -> struct arm920t_tlb_entry
Remove misleading typedef and redundant suffix from struct arm920t_tlb_entry.
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 871d2f70..97545c50 100644
--- a/src/target/arm920t.c
+++ b/src/target/arm920t.c
@@ -922,7 +922,7 @@ COMMAND_HANDLER(arm920t_handle_read_mmu_command)
int i;
FILE *output;
uint32_t Dlockdown, Ilockdown;
- arm920t_tlb_entry_t d_tlb[64], i_tlb[64];
+ struct arm920t_tlb_entry d_tlb[64], i_tlb[64];
int victim;
retval = arm920t_verify_pointer(cmd_ctx, arm920t);
diff --git a/src/target/arm920t.h b/src/target/arm920t.h
index 9a837b52..b82c57b4 100644
--- a/src/target/arm920t.h
+++ b/src/target/arm920t.h
@@ -51,12 +51,12 @@ struct arm920t_cache_line
uint32_t data[8];
};
-typedef struct arm920t_tlb_entry_s
+struct arm920t_tlb_entry
{
uint32_t cam;
uint32_t ram1;
uint32_t ram2;
-} arm920t_tlb_entry_t;
+};
int arm920t_arch_state(struct target_s *target);
int arm920t_soft_reset_halt(struct target_s *target);