| Crates.io | hermit-dtb |
| lib.rs | hermit-dtb |
| version | 0.1.1 |
| created_at | 2023-04-26 06:50:10.96938+00 |
| updated_at | 2023-04-26 07:08:20.917304+00 |
| description | Crate to parse Flattened Device Trees (FDT) / Device Tree Blobs (DTB) in a `no_std` environment. |
| homepage | |
| repository | https://github.com/hermitcore/hermit-dtb |
| max_upload_size | |
| id | 849094 |
| size | 36,791 |
Crate to parse Flattened Device Trees (FDT)/Device Tree Blobs (DTB) in a no_std environment.
Performs no dynamic memory allocations and can therefore be universally used for operating system development.
Originally written for the AArch64 port of HermitCore-rs, hence the name.
/uart@ reliably yields /uart@fe001000 if that is the only UART device).unsafe is only used when accessing the in-memory DTB in the first place (unavoidable) and for performance reasons (e.g. str::from_utf8_unchecked).parse_dtb example tool to demonstrate the features.boot_cpuid_phys value.The hermit-dtb crate has been written by Colin Finck (colin.finck@rwth-aachen.de).