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>
This commit is contained in:
Richard Henderson 2023-03-27 18:32:36 -07:00
parent d3ae5f5d4f
commit 70f168f88c
7 changed files with 28 additions and 11 deletions

View file

@ -326,8 +326,7 @@ static inline void clear_helper_retaddr(void)
#else
/* Needed for TCG_OVERSIZED_GUEST */
#include "tcg/tcg.h"
#include "tcg/oversized-guest.h"
static inline target_ulong tlb_read_idx(const CPUTLBEntry *entry,
MMUAccessType access_type)