target/hppa: Only set PSW 'M' bit on reset
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 30 Dec 2024 15:11:09 +0000 (16:11 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Jan 2025 16:16:04 +0000 (17:16 +0100)
commit3d66ec208ca75329b61a4e9c4a58462ed5948504
tree48316b313c04a8dceb29e9add7011ca2f2aa50f2
parent20f7b890173be6cd38dabad8122b8b2fe51d0255
target/hppa: Only set PSW 'M' bit on reset

On reset:

  "All PSW bits except the M bit is reset. The M bit is set."

Commit 1a19da0da44 ("target/hppa: Fill in hppa_cpu_do_interrupt /
hppa_cpu_exec_interrupt") inadvertently set the W bit at RESET,
remove it and set the M bit.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20241231190620.24442-5-philmd@linaro.org>
target/hppa/cpu.c