On 10/12/18 7:42 AM, Peter Maydell wrote: > The HCR_EL2 VI and VF bits are supposed to track whether there is > a pending virtual IRQ or virtual FIQ. For QEMU we store the > pending VIRQ/VFIQ status in cs->interrupt_request, so this means: > * if the register is read we must get these bit values from > cs->interrupt_request > * if the register is written then we must write the bit > values back into cs->interrupt_request > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target/arm/helper.c | 47 +++++++++++++++++++++++++++++++++++++++++---- > 1 file changed, 43 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~