mirror of
https://github.com/ipxe/ipxe
synced 2026-01-29 12:29:13 +03:00
[fdt] Provide the ability to create a device tree for a booted OS
Provide fdt_create() to create a device tree to be passed to a booted operating system. The device tree will be created from the FDT image (if present), falling back to the system device tree (if present). Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -109,5 +109,7 @@ extern int fdt_mac ( struct fdt *fdt, unsigned int offset,
|
||||
struct net_device *netdev );
|
||||
extern int fdt_parse ( struct fdt *fdt, struct fdt_header *hdr,
|
||||
size_t max_len );
|
||||
extern int fdt_create ( struct fdt_header **hdr );
|
||||
extern void fdt_remove ( struct fdt_header *hdr );
|
||||
|
||||
#endif /* _IPXE_FDT_H */
|
||||
|
||||
Reference in New Issue
Block a user