diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-03-31 21:30:31 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-06-05 12:04:29 -0700 |
commit | 747bd69d0f6d278923c50a3be6dd9b85e5dfd603 (patch) | |
tree | c1cf6d6c2bd3aa031a1ca8bf8fb124e07f3df332 /target | |
parent | e03291cd9a9f511a70a9164bbe8673ed1e9de360 (diff) | |
download | qemu-747bd69d0f6d278923c50a3be6dd9b85e5dfd603.zip qemu-747bd69d0f6d278923c50a3be6dd9b85e5dfd603.tar.gz qemu-747bd69d0f6d278923c50a3be6dd9b85e5dfd603.tar.bz2 |
tcg: Add insn_start_words to TCGContext
This will enable replacement of TARGET_INSN_START_WORDS in tcg.c.
Split out "tcg/insn-start-words.h" and use it in target/.
Reviewed-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/i386/helper.c | 2 | ||||
-rw-r--r-- | target/openrisc/sys_helper.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/i386/helper.c b/target/i386/helper.c index 682d10d..36bf210 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -29,7 +29,7 @@ #endif #include "qemu/log.h" #ifdef CONFIG_TCG -#include "tcg/tcg.h" +#include "tcg/insn-start-words.h" #endif void cpu_sync_avx_hflag(CPUX86State *env) diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c index 110f157..782a575 100644 --- a/target/openrisc/sys_helper.c +++ b/target/openrisc/sys_helper.c @@ -26,7 +26,7 @@ #ifndef CONFIG_USER_ONLY #include "hw/boards.h" #endif -#include "tcg/tcg.h" +#include "tcg/insn-start-words.h" #define TO_SPR(group, number) (((group) << 11) + (number)) |