15 lines
280 B
C
15 lines
280 B
C
#ifndef __R_KERNEL_H__
|
|
#define __R_KERNEL_H__
|
|
|
|
#include "RIDHAOS_CONF.h"
|
|
|
|
/* This Struct used to restore next thread and save the running thread */
|
|
typedef struct tControlBlock
|
|
{
|
|
int32_t * stackPt;
|
|
struct tControlBlock * nextPt;
|
|
}tControlBlock_t;
|
|
|
|
|
|
|
|
#endif /* __R_THREAD_H__ */ |