Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fdt.h File Reference

Xen boot device tree access. More...

#include <stdint.h>

Go to the source code of this file.

Functions

int xen_fdt_get (const uint8_t **fdt, uint32_t *fdt_size)
 Get the copied Xen boot device tree.

Detailed Description

Xen boot device tree access.

Function Documentation

◆ xen_fdt_get()

int xen_fdt_get ( const uint8_t ** fdt,
uint32_t * fdt_size )

Get the copied Xen boot device tree.

Attention
Available only when the following Kconfig option is enabled:
CONFIG_XEN_FDT 
.

The returned pointer refers to the Zephyr-owned copy made from the Xen boot firmware arguments during early boot.

Parameters
fdtOutput for the copied FDT pointer.
fdt_sizeOutput for the copied FDT size in bytes.
Return values
0If the copied FDT is available.
-EINVALIf fdt or fdt_size is NULL.
-ENOENTIf no valid FDT copy has been recorded.