From a00456084240e11e29fc5eaf9c34227491eaf1dc Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 16 Feb 2021 22:22:38 +0200 Subject: Add IDT --- drivers/ports.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/ports.h') diff --git a/drivers/ports.h b/drivers/ports.h index 8671f19..98cac72 100644 --- a/drivers/ports.h +++ b/drivers/ports.h @@ -53,3 +53,7 @@ typedef Port<0x3f8, uint8_t> com1_port_t; typedef Port<0x2f8, uint8_t> com2_port_t; typedef Port<0x3e8, uint8_t> com3_port_t; typedef Port<0x2e8, uint8_t> com4_port_t; + +/* 8259 PIC */ +typedef Port<0x20, uint8_t> pic1_t; +typedef Port<0xA0, uint8_t> pic2_t; -- cgit v1.2.1