M1 W^X fully supported

This commit is contained in:
2024-02-12 00:10:44 +08:00
parent e915e18987
commit 822bb527f3
8 changed files with 223 additions and 47 deletions

View File

@@ -38,7 +38,7 @@ void cpu_loop_exit(CPUState *cpu)
{
/* Unlock JIT write protect if applicable. */
if (cpu->uc->nested_level == 1) {
tb_exec_unlock(cpu->uc->tcg_ctx);
tb_exec_unlock(cpu->uc);
}
/* Undo the setting in cpu_tb_exec. */
cpu->can_do_io = 1;