Remove assertion
This commit is contained in:
parent
9cc23b3136
commit
bd3fdd253a
@ -2393,7 +2393,7 @@ void arm_cpu_finalize_features(ARMCPU *cpu, Error **errp);
|
|||||||
*/
|
*/
|
||||||
static inline bool arm_is_secure_below_el3(CPUARMState *env)
|
static inline bool arm_is_secure_below_el3(CPUARMState *env)
|
||||||
{
|
{
|
||||||
assert(!arm_feature(env, ARM_FEATURE_M));
|
// assert(!arm_feature(env, ARM_FEATURE_M));
|
||||||
if (arm_feature(env, ARM_FEATURE_EL3)) {
|
if (arm_feature(env, ARM_FEATURE_EL3)) {
|
||||||
return !(env->cp15.scr_el3 & SCR_NS);
|
return !(env->cp15.scr_el3 & SCR_NS);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user