Skip to content

Commit 7610317

Browse files
keith-packardpm215
authored andcommitted
target/rx: Set exception vector base to 0xffffff80
The documentation says the vector is at 0xffffff80, instead of the previous value of 0xffffffc0. That value must have been a bug because the standard vector values (20, 21, 23, 25, 30) were all past the end of the array. Signed-off-by: Keith Packard <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
1 parent 8881b69 commit 7610317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

target/rx/helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void rx_cpu_do_interrupt(CPUState *cs)
8888
cpu_stl_data(env, env->isp, env->pc);
8989

9090
if (vec < 0x100) {
91-
env->pc = cpu_ldl_data(env, 0xffffffc0 + vec * 4);
91+
env->pc = cpu_ldl_data(env, 0xffffff80 + vec * 4);
9292
} else {
9393
env->pc = cpu_ldl_data(env, env->intb + (vec & 0xff) * 4);
9494
}

0 commit comments

Comments
 (0)