diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:09:35 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:09:35 +0000 |
commit | 3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87 (patch) | |
tree | 0da04be2583bc38b8771216eef38d0d0b1fb3ac9 /src/target/trace.h | |
parent | db7e77237c5a8104b527aeb23a2546b4bab92d8a (diff) |
Transform 'u32' to 'uint32_t' in src/target
- Replace '\([^_]\)u32' with '\1uint32_t'.
- Replace '^u32' with 'uint32_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2279 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/trace.h')
-rw-r--r-- | src/target/trace.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/target/trace.h b/src/target/trace.h index 92613161..90bd6007 100644 --- a/src/target/trace.h +++ b/src/target/trace.h @@ -27,18 +27,18 @@ struct command_context_s; typedef struct trace_point_s { - u32 address; + uint32_t address; u64 hit_counter; } trace_point_t; typedef struct trace_s { - u32 num_trace_points; - u32 trace_points_size; + uint32_t num_trace_points; + uint32_t trace_points_size; trace_point_t *trace_points; - u32 trace_history_size; - u32 *trace_history; - u32 trace_history_pos; + uint32_t trace_history_size; + uint32_t *trace_history; + uint32_t trace_history_pos; int trace_history_overflowed; } trace_t; @@ -51,7 +51,7 @@ typedef enum trace_status TRACE_OVERFLOWED = 0x8, } trace_status_t; -extern int trace_point(struct target_s *target, u32 number); +extern int trace_point(struct target_s *target, uint32_t number); extern int trace_register_commands(struct command_context_s *cmd_ctx); #define ERROR_TRACE_IMAGE_UNAVAILABLE -(1500) |