my solution to lab5

This commit is contained in:
winPond
2019-07-11 19:40:12 +08:00
parent 1f043fb694
commit f78713349c
364 changed files with 8775 additions and 3249 deletions

View File

@@ -102,6 +102,9 @@ serial_init(void)
(void) inb(COM1+COM_IIR);
(void) inb(COM1+COM_RX);
// Enable serial interrupts
if (serial_exists)
irq_setmask_8259A(irq_mask_8259A & ~(1<<IRQ_SERIAL));
}