bsps/i386: Interrupt server support

This commit is contained in:
Sebastian Huber
2015-09-30 15:30:09 +02:00
parent 258ad71e96
commit f91fbbf4b8
4 changed files with 22 additions and 5 deletions

View File

@@ -214,7 +214,9 @@ nested:
cmp ecx, 16 /* is this a PIC IRQ? */
jge .dont_restore_i8259
movw SYM (i8259s_super_imr), dx
movl MSK_OFF(esp), eax
orw dx, ax
movw ax, SYM (i8259s_cache)
outb $PIC_MASTER_IMR_IO_PORT
movb ah, al