qemu/target/hppa
Helge Deller 5ccd50172a target/hppa: Restore unwind_breg before calculating ior
When calculating the IOR for the exception handlers, the current
unwind_breg value is needed on 64-bit hppa machines.
Restore that value by calling cpu_restore_state() earlier, which in turn
calls hppa_restore_state_to_opc() which restores the unwind_breg for the
current instruction.

Signed-off-by: Helge Deller <deller@gmx.de>
Fixes: 3824e0d643 ("target/hppa: Export function hppa_set_ior_and_isr()")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
2024-03-03 06:41:19 +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: Restore unwind_breg before calculating ior 2024-03-03 06:41:19 +01:00
cpu.h target/hppa: Implement do_transaction_failed handler for I/O errors 2024-02-11 13:20:23 +01: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: Fix unaligned double word accesses for hppa64 2024-03-03 06:38:34 +01:00
helper.h target/hppa: Add "diag 0x101" for console output support 2024-02-11 13:20:23 +01:00
insns.decode target/hppa: Add pa2.0 cpu local tlb flushes 2023-11-06 18:49:34 -08:00
int_helper.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
machine.c target/hppa: Constify VMState in machine.c 2023-12-29 11:17:30 +11:00
mem_helper.c target/hppa: Restore unwind_breg before calculating ior 2024-03-03 06:41:19 +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: Restore unwind_breg before calculating ior 2024-03-03 06:41:19 +01:00
sys_helper.c target/hppa: Add "diag 0x101" for console output support 2024-02-11 13:20:23 +01:00
trace-events target/hppa: Add pa2.0 cpu local tlb flushes 2023-11-06 18:49:34 -08:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate.c target/hppa: Allow read-access to PSW with rsm 0,reg instruction 2024-02-11 13:20:23 +01:00