mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
target/arm: Enable HCR_E2H for VHE
Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200206105448.4726-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
8fc2ea21f7
commit
03c76131bc
2 changed files with 5 additions and 8 deletions
|
@ -1424,13 +1424,6 @@ static inline void xpsr_write(CPUARMState *env, uint32_t val, uint32_t mask)
|
|||
#define HCR_ATA (1ULL << 56)
|
||||
#define HCR_DCT (1ULL << 57)
|
||||
|
||||
/*
|
||||
* When we actually implement ARMv8.1-VHE we should add HCR_E2H to
|
||||
* HCR_MASK and then clear it again if the feature bit is not set in
|
||||
* hcr_write().
|
||||
*/
|
||||
#define HCR_MASK ((1ULL << 34) - 1)
|
||||
|
||||
#define SCR_NS (1U << 0)
|
||||
#define SCR_IRQ (1U << 1)
|
||||
#define SCR_FIQ (1U << 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue