iPXE
Data Fields
fdt Struct Reference

A device tree. More...

#include <fdt.h>

Data Fields

union {
   struct fdt_header *   hdr
 Tree header. More...
 
   void *   raw
 Raw data. More...
 
}; 
 Tree data. More...
 
size_t len
 Length of tree. More...
 
size_t used
 Used length of tree. More...
 
unsigned int structure
 Offset to structure block. More...
 
size_t structure_len
 Length of structure block. More...
 
unsigned int strings
 Offset to strings block. More...
 
size_t strings_len
 Length of strings block. More...
 
unsigned int reservations
 Offset to memory reservation block. More...
 
int(* realloc )(struct fdt *fdt, size_t len)
 Reallocate device tree. More...
 

Detailed Description

A device tree.

Definition at line 88 of file fdt.h.

Field Documentation

◆ hdr

struct fdt_header* fdt::hdr

Tree header.

Definition at line 92 of file fdt.h.

Referenced by fdt_insert(), fdt_insert_nop(), fdt_insert_string(), fdt_parse(), and fdt_urealloc().

◆ raw

void* fdt::raw

◆ @616

union { ... }

Tree data.

◆ len

size_t fdt::len

◆ used

size_t fdt::used

Used length of tree.

Definition at line 99 of file fdt.h.

Referenced by fdt_insert(), fdt_parse(), and fdt_urealloc().

◆ structure

unsigned int fdt::structure

Offset to structure block.

Definition at line 101 of file fdt.h.

Referenced by fdt_describe(), fdt_ensure_child(), fdt_insert(), fdt_insert_nop(), fdt_nop(), fdt_parse(), and fdt_set().

◆ structure_len

size_t fdt::structure_len

Length of structure block.

Definition at line 103 of file fdt.h.

Referenced by fdt_insert(), fdt_insert_nop(), and fdt_parse().

◆ strings

unsigned int fdt::strings

Offset to strings block.

Definition at line 105 of file fdt.h.

Referenced by fdt_describe(), fdt_insert(), fdt_insert_string(), and fdt_parse().

◆ strings_len

size_t fdt::strings_len

Length of strings block.

Definition at line 107 of file fdt.h.

Referenced by fdt_describe(), fdt_insert(), fdt_insert_string(), and fdt_parse().

◆ reservations

unsigned int fdt::reservations

Offset to memory reservation block.

Definition at line 109 of file fdt.h.

Referenced by fdt_insert(), fdt_parse(), and fdt_reservations().

◆ realloc

int( * fdt::realloc) (struct fdt *fdt, size_t len)

Reallocate device tree.

Parameters
fdtDevice tree
lenNew length
Return values
rcReturn status code

Definition at line 116 of file fdt.h.

Referenced by fdt_create(), and fdt_insert().


The documentation for this struct was generated from the following file: