MOS Source Code
Loading...
Searching...
No Matches
fdt.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fdt_header
 
struct  fdt_reserve_entry
 
struct  fdt_node_header
 
struct  fdt_property
 

Macros

#define FDT_MAGIC   0xd00dfeed /* 4: version, 4: total size */
 
#define FDT_TAGSIZE   sizeof(fdt32_t)
 
#define FDT_BEGIN_NODE   0x1 /* Start node: full name */
 
#define FDT_END_NODE   0x2 /* End node */
 
#define FDT_PROP
 
#define FDT_NOP   0x4 /* nop */
 
#define FDT_END   0x9
 
#define FDT_V1_SIZE   (7*sizeof(fdt32_t))
 
#define FDT_V2_SIZE   (FDT_V1_SIZE + sizeof(fdt32_t))
 
#define FDT_V3_SIZE   (FDT_V2_SIZE + sizeof(fdt32_t))
 
#define FDT_V16_SIZE   FDT_V3_SIZE
 
#define FDT_V17_SIZE   (FDT_V16_SIZE + sizeof(fdt32_t))
 

Macro Definition Documentation

◆ FDT_MAGIC

#define FDT_MAGIC   0xd00dfeed /* 4: version, 4: total size */

◆ FDT_TAGSIZE

#define FDT_TAGSIZE   sizeof(fdt32_t)

◆ FDT_BEGIN_NODE

#define FDT_BEGIN_NODE   0x1 /* Start node: full name */

◆ FDT_END_NODE

#define FDT_END_NODE   0x2 /* End node */

Definition at line 57 of file fdt.h.

Referenced by fdt_add_subnode_namelen(), fdt_end_node(), fdt_next_node(), and fdt_next_tag().

◆ FDT_PROP

#define FDT_PROP
Value:
0x3 /* Property: name off,
size, content */

Definition at line 58 of file fdt.h.

Referenced by fdt_add_property_(), fdt_add_subnode_namelen(), fdt_check_prop_offset_(), fdt_finish(), fdt_next_node(), fdt_next_tag(), fdt_property_placeholder(), and nextprop_().

◆ FDT_NOP

#define FDT_NOP   0x4 /* nop */

◆ FDT_END

#define FDT_END   0x9

Definition at line 60 of file fdt.h.

Referenced by fdt_finish(), fdt_next_node(), fdt_next_tag(), fdt_open_into(), and nextprop_().

◆ FDT_V1_SIZE

#define FDT_V1_SIZE   (7*sizeof(fdt32_t))

Definition at line 62 of file fdt.h.

Referenced by fdt_header_size_().

◆ FDT_V2_SIZE

#define FDT_V2_SIZE   (FDT_V1_SIZE + sizeof(fdt32_t))

Definition at line 63 of file fdt.h.

Referenced by fdt_header_size_().

◆ FDT_V3_SIZE

#define FDT_V3_SIZE   (FDT_V2_SIZE + sizeof(fdt32_t))

Definition at line 64 of file fdt.h.

Referenced by fdt_header_size_().

◆ FDT_V16_SIZE

#define FDT_V16_SIZE   FDT_V3_SIZE

Definition at line 65 of file fdt.h.

Referenced by fdt_header_size_().

◆ FDT_V17_SIZE

#define FDT_V17_SIZE   (FDT_V16_SIZE + sizeof(fdt32_t))

Definition at line 66 of file fdt.h.

Referenced by fdt_header_size(), and fdt_header_size_().