devela::_dep::nc

Function kexec_file_load

pub unsafe fn kexec_file_load<P>(
    kernel_fd: i32,
    initrd_fd: i32,
    cmdline: P,
    flags: u32,
) -> Result<(), i32> 
where P: AsRef<Path>,
Available on crate feature dep_nc only.
Expand description

Load a new kernel for later execution.