58,14 → 58,16 |
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 |
153,16 → 158,17 |
pushw %fs |
pushw %gs |
|
movw $(X_FLATDATA_SEL),%ax |
movw %ax,%ds |
movw %ax,%es |
cli |
|
/* Send EOI to master PIC */ |
/* to perform later the overrun test */ |
/* 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 |
|
/* 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 |