Description
Initialize Kernel Abstraction Layer (KAL).
Files
kal.h / kal.c
Prototype
Arguments
p_cfg
Pointer to KAL configuration structure. DEF_NULL
can be used.
p_err
Pointer to variable that will receive the return error code from this function.
KAL_ERR_NONE
KAL_ERR_OS
KAL_ERR_ALREADY_INIT
KAL_ERR_MEM_ALLOC
KAL_ERR_POOL_INIT
Returned Value
None.
Callers
Application, if using specific memory segment.
Products, otherwise.
Notes / Warnings
- Mem_Init() must be called before calling
KAL_Init()
.