提交 0ab06d83 编写于 作者: J Jamie Iles 提交者: Peter Maydell

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: NJamie Iles <jamie@jamieiles.com>
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
上级 c886edfb
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册