zephyr::raw

Function sys_heap_init

Source
pub unsafe extern "C" fn sys_heap_init(
    heap: *mut sys_heap,
    mem: *mut c_void,
    bytes: usize,
)
Expand description

@brief Initialize sys_heap

Initializes a sys_heap struct to manage the specified memory.

@param heap Heap to initialize @param mem Untyped pointer to unused memory @param bytes Size of region pointed to by @a mem