From 16487e70856a72f9cbe174c7d7d2fb6a1f258100 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:40:12 -0800 Subject: arm920t_tlb_entry_t -> struct arm920t_tlb_entry Remove misleading typedef and redundant suffix from struct arm920t_tlb_entry. --- src/target/arm920t.c | 2 +- src/target/arm920t.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target') 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); -- cgit v1.1