Crate fuchsia_zbi_abi

source ·


Defines the Rust version of zbi_topology_node_t in zircon/system/public/zircon/boot/image.h.


Defines the types supported by the Rust ZBI parser. This is a subset from zircon/system/public/zircon/boot/image.h, and should be updated as needed.


Must be in the extra field for headers of type ZbiType::Container.
If the header contains this flag, the CRC32 field must contain a valid CRC32. Otherwise, the CRC32 field must contain ZBI_ITEM_NO_CRC32.
Always required.
Every header type must have this magic value.
The CRC32 field must be set to this when not using CRC32.


Define a container header that describes a container content length of length.