MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / write_fdt_to_memory

Function write_fdt_to_memory

arch/src/aarch64/fdt.rs:262–268  ·  view source on GitHub ↗
(fdt_final: &[u8], guest_mem: &GuestMemoryMmap)

Source from the content-addressed store, hash-verified

260}
261
262pub fn write_fdt_to_memory(fdt_final: &[u8], guest_mem: &GuestMemoryMmap) -> Result<()> {
263 // Write FDT to memory.
264 guest_mem
265 .write_slice(fdt_final, super::layout::FDT_START)
266 .map_err(Error::WriteFdtToMemory)?;
267 Ok(())
268}
269
270// Following are the auxiliary function for creating the different nodes that we append to our FDT.
271fn create_cpu_nodes(

Callers 1

configure_systemFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected