diff options
author | Alistair Francis | 2016-06-06 17:59:28 +0200 |
---|---|---|
committer | Peter Maydell | 2016-06-06 17:59:28 +0200 |
commit | 2a5a9abd4bc45e2f4c62c77e07aebe53608c6915 (patch) | |
tree | d11c778a1c0f5c565ea7522c42969e371bdb9954 /target-arm/cpu.h | |
parent | Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (diff) | |
download | qemu-2a5a9abd4bc45e2f4c62c77e07aebe53608c6915.tar.gz qemu-2a5a9abd4bc45e2f4c62c77e07aebe53608c6915.tar.xz qemu-2a5a9abd4bc45e2f4c62c77e07aebe53608c6915.zip |
target-arm: Add the HSTR_EL2 register
Add the Hypervisor System Trap Register for EL2.
This register is used early in the Linux boot and without it the kernel
aborts with a "Synchronous Abort" error.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: ea5aae4b10283de4705b864fe9d4bd2eaddaacae.1463174342.git.alistair.francis@xilinx.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r-- | target-arm/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index c741b53ad4..afb60ee4f3 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -278,6 +278,7 @@ typedef struct CPUARMState { uint64_t far_el[4]; }; uint64_t hpfar_el2; + uint64_t hstr_el2; union { /* Translation result. */ struct { uint64_t _unused_par_0; |