]> xenbits.xensource.com Git - qemu-xen.git/commit
target/ppc: Implement attn instruction on BookS 64-bit processors
authorNicholas Piggin <npiggin@gmail.com>
Sun, 18 Jun 2023 09:39:13 +0000 (19:39 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 23:34:38 +0000 (09:34 +1000)
commit45693f94dd11f26b673541c0c9a270f8462d8633
tree71e418a7f1056a7e5b84939554581afd33d0c813
parent9728fb5c22a51b5f2f65ba36fdcd8fd0999be6fc
target/ppc: Implement attn instruction on BookS 64-bit processors

attn is an implementation-specific instruction that on POWER (and G5/
970) can be enabled with a HID bit (disabled = illegal), and executing
it causes the host processor to stop and the service processor to be
notified. Generally used for debugging.

Implement attn and make it checkstop the system, which should be good
enough for QEMU debugging.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/cpu.h
target/ppc/cpu_init.c
target/ppc/excp_helper.c
target/ppc/helper.h
target/ppc/insn32.decode
target/ppc/translate/misc-impl.c.inc