qemu-e2k/target/hppa
Helge Deller 5915b67013 target/hppa: Avoid accessing %gr0 when raising exception
The value of unwind_breg may reference register %r0, but we need to avoid
accessing gr0 directly and use the value 0 instead.

At runtime I've seen unwind_breg being zero with the Linux kernel when
rfi is used to jump to smp_callin().

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Bruno Haible <bruno@clisp.org>
2024-01-13 06:48:14 +01:00
..
cpu-param.h target/hppa: Reduce TARGET_PHYS_ADDR_SPACE_BITS to 40 2023-11-13 09:21:32 -08:00
cpu-qom.h target: Move ArchCPUClass definition to 'cpu.h' 2023-11-07 13:08:48 +01:00
cpu.c target/hppa: Add unwind_breg to CPUHPPAState 2023-11-06 18:49:34 -08:00
cpu.h target/hppa: spelling fixes: Indicies, Truely 2023-11-15 11:59:54 +03:00
fpu_helper.c target/hppa: Extract FPU helpers to fpu_helper.c 2023-02-27 22:29:01 +01:00
gdbstub.c target/hppa: Drop attempted gdbstub support for hppa64 2023-11-06 18:49:34 -08:00
helper.c target/hppa: Remove TARGET_REGISTER_BITS 2023-11-06 18:49:34 -08:00
helper.h target/hppa: Add pa2.0 cpu local tlb flushes 2023-11-06 18:49:34 -08:00
insns.decode target/hppa: Add pa2.0 cpu local tlb flushes 2023-11-06 18:49:34 -08:00
int_helper.c target/hppa: Fix calculation of CR_IIASQ back register 2023-11-13 09:17:07 -08:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
machine.c target/hppa: spelling fixes: Indicies, Truely 2023-11-15 11:59:54 +03:00
mem_helper.c target/hppa: Avoid accessing %gr0 when raising exception 2024-01-13 06:48:14 +01:00
meson.build meson: Rename target_softmmu_arch -> target_system_arch 2023-10-07 19:03:07 +02:00
op_helper.c target/hppa: Use PRIV_P_TO_MMU_IDX in helper_probe 2023-11-13 09:17:07 -08:00
sys_helper.c target/hppa: Update IIAOQ, IIASQ for pa2.0 2023-11-06 18:49:34 -08:00
trace-events target/hppa: Add pa2.0 cpu local tlb flushes 2023-11-06 18:49:34 -08:00
trace.h
translate.c target/hppa: Fix 64-bit SHRPD instruction 2023-11-17 18:36:36 +01:00