summaryrefslogtreecommitdiff
path: root/src/target/arm_simulator.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:33:33 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:33:33 -0800
commitd4d16f1036bff4ce3c36edd1995e579fbf64e1c9 (patch)
tree67d6674d4b337d6687f86eaed01ca1afa8baa136 /src/target/arm_simulator.c
parent0073e7a69e55eb435fc2e274ba245a27779963e4 (diff)
downloadopenocd+libswd-d4d16f1036bff4ce3c36edd1995e579fbf64e1c9.tar.gz
openocd+libswd-d4d16f1036bff4ce3c36edd1995e579fbf64e1c9.tar.bz2
openocd+libswd-d4d16f1036bff4ce3c36edd1995e579fbf64e1c9.tar.xz
openocd+libswd-d4d16f1036bff4ce3c36edd1995e579fbf64e1c9.zip
ARM: rename armv4_5_mode_* AS arm_mode_*
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_simulator.c')
-rw-r--r--src/target/arm_simulator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c
index 326240bf..c252b444 100644
--- a/src/target/arm_simulator.c
+++ b/src/target/arm_simulator.c
@@ -665,7 +665,7 @@ int arm_simulate_step_core(struct target *target,
}
else
{
- enum armv4_5_mode mode = sim->get_mode(sim);
+ enum arm_mode mode = sim->get_mode(sim);
int update_cpsr = 0;
if (instruction.info.load_store_multiple.S)
@@ -721,7 +721,7 @@ int arm_simulate_step_core(struct target *target,
uint32_t Rn = sim->get_reg_mode(sim,
instruction.info.load_store_multiple.Rn);
int bits_set = 0;
- enum armv4_5_mode mode = sim->get_mode(sim);
+ enum arm_mode mode = sim->get_mode(sim);
for (i = 0; i < 16; i++)
{
@@ -839,7 +839,7 @@ static void armv4_5_set_state(struct arm_sim_interface *sim, enum armv4_5_state
}
-static enum armv4_5_mode armv4_5_get_mode(struct arm_sim_interface *sim)
+static enum arm_mode armv4_5_get_mode(struct arm_sim_interface *sim)
{
struct arm *armv4_5 = (struct arm *)sim->user_data;