disas/hppa: implement mfdiag/mtdiag disassembly
authorHelge Deller <deller@gmx.de>
Tue, 28 Jan 2025 14:37:41 +0000 (15:37 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 30 Jan 2025 12:37:20 +0000 (13:37 +0100)
commitbf60e2a72adc190d3a4d8eb28b6f9c4c17ddd649
treed54fceedadac1e8827095b73de5268eddaa258e1
parent3f8c3d7bf6d4d3454cd1e56b4bb253c301d72ca2
disas/hppa: implement mfdiag/mtdiag disassembly

The various PA-RISC CPUs implement different CPU-specific diag
instructions (mfdiag, mtdiag, mfcpu, mtcpu, ...) to access CPU-internal
diagnose/configuration registers, e.g. for cache control, managing space
register hashing, control front panel LEDs and read status of the
hardware reset button.

Those instructions are mostly undocumented, but are used by ODE, HP-UX
and Linux.

This patch adds some neccessary instructions for PCXL and PCXU CPUs.

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