aboutsummaryrefslogtreecommitdiff
path: root/target/i386/tcg/svm_helper.c
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2020-12-12 16:55:14 +0100
committerEduardo Habkost <ehabkost@redhat.com>2020-12-16 15:50:33 -0500
commited69e8314d403d1bfa8c0210f850ffe69bb89dbe (patch)
tree629fc692c434477b8f1121520dda9a7b7adfb8e6 /target/i386/tcg/svm_helper.c
parent40399ecb6959ae696c235097c773d776392fde1f (diff)
downloadqemu-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/svm_helper.c')
-rw-r--r--target/i386/tcg/svm_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/tcg/svm_helper.c b/target/i386/tcg/svm_helper.c
index 3893158..097bb9b 100644
--- a/target/i386/tcg/svm_helper.c
+++ b/target/i386/tcg/svm_helper.c
@@ -22,6 +22,7 @@
#include "exec/helper-proto.h"
#include "exec/exec-all.h"
#include "exec/cpu_ldst.h"
+#include "helper-tcg.h"
/* Secure Virtual Machine helpers */