Skip to content

Commit

Permalink
disas/hppa: Add disassembly for qemu specific instructions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
hdeller committed Feb 11, 2024
1 parent 39a6e4f commit 1a72469
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions disas/hppa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit 1a72469

Please sign in to comment.