diff options
author | Claudio Fontana <cfontana@suse.de> | 2020-12-12 16:55:14 +0100 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-12-16 15:50:33 -0500 |
commit | ed69e8314d403d1bfa8c0210f850ffe69bb89dbe (patch) | |
tree | 629fc692c434477b8f1121520dda9a7b7adfb8e6 /target/i386/tcg/mem_helper.c | |
parent | 40399ecb6959ae696c235097c773d776392fde1f (diff) | |
download | qemu-ed69e8314d403d1bfa8c0210f850ffe69bb89dbe.zip qemu-ed69e8314d403d1bfa8c0210f850ffe69bb89dbe.tar.gz qemu-ed69e8314d403d1bfa8c0210f850ffe69bb89dbe.tar.bz2 |
i386: move TCG cpu class initialization to tcg/
to do this, we need to take code out of cpu.c and helper.c,
and also move some prototypes from cpu.h, for code that is
needed in tcg/xxx_helper.c, and which in turn is part of the
callbacks registered by the class initialization.
Therefore, do some shuffling of the parts of cpu.h that
are only relevant for tcg/, and put them in tcg/helper-tcg.h
For FT0 and similar macros, put them in tcg/fpu-helper.c
since they are used only there.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201212155530.23098-8-cfontana@suse.de>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/i386/tcg/mem_helper.c')
-rw-r--r-- | target/i386/tcg/mem_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/tcg/mem_helper.c b/target/i386/tcg/mem_helper.c index 21ca3e3..e5cd2de 100644 --- a/target/i386/tcg/mem_helper.c +++ b/target/i386/tcg/mem_helper.c @@ -25,6 +25,7 @@ #include "qemu/int128.h" #include "qemu/atomic128.h" #include "tcg/tcg.h" +#include "helper-tcg.h" void helper_cmpxchg8b_unlocked(CPUX86State *env, target_ulong a0) { |