Crate deforest

Crate deforest 

Source
Expand description

Efficient #![no_std] parser for devicetree blobs compliant (hopefully) with version 0.4 of the specification.

Re-exports§

pub use fallible_iterator;

Modules§

alloc
Features depending on memory allocation.
blob
Interface for low-level parsing of a devicetree blob.
model
Higher level of abstraction. This is very incomplete; consider creating your own types instead.
prop_value
Types representing property values.
util
Utility functions.

Structs§

MemReserveEntries
An iterator over the MemReserveEntry from a Devicetree blob’s memory reservation block.
MemReserveEntry
An entry from a blob’s memory reservation block, obtained from MemReserveEntries.
NodeContext
Holds information for deserialization.

Enums§

BlobError
Any error related to the blob representation caused by this crate.
Error
Any error caused by this crate.

Traits§

DeserializeNode
Types that can be parsed from a devicetree node.
DeserializeProperty
Types that can be parsed from a devicetree property.
Path
Absolute path of an item.
PushDeserializedNode
Types that can collect several devicetree nodes.

Type Aliases§

Cells
Number of 4-byte cells. This crate has an upper limit of 4 cells, but that is not part of the spec.
Phandle
Numerical identifier for a node.
Result

Derive Macros§

DeserializeNode
Derive macro generating an impl of the trait DeserializeNode.