API for initizalizing the system abstraction library. More...
Functions | |
void | sys_init (void *p_start, size_t size) |
Initializes every component of this stack. More... | |
API for initizalizing the system abstraction library.
void sys_init | ( | void * | p_start, |
size_t | size | ||
) |
Initializes every component of this stack.
This function must be called before using any of the components.
[in] | p_start | Pool start address. |
[in] | size | Size of the pool in bytes. |
The pool start address must be aligned on the ALIGN_VALUE boundary, which is defined in sys_utils.h
. The pool size should be multiple of an ALIGN_VALUE, which is defined in sys_utils.h
.