Skip to main content

init_common_devices

Function init_common_devices 

Source
pub fn init_common_devices(kernel: &Kernel) -> Result<(), Errno>
Expand description

Initializes common devices in Kernel.

When KernelFeatures::devtmpfs is enabled, adding device nodes to devtmpfs dispatches work to kernel.kthreads, so this function must be called after kernel.kthreads has been initialized.