diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-05-06 13:02:33 -0500 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-05-09 11:47:54 +0100 |
commit | 3c29632feba7724be447b621f3527136e5c32744 (patch) | |
tree | bbdc55c73c601aef2dbf7dfb9f445719866daaa1 /target/arm/internals.h | |
parent | da3d8b13624246702f7b8b88e37ee525a2f39ad2 (diff) | |
download | qemu-3c29632feba7724be447b621f3527136e5c32744.zip qemu-3c29632feba7724be447b621f3527136e5c32744.tar.gz qemu-3c29632feba7724be447b621f3527136e5c32744.tar.bz2 |
target/arm: Implement virtual SError exceptions
Virtual SError exceptions are raised by setting HCR_EL2.VSE,
and are routed to EL1 just like other virtual exceptions.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220506180242.216785-16-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/internals.h')
-rw-r--r-- | target/arm/internals.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/arm/internals.h b/target/arm/internals.h index c563b37..6ca0e95 100644 --- a/target/arm/internals.h +++ b/target/arm/internals.h @@ -948,6 +948,14 @@ void arm_cpu_update_virq(ARMCPU *cpu); void arm_cpu_update_vfiq(ARMCPU *cpu); /** + * arm_cpu_update_vserr: Update CPU_INTERRUPT_VSERR bit + * + * Update the CPU_INTERRUPT_VSERR bit in cs->interrupt_request, + * following a change to the HCR_EL2.VSE bit. + */ +void arm_cpu_update_vserr(ARMCPU *cpu); + +/** * arm_mmu_idx_el: * @env: The cpu environment * @el: The EL to use. |