43,7 → 43,6 |
|
.extern SYMBOL_NAME(ll_exc_hook) |
.extern SYMBOL_NAME(ll_FPU_hook) |
.extern SYMBOL_NAME(vm86_return) |
|
.globl SYMBOL_NAME(h13_bis) |
.globl SYMBOL_NAME(exc7) |
65,7 → 64,7 |
INT(13) |
INT(14) |
INT(15) |
INT(16) |
NONE(16) |
INT(17) |
INT(18) |
INT(19) |
582,22 → 581,22 |
iret |
|
ll_handler_vm86: |
pushl %ds |
pushl %ss |
pushl %es |
pushl %fs |
pushl %gs |
pushl %ds |
pushl %ss |
pushl %es |
pushl %fs |
pushl %gs |
|
pushl %eax |
|
movw $(X_FLATDATA_SEL),%ax |
movw %ax,%es |
mov %ax,%ds |
movw %ax,%fs |
movw %ax,%gs |
movw %ax,%ds |
movw %ax,%fs |
movw %ax,%gs |
|
popl %eax |
pushl %ebx |
popl %eax |
pushl %ebx |
|
movl SYMBOL_NAME(global_regs),%ebx |
movl %eax,56(%ebx) |
614,18 → 613,17 |
popl %ebx |
movl %ebx,68(%edi) |
|
#ifdef __VIRCSW__ |
movw SYMBOL_NAME(VM86_ret_ctx), %ax |
movw %ax,JmpSel |
movw SYMBOL_NAME(VM86_ret_ctx), %ax |
movw %ax,SYMBOL_NAME(currCtx) |
movw %ax,JmpSel |
ljmp *JmpZone |
#endif |
|
popl %gs |
popl %fs |
popl %es |
popl %ss |
popl %ds |
popal |
popl %gs |
popl %fs |
popl %es |
popl %ss |
popl %ds |
popal |
iret |
|
|