mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 15:48:20 +00:00
cpu-exec: Add "nochain" debug flag
Respect it to avoid linking TBs together. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
@ -477,7 +477,8 @@ int cpu_exec(CPUState *cpu)
|
||||
/* see if we can patch the calling TB. When the TB
|
||||
spans two pages, we cannot safely do a direct
|
||||
jump. */
|
||||
if (next_tb != 0 && tb->page_addr[1] == -1) {
|
||||
if (next_tb != 0 && tb->page_addr[1] == -1
|
||||
&& !qemu_loglevel_mask(CPU_LOG_TB_NOCHAIN)) {
|
||||
tb_add_jump((TranslationBlock *)(next_tb & ~TB_EXIT_MASK),
|
||||
next_tb & TB_EXIT_MASK, tb);
|
||||
}
|
||||
|
Reference in New Issue
Block a user