OSDN Git Service

target-sparc: on UA2005 don't deliver Interrupt_level_n IRQs in hypervisor mode
authorArtyom Tarasenko <atar4qemu@gmail.com>
Sun, 12 Jun 2016 20:19:43 +0000 (22:19 +0200)
committerArtyom Tarasenko <atar4qemu@gmail.com>
Wed, 18 Jan 2017 21:03:44 +0000 (22:03 +0100)
commit1a2aefae6627170fdee689b394a65f76080c068a
tree5bb295468da350647ab92170f246f8200e9956ac
parent5b5352b2f41e460f213a515e087c24dac1322f49
target-sparc: on UA2005 don't deliver Interrupt_level_n IRQs in hypervisor mode

As described in Chapter 5.7.6 of the UltraSPARC Architecture 2005,
outstanding disrupting exceptions that are destined for privileged mode can only
cause a trap when the virtual processor is in nonprivileged or privileged mode and
PSTATE.ie = 1. At all other times, they are held pending.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
target/sparc/cpu.h