diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-16 22:22:38 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-16 22:22:38 +0200 |
commit | a00456084240e11e29fc5eaf9c34227491eaf1dc (patch) | |
tree | d1987768f9f99616883e865b09d720a221427160 /drivers/ports.h | |
parent | Add grub build instructions (diff) | |
download | kernel.cpp-a00456084240e11e29fc5eaf9c34227491eaf1dc.tar.xz |
Add IDT
Diffstat (limited to 'drivers/ports.h')
-rw-r--r-- | drivers/ports.h | 4 |
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; |