summaryrefslogtreecommitdiffstats
path: root/target/i386/tcg/helper-tcg.h
diff options
context:
space:
mode:
authorRichard Henderson2021-05-14 17:13:33 +0200
committerRichard Henderson2021-05-19 19:17:11 +0200
commit4ea2449b5818a2bb73ea5ac259279e58e4e11a20 (patch)
tree94edb3737f02fae955e48aef9c61dedd4dde06e0 /target/i386/tcg/helper-tcg.h
parenttarget/i386: Pass env to do_pause and do_hlt (diff)
downloadqemu-4ea2449b5818a2bb73ea5ac259279e58e4e11a20.tar.gz
qemu-4ea2449b5818a2bb73ea5ac259279e58e4e11a20.tar.xz
qemu-4ea2449b5818a2bb73ea5ac259279e58e4e11a20.zip
target/i386: Move invlpg, hlt, monitor, mwait to sysemu
These instructions are all privileged. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210514151342.384376-42-richard.henderson@linaro.org>
Diffstat (limited to 'target/i386/tcg/helper-tcg.h')
-rw-r--r--target/i386/tcg/helper-tcg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/tcg/helper-tcg.h b/target/i386/tcg/helper-tcg.h
index 85a8b0ebd6..2510cc244e 100644
--- a/target/i386/tcg/helper-tcg.h
+++ b/target/i386/tcg/helper-tcg.h
@@ -76,6 +76,7 @@ extern const uint8_t parity_table[256];
/* misc_helper.c */
void cpu_load_eflags(CPUX86State *env, int eflags, int update_mask);
+void do_pause(CPUX86State *env) QEMU_NORETURN;
/* sysemu/svm_helper.c */
#ifndef CONFIG_USER_ONLY