Function relocate_fdt

Source
pub fn relocate_fdt(dest_ptr: *mut u8) -> MemoryArea
Expand description

Relocates the FDT to safe memory.

This function allocates memory for the FDT and relocates it to that address.

ยงPanic

This function will panic if the FDT has already been relocated or if the memory allocation fails.