60#include <TargConfig.h>
96#define SeCtx_setStackTop(o, stackMark) \
97 (*(stackMark)=1,(o)->stackTop=stackMark,setjmp((o)->startContext))
101void SeCtx_destructor(
SeCtx* o);
114#define SeCtx_destructor(o)
117void SeCtx_save(
SeCtx* o);
119void SeCtx_restore(
SeCtx* o);
void SeCtx_panic(SeCtx *o, U32 size)
Function you must implement.
void SeCtx_constructor(SeCtx *o, SeCtxTask t, void *buf, int bufLen)
Create a Context Manager instance.
void(* SeCtxTask)(struct SeCtx *ctx)
The task/thread entry point.
Definition: SeCtx.h:65
struct SeCtx SeCtx
SeCtx structure: See Context Manager and Bare Metal Systems for details.
SeCtx structure: See Context Manager and Bare Metal Systems for details.
Definition: SeCtx.h:71