From d0a1ffc9573b15997ecdfbc9ec5ec2fc1403d0f1 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 29 May 2003 20:04:28 +0000 Subject: 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 --- cpu-i386.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpu-i386.h') 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. */ -- cgit v1.2.3