1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-26 04:17:22 +00:00

Generate Hypervisor Emulation Assistance Interrupt for illegal instructions

This implements the HEIR register (Hypervisor Emulation Instruction
Register) and arranges for an illegal instruction to cause a
Hypervisor Emulation Assistance Interrupt (HEAI) at vector 0xE40, and
set HEIR to the illegal instruction.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
This commit is contained in:
Paul Mackerras
2023-09-15 20:18:14 +10:00
parent e3f4ccedec
commit d2777dd1dd
8 changed files with 58 additions and 19 deletions

View File

@@ -550,7 +550,7 @@ static const char *fast_spr_names[] =
"lr", "ctr", "srr0", "srr1", "hsrr0", "hsrr1",
"sprg0", "sprg1", "sprg2", "sprg3",
"hsprg0", "hsprg1", "xer", "tar",
"fscr", "hfscr",
"fscr", "hfscr", "heir",
};
static const char *ldst_spr_names[] = {