diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:43:36 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:11 -0800 |
commit | a8141cafdef162d52e128cd2ab51702b9800fda2 (patch) | |
tree | 2cff899322e3ae0d30fe1b574f559d542e4b06ec /src/target/mips32_pracc.h | |
parent | ccde06a08fbf9c4f57b321dbec0509f73239c2de (diff) | |
download | riscv-openocd-a8141cafdef162d52e128cd2ab51702b9800fda2.zip riscv-openocd-a8141cafdef162d52e128cd2ab51702b9800fda2.tar.gz riscv-openocd-a8141cafdef162d52e128cd2ab51702b9800fda2.tar.bz2 |
mips_ejtag_t -> struct mips_ejtag
Remove misleading typedef and redundant suffix from struct mips_ejtag.
Diffstat (limited to 'src/target/mips32_pracc.h')
-rw-r--r-- | src/target/mips32_pracc.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/target/mips32_pracc.h b/src/target/mips32_pracc.h index 866f6f5..3b124c7 100644 --- a/src/target/mips32_pracc.h +++ b/src/target/mips32_pracc.h @@ -37,33 +37,33 @@ #define NEG16(v) (((~(v)) + 1) & 0xFFFF) /*#define NEG18(v) (((~(v)) + 1) & 0x3FFFF)*/ -int mips32_pracc_read_mem(mips_ejtag_t *ejtag_info, +int mips32_pracc_read_mem(struct mips_ejtag *ejtag_info, uint32_t addr, int size, int count, void *buf); -int mips32_pracc_write_mem(mips_ejtag_t *ejtag_info, +int mips32_pracc_write_mem(struct mips_ejtag *ejtag_info, uint32_t addr, int size, int count, void *buf); -int mips32_pracc_read_mem8(mips_ejtag_t *ejtag_info, +int mips32_pracc_read_mem8(struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint8_t *buf); -int mips32_pracc_read_mem16(mips_ejtag_t *ejtag_info, +int mips32_pracc_read_mem16(struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint16_t *buf); -int mips32_pracc_read_mem32(mips_ejtag_t *ejtag_info, +int mips32_pracc_read_mem32(struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint32_t *buf); -int mips32_pracc_read_u32(mips_ejtag_t *ejtag_info, +int mips32_pracc_read_u32(struct mips_ejtag *ejtag_info, uint32_t addr, uint32_t *buf); -int mips32_pracc_write_mem8(mips_ejtag_t *ejtag_info, +int mips32_pracc_write_mem8(struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint8_t *buf); -int mips32_pracc_write_mem16(mips_ejtag_t *ejtag_info, +int mips32_pracc_write_mem16(struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint16_t *buf); -int mips32_pracc_write_mem32(mips_ejtag_t *ejtag_info, +int mips32_pracc_write_mem32(struct mips_ejtag *ejtag_info, uint32_t addr, int count, uint32_t *buf); -int mips32_pracc_write_u32(mips_ejtag_t *ejtag_info, +int mips32_pracc_write_u32(struct mips_ejtag *ejtag_info, uint32_t addr, uint32_t *buf); -int mips32_pracc_read_regs(mips_ejtag_t *ejtag_info, uint32_t *regs); -int mips32_pracc_write_regs(mips_ejtag_t *ejtag_info, uint32_t *regs); +int mips32_pracc_read_regs(struct mips_ejtag *ejtag_info, uint32_t *regs); +int mips32_pracc_write_regs(struct mips_ejtag *ejtag_info, uint32_t *regs); -int mips32_pracc_exec(mips_ejtag_t *ejtag_info, int code_len, uint32_t *code, +int mips32_pracc_exec(struct mips_ejtag *ejtag_info, int code_len, uint32_t *code, int num_param_in, uint32_t *param_in, int num_param_out, uint32_t *param_out, int cycle); |