summaryrefslogtreecommitdiff
path: root/i386/i386at/interrupt.S
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/interrupt.S')
-rw-r--r--i386/i386at/interrupt.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/i386/i386at/interrupt.S b/i386/i386at/interrupt.S
index 9f159c5c..3afebc86 100644
--- a/i386/i386at/interrupt.S
+++ b/i386/i386at/interrupt.S
@@ -51,8 +51,9 @@ ENTRY(interrupt)
jl 1f /* no, skip it */
outb %al,$(PIC_SLAVE_ICW)
1:
- movb $0,%al /* empty mask */
+ movl EXT(curr_pic_mask),%eax /* PIC mask to restore */
outb %al,$(PIC_MASTER_OCW) /* unmask master */
+ movb %ah,%al /* shuffle byte */
outb %al,$(PIC_SLAVE_OCW) /* unmask slave */
ret /* return */
END(interrupt)