summaryrefslogtreecommitdiffstats
path: root/target/i386/tcg/helper-tcg.h
diff options
context:
space:
mode:
authorClaudio Fontana2021-03-22 14:27:53 +0100
committerPaolo Bonzini2021-05-10 21:41:52 +0200
commit30493a030ff154fc9ea5f91a848c6ec7a018efa1 (patch)
treea21391be3048c5b5087d16ca74941c57520f8b3c /target/i386/tcg/helper-tcg.h
parenti386: split svm_helper into sysemu and stub-only user (diff)
downloadqemu-30493a030ff154fc9ea5f91a848c6ec7a018efa1.tar.gz
qemu-30493a030ff154fc9ea5f91a848c6ec7a018efa1.tar.xz
qemu-30493a030ff154fc9ea5f91a848c6ec7a018efa1.zip
i386: split seg_helper into user-only and sysemu parts
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> [claudio]: Rebased on commit 68775856 ("target/i386: svm: do not discard high 32 bits") Signed-off-by: Claudio Fontana <cfontana@suse.de> Message-Id: <20210322132800.7470-18-cfontana@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/tcg/helper-tcg.h')
-rw-r--r--target/i386/tcg/helper-tcg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/i386/tcg/helper-tcg.h b/target/i386/tcg/helper-tcg.h
index ff2b99886c..97fb7a226a 100644
--- a/target/i386/tcg/helper-tcg.h
+++ b/target/i386/tcg/helper-tcg.h
@@ -84,6 +84,11 @@ void do_vmexit(CPUX86State *env);
/* seg_helper.c */
void do_interrupt_x86_hardirq(CPUX86State *env, int intno, int is_hw);
+void do_interrupt_all(X86CPU *cpu, int intno, int is_int,
+ int error_code, target_ulong next_eip, int is_hw);
+void handle_even_inj(CPUX86State *env, int intno, int is_int,
+ int error_code, int is_hw, int rm);
+int exception_has_error_code(int intno);
/* smm_helper.c */
void do_smm_enter(X86CPU *cpu);