BSDL Device Tree Compiler
|
Classes | |
struct | output_writer |
class | binary_writer |
class | asm_writer |
struct | header |
Enumerations | |
enum | token_type { FDT_BEGIN_NODE = 0x00000001, FDT_END_NODE = 0x00000002, FDT_PROP = 0x00000003, FDT_NOP = 0x00000004, FDT_END = 0x00000009 } |
Functions | |
const char * | token_type_name (token_type t) |
The dtb namespace contains code related to the generation of device tree blobs, the binary representation of flattened device trees. The abstract tree representation calls into this code to generate the output.
enum dtc::dtb::token_type |
The token types in the DTB, as defined by ยง7.4.1 of the ePAPR specification. All of these values are written in big-endian format in the output.
const char* dtc::dtb::token_type_name | ( | token_type | t | ) |
Returns the token as a string. This is used for debugging and for printing human-friendly error messages about malformed DTB input.