diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-04 19:43:03 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-04 19:43:03 -0800 |
commit | 87589043faf8cdb954c602c988698c40fcf9c108 (patch) | |
tree | 22d130206402f27a51a3f155b77f4ecd5d6832e2 /src/target/arm_semihosting.c | |
parent | 56e01714203406b50b40dd7738983e3b019d4df2 (diff) |
ARM: switch target_to_armv4_5() to target_to_arm()
And remove that old symbol.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_semihosting.c')
-rw-r--r-- | src/target/arm_semihosting.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm_semihosting.c b/src/target/arm_semihosting.c index dd6a6695..d71fbaef 100644 --- a/src/target/arm_semihosting.c +++ b/src/target/arm_semihosting.c @@ -43,7 +43,7 @@ static int do_semihosting(struct target *target) { - struct arm *armv4_5 = target_to_armv4_5(target); + struct arm *armv4_5 = target_to_arm(target); uint32_t r0 = buf_get_u32(armv4_5->core_cache->reg_list[0].value, 0, 32); uint32_t r1 = buf_get_u32(armv4_5->core_cache->reg_list[1].value, 0, 32); uint32_t lr = buf_get_u32(ARMV4_5_CORE_REG_MODE(armv4_5->core_cache, ARM_MODE_SVC, 14).value, 0, 32); @@ -406,7 +406,7 @@ static int do_semihosting(struct target *target) */ int arm_semihosting(struct target *target, int *retval) { - struct arm *arm = target_to_armv4_5(target); + struct arm *arm = target_to_arm(target); uint32_t lr, spsr; struct reg *r; |