Skip to main content

init_block_device_from_dtb

Function init_block_device_from_dtb 

Source
pub unsafe fn init_block_device_from_dtb(
    dtb_ptr: u64,
) -> Option<&'static mut dyn BlockDevice>
Expand description

Initialize a block device from the Device Tree.

ยงSafety

dtb_ptr must point to a valid flattened device tree.