]> git.proxmox.com Git - mirror_qemu.git/commit - include/exec/translator.h
accel/tcg: Introduce translator_use_goto_tb
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 20 Jun 2021 22:28:18 +0000 (15:28 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 9 Jul 2021 16:41:53 +0000 (09:41 -0700)
commitd3a2a1d80331b437bcfa0dc43f2c447d3104898e
tree3e176b3bc1ca11497fa2737892fe28cf16caddb4
parenta4390647f7af6b8a539571b44ab537478f0ae548
accel/tcg: Introduce translator_use_goto_tb

Add a generic version of the common use_goto_tb test.

Various targets avoid the page crossing test for CONFIG_USER_ONLY,
but that is wrong: mmap and mprotect can change page permissions.

Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translator.c
include/exec/translator.h