提交 3d5c84ff 编写于 作者: S Sergey Fedorov 提交者: Peter Maydell

target-arm: Adjust id_aa64pfr0 when has_el3 CPU property disabled

Signed-off-by: NSergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1429669112-29835-1-git-send-email-serge.fdrv@gmail.com
Reviewed-by: NGreg Bellows <greg.bellows@linaro.org>
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
上级 7ebd5f2e
......@@ -524,9 +524,10 @@ static void arm_cpu_realizefn(DeviceState *dev, Error **errp)
unset_feature(env, ARM_FEATURE_EL3);
/* Disable the security extension feature bits in the processor feature
* register as well. This is id_pfr1[7:4].
* registers as well. These are id_pfr1[7:4] and id_aa64pfr0[15:12].
*/
cpu->id_pfr1 &= ~0xf0;
cpu->id_aa64pfr0 &= ~0xf000;
}
register_cp_regs_for_features(cpu);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册