diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:40:12 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:09 -0800 |
commit | 16487e70856a72f9cbe174c7d7d2fb6a1f258100 (patch) | |
tree | 20297257c58c6dae9cb77fc883465568ceb637b5 | |
parent | b174a0d75ec81fbcd075c8c8d7f915e4a3d76bc3 (diff) | |
download | riscv-openocd-16487e70856a72f9cbe174c7d7d2fb6a1f258100.zip riscv-openocd-16487e70856a72f9cbe174c7d7d2fb6a1f258100.tar.gz riscv-openocd-16487e70856a72f9cbe174c7d7d2fb6a1f258100.tar.bz2 |
arm920t_tlb_entry_t -> struct arm920t_tlb_entry
Remove misleading typedef and redundant suffix from struct arm920t_tlb_entry.
-rw-r--r-- | src/target/arm920t.c | 2 | ||||
-rw-r--r-- | src/target/arm920t.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 871d2f7..97545c5 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 9a837b5..b82c57b 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); |