mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-11 12:55:29 +00:00
target-arm: Fix typo in comment in arm_is_secure_below_el3()
Fix a typo where "EL2" was written but "EL3" intended. Backports commit 6b7f0b61f080b886c9b4bba8240379ce90e20b12 from qemu
This commit is contained in:
parent
98452daad6
commit
a2fd906e8b
|
@ -942,7 +942,7 @@ static inline bool arm_is_secure_below_el3(CPUARMState *env)
|
|||
if (arm_feature(env, ARM_FEATURE_EL3)) {
|
||||
return !(env->cp15.scr_el3 & SCR_NS);
|
||||
} else {
|
||||
/* If EL2 is not supported then the secure state is implementation
|
||||
/* If EL3 is not supported then the secure state is implementation
|
||||
* defined, in which case QEMU defaults to non-secure.
|
||||
*/
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue