BSDL Device Tree Compiler
|
Public Member Functions | |
virtual void | write_label (string name) |
virtual void | write_comment (string name) |
virtual void | write_string (string name) |
virtual void | write_data (uint8_t v) |
virtual void | write_data (uint32_t v) |
virtual void | write_data (uint64_t v) |
virtual void | write_to_file (int fd) |
virtual uint32_t | size () |
Public Member Functions inherited from dtc::dtb::output_writer | |
void | write_token (token_type t) |
void | write_data (byte_buffer b) |
Binary file writer. This class is responsible for writing the DTB output directly in blob format.
|
inlinevirtual |
Returns the number of bytes.
Implements dtc::dtb::output_writer.
|
inlinevirtual |
Comments are ignored by the binary writer.
Implements dtc::dtb::output_writer.
|
inlinevirtual |
Writes a single 8-bit value.
Implements dtc::dtb::output_writer.
|
inlinevirtual |
Writes a single 32-bit value. The value is written in big-endian format, but should be passed in the host's native endian.
Implements dtc::dtb::output_writer.
|
inlinevirtual |
Writes a single 64-bit value. The value is written in big-endian format, but should be passed in the host's native endian.
Implements dtc::dtb::output_writer.
|
inlinevirtual |
The binary format does not support labels, so this method does nothing.
Implements dtc::dtb::output_writer.
|
inlinevirtual |
Writes a string. A nul terminator is implicitly added.
Implements dtc::dtb::output_writer.
|
inlinevirtual |
Writes the collected output to the specified file descriptor.
Implements dtc::dtb::output_writer.