aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-02-16 22:22:38 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-02-16 22:22:38 +0200
commita00456084240e11e29fc5eaf9c34227491eaf1dc (patch)
treed1987768f9f99616883e865b09d720a221427160 /drivers
parentAdd grub build instructions (diff)
downloadkernel.cpp-a00456084240e11e29fc5eaf9c34227491eaf1dc.tar.xz
Add IDT
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ports.h4
1 files changed, 4 insertions, 0 deletions
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;