aboutsummaryrefslogtreecommitdiff
path: root/disas
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-02-02 11:08:57 +0100
committerHelge Deller <deller@gmx.de>2024-02-11 13:20:23 +0100
commit1a72469ccc580b6ace89d92977de7f80434ffbd1 (patch)
tree550357d83f13b9fb387b558124a75f1cced2ae2a /disas
parent39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440 (diff)
downloadqemu-1a72469ccc580b6ace89d92977de7f80434ffbd1.zip
qemu-1a72469ccc580b6ace89d92977de7f80434ffbd1.tar.gz
qemu-1a72469ccc580b6ace89d92977de7f80434ffbd1.tar.bz2
disas/hppa: Add disassembly for qemu specific instructions
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>
Diffstat (limited to 'disas')
-rw-r--r--disas/hppa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/disas/hppa.c b/disas/hppa.c
index cce4f4a..22dce9b 100644
--- a/disas/hppa.c
+++ b/disas/hppa.c
@@ -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]))