From: Zachary T Welch Date: Fri, 13 Nov 2009 16:40:12 +0000 (-0800) Subject: arm920t_tlb_entry_t -> struct arm920t_tlb_entry X-Git-Tag: v0.4.0-rc1~696 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=16487e70856a72f9cbe174c7d7d2fb6a1f258100;p=openocd arm920t_tlb_entry_t -> struct arm920t_tlb_entry Remove misleading typedef and redundant suffix from struct arm920t_tlb_entry. --- 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);