summaryrefslogtreecommitdiff
path: root/src/target/mips32.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-18 07:09:35 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-18 07:09:35 +0000
commit3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87 (patch)
tree0da04be2583bc38b8771216eef38d0d0b1fb3ac9 /src/target/mips32.h
parentdb7e77237c5a8104b527aeb23a2546b4bab92d8a (diff)
downloadopenocd+libswd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.tar.gz
openocd+libswd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.tar.bz2
openocd+libswd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.tar.xz
openocd+libswd-3c2eabd20f5182c53f0bfb0c6f2a9f2595434e87.zip
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/mips32.h')
-rw-r--r--src/target/mips32.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/target/mips32.h b/src/target/mips32.h
index 2eb82823..2d00aa81 100644
--- a/src/target/mips32.h
+++ b/src/target/mips32.h
@@ -41,17 +41,17 @@ typedef struct mips32_comparator_s
{
int used;
//int type;
- u32 bp_value;
- u32 reg_address;
+ uint32_t bp_value;
+ uint32_t reg_address;
} mips32_comparator_t;
typedef struct mips32_common_s
{
- u32 common_magic;
+ uint32_t common_magic;
void *arch_info;
reg_cache_t *core_cache;
mips_ejtag_t ejtag_info;
- u32 core_regs[MIPS32NUMCOREREGS];
+ uint32_t core_regs[MIPS32NUMCOREREGS];
int bp_scanned;
int num_inst_bpoints;
@@ -68,7 +68,7 @@ typedef struct mips32_common_s
typedef struct mips32_core_reg_s
{
- u32 num;
+ uint32_t num;
struct target_s *target;
mips32_common_t *mips32_common;
} mips32_core_reg_t;
@@ -129,7 +129,7 @@ extern int mips32_init_arch_info(target_t *target, mips32_common_t *mips32, jtag
extern int mips32_restore_context(target_t *target);
extern int mips32_save_context(target_t *target);
extern reg_cache_t *mips32_build_reg_cache(target_t *target);
-extern int mips32_run_algorithm(struct target_s *target, int num_mem_params, mem_param_t *mem_params, int num_reg_params, reg_param_t *reg_params, u32 entry_point, u32 exit_point, int timeout_ms, void *arch_info);
+extern int mips32_run_algorithm(struct target_s *target, int num_mem_params, mem_param_t *mem_params, int num_reg_params, reg_param_t *reg_params, uint32_t entry_point, uint32_t exit_point, int timeout_ms, void *arch_info);
extern int mips32_configure_break_unit(struct target_s *target);
extern int mips32_enable_interrupts(struct target_s *target, int enable);
extern int mips32_examine(struct target_s *target);