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 /target | |
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 'target')
-rw-r--r-- | target/arm/ptw.c | 1 | ||||
-rw-r--r-- | target/riscv/cpu_helper.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/ptw.c b/target/arm/ptw.c index b0d2a05..b2dc223 100644 --- a/target/arm/ptw.c +++ b/target/arm/ptw.c @@ -14,6 +14,7 @@ #include "cpu.h" #include "internals.h" #include "idau.h" +#include "tcg/oversized-guest.h" typedef struct S1Translate { diff --git a/target/riscv/cpu_helper.c b/target/riscv/cpu_helper.c index 57d0438..56381aa 100644 --- a/target/riscv/cpu_helper.c +++ b/target/riscv/cpu_helper.c @@ -31,6 +31,7 @@ #include "sysemu/cpu-timers.h" #include "cpu_bits.h" #include "debug.h" +#include "tcg/oversized-guest.h" int riscv_cpu_mmu_index(CPURISCVState *env, bool ifetch) { |