summaryrefslogtreecommitdiffstats
path: root/target/moxie
diff options
context:
space:
mode:
authorRichard Henderson2021-02-13 14:03:12 +0100
committerAlex Bennée2021-02-18 09:19:08 +0100
commit8349d2aeb3b41e3a99c6db4114643b68577a49b6 (patch)
tree12659229cadbfe52cfe23d70870092ae6730f3a1 /target/moxie
parentaccel/tcg/plugin-gen: fix the call signature for inline callbacks (diff)
downloadqemu-8349d2aeb3b41e3a99c6db4114643b68577a49b6.tar.gz
qemu-8349d2aeb3b41e3a99c6db4114643b68577a49b6.tar.xz
qemu-8349d2aeb3b41e3a99c6db4114643b68577a49b6.zip
exec: Move TranslationBlock typedef to qemu/typedefs.h
This also means we don't need an extra declaration of the structure in hw/core/cpu.h. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210208233906.479571-2-richard.henderson@linaro.org> Message-Id: <20210213130325.14781-11-alex.bennee@linaro.org>
Diffstat (limited to 'target/moxie')
-rw-r--r--target/moxie/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/moxie/translate.c b/target/moxie/translate.c
index d5fb27dfb8..24a742b25e 100644
--- a/target/moxie/translate.c
+++ b/target/moxie/translate.c
@@ -36,7 +36,7 @@
/* This is the state at translation time. */
typedef struct DisasContext {
- struct TranslationBlock *tb;
+ TranslationBlock *tb;
target_ulong pc, saved_pc;
uint32_t opcode;
uint32_t fp_status;