diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 09:55:49 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:13 -0800 |
commit | d0dee7ccafcf87259fadf6c5de43df8583b0e885 (patch) | |
tree | 19cdaeffd3bbd10f4d5c740b8a9b34693d967de3 /src/target/embeddedice.h | |
parent | ac927559c3ce5406adac34b9d4ca4ecb37a48181 (diff) | |
download | riscv-openocd-d0dee7ccafcf87259fadf6c5de43df8583b0e885.zip riscv-openocd-d0dee7ccafcf87259fadf6c5de43df8583b0e885.tar.gz riscv-openocd-d0dee7ccafcf87259fadf6c5de43df8583b0e885.tar.bz2 |
reg_t -> struct reg
Remove misleading typedef and redundant suffix from struct reg.
Diffstat (limited to 'src/target/embeddedice.h')
-rw-r--r-- | src/target/embeddedice.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/target/embeddedice.h b/src/target/embeddedice.h index 47ef3d9..23673f9 100644 --- a/src/target/embeddedice.h +++ b/src/target/embeddedice.h @@ -98,15 +98,15 @@ struct reg_cache* embeddedice_build_reg_cache(target_t *target, int embeddedice_setup(target_t *target); -int embeddedice_read_reg(reg_t *reg); -int embeddedice_read_reg_w_check(reg_t *reg, +int embeddedice_read_reg(struct reg *reg); +int embeddedice_read_reg_w_check(struct reg *reg, uint8_t* check_value, uint8_t* check_mask); -void embeddedice_write_reg(reg_t *reg, uint32_t value); -void embeddedice_store_reg(reg_t *reg); +void embeddedice_write_reg(struct reg *reg, uint32_t value); +void embeddedice_store_reg(struct reg *reg); -void embeddedice_set_reg(reg_t *reg, uint32_t value); -int embeddedice_set_reg_w_exec(reg_t *reg, uint8_t *buf); +void embeddedice_set_reg(struct reg *reg, uint32_t value); +int embeddedice_set_reg_w_exec(struct reg *reg, uint8_t *buf); int embeddedice_receive(struct arm_jtag *jtag_info, uint32_t *data, uint32_t size); int embeddedice_send(struct arm_jtag *jtag_info, uint32_t *data, uint32_t size); |