AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
devices.c
Go to the documentation of this file.
1
5
6#include <core/system.h>
7#include <dev/platform.h>
8
10 /* the serial ports, COM1 and COM2 (the driver checks that they are
11 * there) */
12 {
13 .name = "8250",
14 .io = {.type = IOADDR_PORT, .addr = 0x3F8}, .size = 8,
15 .nirq = 1, .irq = {4},
16 },
17 {
18 .name = "8250",
19 .io = {.type = IOADDR_PORT, .addr = 0x2F8}, .size = 8,
20 .nirq = 1, .irq = {3},
21 },
22 /* the keyboard controller, with the keyboard's interrupt and the
23 * mouse's */
24 {
25 .name = "i8042",
26 .io = {.type = IOADDR_PORT, .addr = 0x60}, .size = 5,
27 .nirq = 2, .irq = {1, 12},
28 },
29 {0},
30};
const struct platform_device platform_devices[]
Definition devices.c:11
#define IOADDR_PORT
Definition io.h:89
A device of the platform's table.
Definition platform.h:20