AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
boot.h
Go to the documentation of this file.
1#ifndef _AARCH64_BOOT_H
2#define _AARCH64_BOOT_H
3
4#include_next <boot/boot.h>
5
6/* Reads the boot loader's devicetree into the kernel's struct boot (the
7 * platform's, platform/virt/fdt.c). `dtb` is the devicetree's physical
8 * address, which the boot loader passes in x0. */
9struct boot *fdt_boot(uintptr_t dtb);
10
11#endif /* ! _AARCH64_BOOT_H */
struct boot * fdt_boot(uintptr_t dtb)
Reads the boot loader's devicetree into a struct boot.
Definition fdt.c:78
__SIZE_TYPE__ uintptr_t
Definition stddef.h:12
Definition boot.h:35