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#include <platform/virt.h>
9
10/* The platform's device table: the PL011 UART. */
12 {
13 .name = "pl011",
14 .io = {.type = IOADDR_MMIO8, .addr = VIRT_UART}, .size = 0x1000,
15 .nirq = 1, .irq = {VIRT_UART_IRQ},
16 },
17 {0},
18};
const struct platform_device platform_devices[]
Definition devices.c:11
#define IOADDR_MMIO8
Definition io.h:90
A device of the platform's table.
Definition platform.h:20
#define VIRT_UART
Definition virt.h:15
#define VIRT_UART_IRQ
Definition virt.h:24