diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:04:08 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:04:08 +0000 |
commit | 86173cdbddde781b19ac630602f2d450a59b32b5 (patch) | |
tree | 36128c6d8bc2b43d529212e4e385917e0b581653 /src/target/etm.h | |
parent | 8f9f5c189bc64c8cd8a14b4dfb156e3382ca050a (diff) | |
download | riscv-openocd-86173cdbddde781b19ac630602f2d450a59b32b5.zip riscv-openocd-86173cdbddde781b19ac630602f2d450a59b32b5.tar.gz riscv-openocd-86173cdbddde781b19ac630602f2d450a59b32b5.tar.bz2 |
Transform 'u8' to 'uint8_t' in src/target
- Replace '\([^_]\)u8' with '\1uint8_t'.
- Replace '^u8' with 'uint8_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2274 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/etm.h')
-rw-r--r-- | src/target/etm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/etm.h b/src/target/etm.h index df31600..3e32fd2 100644 --- a/src/target/etm.h +++ b/src/target/etm.h @@ -127,7 +127,7 @@ enum typedef struct etmv1_trace_data_s { - u8 pipestat; /* bits 0-2 pipeline status */ + uint8_t pipestat; /* bits 0-2 pipeline status */ u16 packet; /* packet data (4, 8 or 16 bit) */ int flags; /* ETMV1_TRACESYNC_CYCLE, ETMV1_TRIGGER_CYCLE */ } etmv1_trace_data_t; @@ -195,10 +195,10 @@ extern char *etmv1v1_branch_reason_strings[]; extern reg_cache_t* etm_build_reg_cache(target_t *target, arm_jtag_t *jtag_info, etm_context_t *etm_ctx); extern int etm_read_reg(reg_t *reg); extern int etm_write_reg(reg_t *reg, u32 value); -extern int etm_read_reg_w_check(reg_t *reg, u8* check_value, u8* check_mask); +extern int etm_read_reg_w_check(reg_t *reg, uint8_t* check_value, uint8_t* check_mask); extern int etm_store_reg(reg_t *reg); extern int etm_set_reg(reg_t *reg, u32 value); -extern int etm_set_reg_w_exec(reg_t *reg, u8 *buf); +extern int etm_set_reg_w_exec(reg_t *reg, uint8_t *buf); extern int etm_setup(target_t *target); int etm_register_commands(struct command_context_s *cmd_ctx); |