AquilaOS documentation
How it works, and its code
Toggle main menu visibility
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. */
11
const
struct
platform_device
platform_devices
[] = {
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
};
platform_devices
const struct platform_device platform_devices[]
Definition
devices.c:11
IOADDR_MMIO8
#define IOADDR_MMIO8
Definition
io.h:90
system.h
platform.h
platform_device
A device of the platform's table.
Definition
platform.h:20
virt.h
VIRT_UART
#define VIRT_UART
Definition
virt.h:15
VIRT_UART_IRQ
#define VIRT_UART_IRQ
Definition
virt.h:24
kernel
arch
aarch64
platform
virt
devices.c
Generated by
1.18.0