Skip to main content

SYS_MODULE_LOAD

Constant SYS_MODULE_LOAD 

Source
pub const SYS_MODULE_LOAD: usize = 700;
Expand description

Load a kernel module from a CMOD binary.

  • path_ptr: pointer to the module path string
  • path_len: length of the path

Returns a module ID on success. The module is loaded into the kernel address space and its init function is called.