436 |
/* needed to load some predefinied segment registers */ |
/* needed to load some predefinied segment registers */ |
437 |
void cpu_x86_load_seg(CPUX86State *s, int seg_reg, int selector); |
void cpu_x86_load_seg(CPUX86State *s, int seg_reg, int selector); |
438 |
|
|
439 |
|
/* simulate fsave/frstor */ |
440 |
|
void cpu_x86_fsave(CPUX86State *s, uint8_t *ptr, int data32); |
441 |
|
void cpu_x86_frstor(CPUX86State *s, uint8_t *ptr, int data32); |
442 |
|
|
443 |
/* you can call this signal handler from your SIGBUS and SIGSEGV |
/* you can call this signal handler from your SIGBUS and SIGSEGV |
444 |
signal handlers to inform the virtual CPU of exceptions. non zero |
signal handlers to inform the virtual CPU of exceptions. non zero |
445 |
is returned if the signal was handled by the virtual CPU. */ |
is returned if the signal was handled by the virtual CPU. */ |