AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
devices.c File Reference

The PC's devices that no bus finds (see dev/platform.h), at the ports and ISA interrupts that every PC has them on. More...

#include <core/system.h>
#include <dev/platform.h>

Go to the source code of this file.

Variables

const struct platform_device platform_devices []

Detailed Description

The PC's devices that no bus finds (see dev/platform.h), at the ports and ISA interrupts that every PC has them on.

Definition in file devices.c.

Variable Documentation

◆ platform_devices

const struct platform_device platform_devices[]
Initial value:
= {
{
.name = "8250",
.io = {.type = IOADDR_PORT, .addr = 0x3F8}, .size = 8,
.nirq = 1, .irq = {4},
},
{
.name = "8250",
.io = {.type = IOADDR_PORT, .addr = 0x2F8}, .size = 8,
.nirq = 1, .irq = {3},
},
{
.name = "i8042",
.io = {.type = IOADDR_PORT, .addr = 0x60}, .size = 5,
.nirq = 2, .irq = {1, 12},
},
{0},
}
#define IOADDR_PORT
Definition io.h:89

Definition at line 9 of file devices.c.