Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 444 → Rev 443

/shark/trunk/oslib/xlib/exc.s
43,6 → 43,7
 
.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)
64,7 → 65,7
INT(13)
INT(14)
INT(15)
NONE(16)
INT(16)
INT(17)
INT(18)
INT(19)
581,22 → 582,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
movw %ax,%ds
movw %ax,%fs
movw %ax,%gs
mov %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)
613,17 → 614,18
popl %ebx
movl %ebx,68(%edi)
 
movw SYMBOL_NAME(VM86_ret_ctx), %ax
movw %ax,SYMBOL_NAME(currCtx)
movw %ax,JmpSel
#ifdef __VIRCSW__
movw SYMBOL_NAME(VM86_ret_ctx), %ax
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