diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-03-27 18:32:36 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-06-05 12:04:28 -0700 |
commit | 70f168f88cab3ee8b377e90cad398e69c3deafa4 (patch) | |
tree | 5cc09ef059c535434d8bcf6052243c3d616d9695 /include/tcg/tcg.h | |
parent | d3ae5f5d4faf535aa50243241e48dddb488cfa9c (diff) | |
download | qemu-70f168f88cab3ee8b377e90cad398e69c3deafa4.zip qemu-70f168f88cab3ee8b377e90cad398e69c3deafa4.tar.gz qemu-70f168f88cab3ee8b377e90cad398e69c3deafa4.tar.bz2 |
tcg: Split out tcg/oversized-guest.h
Move a use of TARGET_LONG_BITS out of tcg/tcg.h.
Include the new file only where required.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg/tcg.h')
-rw-r--r-- | include/tcg/tcg.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 5fe90cb..021fc90 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -59,15 +59,6 @@ typedef uint64_t tcg_target_ulong; #error unsupported #endif -/* Oversized TCG guests make things like MTTCG hard - * as we can't use atomics for cputlb updates. - */ -#if TARGET_LONG_BITS > TCG_TARGET_REG_BITS -#define TCG_OVERSIZED_GUEST 1 -#else -#define TCG_OVERSIZED_GUEST 0 -#endif - #if TCG_TARGET_NB_REGS <= 32 typedef uint32_t TCGRegSet; #elif TCG_TARGET_NB_REGS <= 64 |