From f876d5e9c769a288faa7fd14b7bf373363542aab Mon Sep 17 00:00:00 2001 From: zwelch Date: Thu, 18 Jun 2009 07:07:59 +0000 Subject: Transform 'u16' to 'uint16_t' - Replace '\([^_]\)u16' with '\1uint16_t'. - Replace '^u16' with 'uint16_t'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2277 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/arm_simulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/target/arm_simulator.c') diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c index 186190b4..163c87b9 100644 --- a/src/target/arm_simulator.c +++ b/src/target/arm_simulator.c @@ -258,7 +258,7 @@ int pass_condition(u32 cpsr, u32 opcode) return 0; } -int thumb_pass_branch_condition(u32 cpsr, u16 opcode) +int thumb_pass_branch_condition(u32 cpsr, uint16_t opcode) { return pass_condition(cpsr, (opcode & 0x0f00) << 20); } @@ -307,7 +307,7 @@ int arm_simulate_step(target_t *target, u32 *dry_run_pc) } else { - u16 opcode; + uint16_t opcode; if((retval = target_read_u16(target, current_pc, &opcode)) != ERROR_OK) { -- cgit v1.2.3