aboutsummaryrefslogtreecommitdiff
path: root/cpu-i386.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-29 20:04:28 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-29 20:04:28 +0000
commitd0a1ffc9573b15997ecdfbc9ec5ec2fc1403d0f1 (patch)
tree3cf9a2bb49e6104b2bf27904475ff45c9ebf9f84 /cpu-i386.h
parentdf0f11a03b5bda2a16b8fd9530b1feeef93da8e5 (diff)
added fsave/frstor/fstenv/fldenv/fcomi - fixed cpuid - make lret/iret restartable
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@198 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-i386.h')
-rw-r--r--cpu-i386.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu-i386.h b/cpu-i386.h
index 51b1753947..d277144b62 100644
--- a/cpu-i386.h
+++ b/cpu-i386.h
@@ -436,6 +436,10 @@ void cpu_x86_close(CPUX86State *s);
/* needed to load some predefinied segment registers */
void cpu_x86_load_seg(CPUX86State *s, int seg_reg, int selector);
+/* simulate fsave/frstor */
+void cpu_x86_fsave(CPUX86State *s, uint8_t *ptr, int data32);
+void cpu_x86_frstor(CPUX86State *s, uint8_t *ptr, int data32);
+
/* you can call this signal handler from your SIGBUS and SIGSEGV
signal handlers to inform the virtual CPU of exceptions. non zero
is returned if the signal was handled by the virtual CPU. */