Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 304 → Rev 305

/shark/trunk/oslib/kl/timeint.s
57,15 → 57,17
pushw %es
pushw %fs
pushw %gs
 
cli
 
/* Send ACK to APIC */
movl $0xFEE000B0,%ebx
movl $0,(%ebx)
movw $(X_FLATDATA_SEL),%ax
movw %ax,%ds
movw %ax,%es
 
/* Send EOI to APIC */
movl $0xFEE000B0,%ebx
movl $0,(%ebx)
 
/* Call wake_up(actual_context) */
movl SYMBOL_NAME(ll_clock),%eax
131,6 → 133,9
movl SYMBOL_NAME(last_handler), %ebx
call *%ebx
apic_nohandler:
 
sti
 
popw %gs
popw %fs
popw %es
152,17 → 157,18
pushw %es
pushw %fs
pushw %gs
 
cli
 
/* Send ACK to master PIC */
movb $0x20,%al
movl $0x20,%edx
outb %al,%dx
movw $(X_FLATDATA_SEL),%ax
movw %ax,%ds
movw %ax,%es
 
/* Send EOI to master PIC */
/* to perform later the overrun test */
movb $0x20,%al
movl $0x20,%edx
outb %al,%dx
 
/* Call wake_up(actual_context) */
movl SYMBOL_NAME(ll_clock),%eax
243,6 → 249,9
movl SYMBOL_NAME(last_handler), %ebx
call *%ebx
nohandler:
 
sti
 
popw %gs
popw %fs
popw %es