Skip to content

Commit da43b82

Browse files
committed
set mask before enabling pic
1 parent adee056 commit da43b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

srcs/pic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ pub fn pic_set_interrupt_masks()
9898
}
9999

100100
pub fn setup_pic8259() {
101-
pic_remap(PIC1_INTERRUPT, PIC2_INTERRUPT);
102101
pic_set_interrupt_masks();
102+
pic_remap(PIC1_INTERRUPT, PIC2_INTERRUPT);
103103
}

0 commit comments

Comments
 (0)