OSDN Git Service

target/hppa: Fix interruption based on default PSW
authorHelge Deller <deller@gmx.de>
Tue, 17 Oct 2023 09:36:37 +0000 (11:36 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 7 Nov 2023 02:49:34 +0000 (18:49 -0800)
commitab9af359c175378c6aa716de0f8e2acbcbcba376
tree30cac39153c07914d8280559572d3231782e46be
parent4e7abdb120d7456aaa754a7101ef43a5916ed8a0
target/hppa: Fix interruption based on default PSW

The default PSW is set by the operating system with the PDC_PSW
firmware call.  Use that setting to decide if wide mode is to be
enabled for interruptions and EIRR usage.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/cpu.h
target/hppa/int_helper.c