diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-06-18 19:39:13 +1000 |
---|---|---|
committer | Nicholas Piggin <npiggin@gmail.com> | 2024-05-24 09:34:38 +1000 |
commit | 45693f94dd11f26b673541c0c9a270f8462d8633 (patch) | |
tree | 71e418a7f1056a7e5b84939554581afd33d0c813 /target/ppc/insn32.decode | |
parent | 9728fb5c22a51b5f2f65ba36fdcd8fd0999be6fc (diff) | |
download | qemu-45693f94dd11f26b673541c0c9a270f8462d8633.zip qemu-45693f94dd11f26b673541c0c9a270f8462d8633.tar.gz qemu-45693f94dd11f26b673541c0c9a270f8462d8633.tar.bz2 |
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>
Diffstat (limited to 'target/ppc/insn32.decode')
-rw-r--r-- | target/ppc/insn32.decode | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/ppc/insn32.decode b/target/ppc/insn32.decode index d4dd022..ee33141 100644 --- a/target/ppc/insn32.decode +++ b/target/ppc/insn32.decode @@ -1198,3 +1198,7 @@ EIEIO 011111 ----- ----- ----- 1101010110 - MFBHRBE 011111 ..... ..... ..... 0100101110 - @XFX_bhrbe CLRBHRB 011111 ----- ----- ----- 0110101110 - + +## Misc POWER instructions + +ATTN 000000 00000 00000 00000 0100000000 0 |