mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 03:43:37 +08:00
target-arm: make VMSAv7 remapping and AP dependent on V6K
The VMSAv7 remapping and access permissions were introduced in ARMv6K and not ARMv7. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
c886edfb85
commit
0ab06d8347
@ -948,7 +948,7 @@ static inline int check_ap(CPUState *env, int ap, int domain, int access_type,
|
||||
case 6:
|
||||
return prot_ro;
|
||||
case 7:
|
||||
if (!arm_feature (env, ARM_FEATURE_V7))
|
||||
if (!arm_feature (env, ARM_FEATURE_V6K))
|
||||
return 0;
|
||||
return prot_ro;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user