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
PORTS::PIC1_DATA
Definition:
ports.h:14
PORTS::PIT_COMMAND
Definition:
ports.h:22
PORTS
Definition:
ports.h:8
PORTS::PIC2_COMMAND
Definition:
ports.h:15
PORTS::PORT
PORT
Definition:
ports.h:10
PORTS::PIT_CHANNEL_1
Definition:
ports.h:20
PORTS::PIT_CHANNEL_O
Definition:
ports.h:19
PORTS::PIT_CHANNEL_2
Definition:
ports.h:21
PORTS::PIC2_DATA
Definition:
ports.h:16
PORTS::PIC1_COMMAND
Definition:
ports.h:13
OS
include
ports.h
Generated by
1.8.13