mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 06:21:01 +00:00
target/arm: Set PSTATE.TCO on exception entry
D1.10 specifies that exception handlers begin with tag checks overridden. Backports commit 34669338bd9d66255fceaa84c314251ca49ca8d5 from qemu
This commit is contained in:
parent
35d0443056
commit
e2456a83a4
|
@ -9384,6 +9384,9 @@ static void arm_cpu_do_interrupt_aarch64_(CPUState *cs)
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (cpu_isar_feature(aa64_mte, cpu)) {
|
||||
new_mode |= PSTATE_TCO;
|
||||
}
|
||||
|
||||
pstate_write(env, PSTATE_DAIF | new_mode);
|
||||
env->aarch64 = 1;
|
||||
|
|
Loading…
Reference in a new issue