#ifndef __R_KERNEL_H__ #define __R_KERNEL_H__ #include "RIDHAOS_CONF.h" #include "ridhaOsScheduler.h" /* This Struct used to restore next thread and save the running thread */ typedef struct tControlBlock { int32_t * stackPt; struct tControlBlock * nextPt; }tControlBlock_t; /* Define typdef of static task to execute in the future */ #if (USE_STATIC_THREAD) typedef void(*StaticTask)(void); #endif uint8_t ridhaOsAddThreads(StaticTask fn0, StaticTask fn1, StaticTask fn2); void ridhaOsStart(void); #endif /* __R_KERNEL_H__ */