diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:43:30 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:11 -0800 |
commit | 3b7aee21b50f4bd0014878f29129ac33812faea3 (patch) | |
tree | 3463a3bc0ad033c745200d5076d41a7e3ef5c561 /src/target/mips32.h | |
parent | 1bd7a78d92e06fcd403c915f0e9d3ecdbcc8305d (diff) |
mips32_common_t -> struct mips32_common
Remove misleading typedef and redundant suffix from struct mips32_common.
Diffstat (limited to 'src/target/mips32.h')
-rw-r--r-- | src/target/mips32.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/mips32.h b/src/target/mips32.h index 5398ddf7..870ff487 100644 --- a/src/target/mips32.h +++ b/src/target/mips32.h @@ -45,7 +45,7 @@ struct mips32_comparator uint32_t reg_address; }; -typedef struct mips32_common_s +struct mips32_common { uint32_t common_magic; void *arch_info; @@ -64,13 +64,13 @@ typedef struct mips32_common_s /* register cache to processor synchronization */ int (*read_core_reg)(struct target_s *target, int num); int (*write_core_reg)(struct target_s *target, int num); -} mips32_common_t; +}; typedef struct mips32_core_reg_s { uint32_t num; struct target_s *target; - mips32_common_t *mips32_common; + struct mips32_common *mips32_common; } mips32_core_reg_t; #define MIPS32_OP_BEQ 0x04 @@ -127,7 +127,7 @@ typedef struct mips32_core_reg_s int mips32_arch_state(struct target_s *target); int mips32_init_arch_info(target_t *target, - mips32_common_t *mips32, struct jtag_tap *tap); + struct mips32_common *mips32, struct jtag_tap *tap); int mips32_restore_context(target_t *target); int mips32_save_context(target_t *target); |