diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-30 15:30:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-30 15:30:09 +0200 |
commit | f91fbbf4b8e6fbe70b792ee52521076f28e1da14 (patch) | |
tree | 6138934cf08e2f8f39bbb8bfff92461b8a72ae0d /c/src/lib/libbsp/i386/shared/irq/irq_asm.S | |
parent | SMP: Fix and optimize thread dispatching (diff) | |
download | rtems-f91fbbf4b8e6fbe70b792ee52521076f28e1da14.tar.bz2 |
bsps/i386: Interrupt server support
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/shared/irq/irq_asm.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/shared/irq/irq_asm.S b/c/src/lib/libbsp/i386/shared/irq/irq_asm.S index 5ea84e5ea3..d0ed9b626c 100644 --- a/c/src/lib/libbsp/i386/shared/irq/irq_asm.S +++ b/c/src/lib/libbsp/i386/shared/irq/irq_asm.S @@ -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 |