diff options
| author | Keith Packard <keithp@keithp.com> | 2025-02-18 13:21:00 -0800 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-03-07 13:11:00 +0000 |
| commit | 7610317f45159b620475aafc7a94c93b66eda7e2 (patch) | |
| tree | a1a7b5205f394ba1bd6f7f863814031a9659d70b | |
| parent | 8881b691d2d3613e9d7ff596a46a451b393377a5 (diff) | |
| download | focaccia-qemu-7610317f45159b620475aafc7a94c93b66eda7e2.tar.gz focaccia-qemu-7610317f45159b620475aafc7a94c93b66eda7e2.zip | |
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 <keithp@keithp.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
| -rw-r--r-- | target/rx/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/rx/helper.c b/target/rx/helper.c index 7f28e72989..e8aabf40ff 100644 --- a/target/rx/helper.c +++ b/target/rx/helper.c @@ -88,7 +88,7 @@ void rx_cpu_do_interrupt(CPUState *cs) cpu_stl_data(env, env->isp, env->pc); if (vec < 0x100) { - env->pc = cpu_ldl_data(env, 0xffffffc0 + vec * 4); + env->pc = cpu_ldl_data(env, 0xffffff80 + vec * 4); } else { env->pc = cpu_ldl_data(env, env->intb + (vec & 0xff) * 4); } |