]> git.proxmox.com Git - mirror_qemu.git/commitdiff
disas/hppa: Add disassembly for qemu specific instructions
authorHelge Deller <deller@gmx.de>
Fri, 2 Feb 2024 10:08:57 +0000 (11:08 +0100)
committerHelge Deller <deller@gmx.de>
Sun, 11 Feb 2024 12:20:23 +0000 (13:20 +0100)
Add disassembly of opcodes for "HALT QEMU", "RESET QEMU" and
"RESTORE SHR" (restore shadow registers).

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

index cce4f4aa374179bbfc95df14684a5df462af6f49..22dce9b41bb1f19df4d25923e4491d753791bdf8 100644 (file)
@@ -1609,6 +1609,10 @@ static const struct pa_opcode pa_opcodes[] =
 { "call",      0xe800a000, 0xffe0e000, "nW", pa10, FLAG_STRICT},
 { "ret",       0xe840d000, 0xfffffffd, "n", pa20, FLAG_STRICT},
 
+/* Opcodes assigned to QEMU, used by SeaBIOS firmware and Linux kernel */
+{ "HALT QEMU", 0xfffdead0, 0xfffffffd, "n", pa10, FLAG_STRICT},
+{ "RESET QEMU",        0xfffdead1, 0xfffffffd, "n", pa10, FLAG_STRICT},
+{ "RESTORE SHR",0xfffdead2, 0xfffffffd, "n", pa10, FLAG_STRICT},
 };
 
 #define NUMOPCODES ((sizeof pa_opcodes)/(sizeof pa_opcodes[0]))