Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
Macros
syscall.h File Reference

Go to the source code of this file.

Macros

#define SYSCALL_CNT   84
 
#define THREAD_INFO   1
 
#define SETPROGNAME   2
 
#define DELAY_TICKS   3
 
#define TASK_CREATE   4
 
#define MPOOL_ALLOC   5
 
#define MINFO   6
 
#define SCHED_YIELD   7
 
#define EXIT   8
 
#define MOUNT   9
 
#define OPEN   10
 
#define CLOSE   11
 
#define DUP   12
 
#define DUP2   13
 
#define FCNTL   14
 
#define READ   15
 
#define WRITE   16
 
#define IOCTL   17
 
#define LSEEK   18
 
#define FSTAT   19
 
#define OPENDIR   20
 
#define READDIR   21
 
#define GETCWD   22
 
#define CHDIR   23
 
#define GETPID   24
 
#define MKNOD   25
 
#define MKFIFO   26
 
#define MKDIR   27
 
#define CHMOD   28
 
#define UTIME   29
 
#define UMASK   30
 
#define RMDIR   31
 
#define UNLINK   32
 
#define STAT   33
 
#define RENAME   34
 
#define POLL   35
 
#define MQ_GETATTR   36
 
#define MQ_SETATTR   37
 
#define MQ_OPEN   38
 
#define MQ_CLOSE   39
 
#define MQ_UNLINK   40
 
#define MQ_RECEIVE   41
 
#define MQ_SEND   42
 
#define PTHREAD_CREATE   43
 
#define PTHREAD_SELF   44
 
#define PTHREAD_JOIN   45
 
#define PTHREAD_DETACH   46
 
#define PTHREAD_CANCEL   47
 
#define PTHREAD_SETSCHEDPARAM   48
 
#define PTHREAD_GETSCHEDPARAM   49
 
#define PTHREAD_YIELD   50
 
#define PTHREAD_KILL   51
 
#define PTHREAD_EXIT   52
 
#define PTHREAD_MUTEX_UNLOCK   53
 
#define PTHREAD_MUTEX_LOCK   54
 
#define PTHREAD_MUTEX_TRYLOCK   55
 
#define PTHREAD_MUTEX_TIMEDLOCK   56
 
#define PTHREAD_COND_SIGNAL   57
 
#define PTHREAD_COND_BROADCAST   58
 
#define PTHREAD_COND_WAIT   59
 
#define PTHREAD_COND_TIMEDWAIT   60
 
#define PTHREAD_ONCE   61
 
#define SEM_POST   62
 
#define SEM_TRYWAIT   63
 
#define SEM_WAIT   64
 
#define SEM_TIMEDWAIT   65
 
#define SEM_GETVALUE   66
 
#define SIGACTION   67
 
#define SIGWAIT   68
 
#define SIGWAITINFO   69
 
#define SIGTIMEDWAIT   70
 
#define KILL   71
 
#define RAISE   72
 
#define CLOCK_GETTIME   73
 
#define CLOCK_SETTIME   74
 
#define TIMER_CREATE   75
 
#define TIMER_DELETE   76
 
#define TIMER_SETTIME   77
 
#define TIMER_GETTIME   78
 
#define MQ_TIMEDSEND   79
 
#define MQ_TIMEDRECEIVE   80
 
#define MALLOC   81
 
#define FREE   82
 
#define PIPE   83
 
#define REALLOC   84
 
#define SYSCALL_RETURN_EVENT   85
 
#define SIGNAL_CLEANUP_EVENT   86
 
#define THREAD_RETURN_EVENT   87
 
#define THREAD_ONCE_EVENT   88
 
#define SYSCALL_TABLE_INIT