target/ppc: Implement HEIR SPR
commita3c020d85ea721fc2a57b28f305a532b2c388f7c
authorNicholas Piggin <npiggin@gmail.com>
Tue, 20 Jun 2023 13:10:44 +0000 (20 23:10 +1000)
committerCédric Le Goater <clg@kaod.org>
Sun, 25 Jun 2023 20:41:30 +0000 (25 22:41 +0200)
tree10b4ec28d6d3bf3326a80fdacd0c6a4ea39dd7e7
parent5a5d3b23cb281d99ee6dd74afa41864428e35241
target/ppc: Implement HEIR SPR

The hypervisor emulation assistance interrupt modifies HEIR to
contain the value of the instruction which caused the exception.

Only TCG raises HEAI interrupts so this can be made TCG-only.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/cpu.h
target/ppc/cpu_init.c
target/ppc/excp_helper.c