23 #include <ubinos_config.h>
27 #define UBIK_ERR__SUCCESS 0
29 #define UBIK_ERR__FAIL -1
32 #define UBIK_ERR__TIMEOUT -20
34 #define UBIK_ERR__DEADLOCK -21
36 #define UBIK_ERR__TERMINATED -30
38 #define UBIK_ERR__OVERFLOWED -50
41 #define UBIK_TAG__USRSTART 0x8000
47 #define IDLEHOOKFUNC_OPT__REPEAT 0x00
49 #define IDLEHOOKFUNC_OPT__ONCE 0x80
265 const char * name,
unsigned int option);
ubik condition variable API
ubik high resolution tick API
unsigned int high
Definition: ubik.h:57
unsigned int low
Definition: ubik.h:58
void ubik_entercrit(void)
int ubik_getrtpriority(void)
int ubik_setrtpriority(int rtpriority)
unsigned int ubik_ticktotimems(unsigned int tick)
int ubik_setidletaskhookfunc(idletaskhookfunc_ft func, void *arg, const char *name, unsigned int option)
int(* idletaskhookfunc_ft)(void *)
Definition: ubik.h:44
int ubik_collectgarbage(void)
int ubik_settickhookfunc(tickhookfunc_ft tickhookfunc)
struct _tickcount_t tickcount_t
unsigned int ubik_gettickpersec(void)
void(* tickhookfunc_ft)(void)
Definition: ubik.h:52
tickcount_t ubik_gettickcount(void)
int ubik_comp_start(void)
unsigned long ubik_tickcouttotimems(tickcount_t tc)
int ubik_comp_init(unsigned int idle_stackdepth)
tickcount_t ubik_gettickdiff(tickcount_t tick1, tickcount_t tick2)
int ubik_printkernelinfo(void)
int ubik_sprintkernelinfo(char *buf, int max)
unsigned int ubik_timemstotick(unsigned int timems)