KernOS
ports.h
Go to the documentation of this file.
1 //
2 // Created by 8/14/20.
3 //
4 
5 #ifndef KERNOS_PORTS_H
6 #define KERNOS_PORTS_H
7 
8 namespace PORTS
9 {
10  enum PORT : uint16_t
11  {
12  // Programmable Interrupt Controller ports
13  PIC1_COMMAND = 0x20,
14  PIC1_DATA = 0x21,
15  PIC2_COMMAND = 0xA0,
16  PIC2_DATA = 0xA1,
17 
18  // Programmable Interval Timer ports
19  PIT_CHANNEL_O = 0x40,
20  PIT_CHANNEL_1 = 0x41,
21  PIT_CHANNEL_2 = 0x42,
22  PIT_COMMAND = 0x43
23  };
24 }
25 
26 
27 #endif //KERNOS_PORTS_H
Definition: ports.h:8
PORT
Definition: ports.h:10