|
PatchworkOS
c9fea19
A non-POSIX operating system.
|
#include <kernel/cpu/syscall.h>#include <stdint.h>#include <sys/io.h>#include <sys/proc.h>#include <time.h>Go to the source code of this file.
Macros | |
| #define | _SYSCALL0(retType, num) |
| #define | _SYSCALL1(retType, num, type1, arg1) |
| #define | _SYSCALL2(retType, num, type1, arg1, type2, arg2) |
| #define | _SYSCALL3(retType, num, type1, arg1, type2, arg2, type3, arg3) |
| #define | _SYSCALL4(retType, num, type1, arg1, type2, arg2, type3, arg3, type4, arg4) |
| #define | _SYSCALL5(retType, num, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5) |
| #define | _SYSCALL6(retType, num, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5, type6, arg6) |
| #define _SYSCALL0 | ( | retType, | |
| num | |||
| ) |
Definition at line 10 of file syscalls.h.
| #define _SYSCALL1 | ( | retType, | |
| num, | |||
| type1, | |||
| arg1 | |||
| ) |
Definition at line 17 of file syscalls.h.
| #define _SYSCALL2 | ( | retType, | |
| num, | |||
| type1, | |||
| arg1, | |||
| type2, | |||
| arg2 | |||
| ) |
Definition at line 25 of file syscalls.h.
| #define _SYSCALL3 | ( | retType, | |
| num, | |||
| type1, | |||
| arg1, | |||
| type2, | |||
| arg2, | |||
| type3, | |||
| arg3 | |||
| ) |
Definition at line 34 of file syscalls.h.
| #define _SYSCALL4 | ( | retType, | |
| num, | |||
| type1, | |||
| arg1, | |||
| type2, | |||
| arg2, | |||
| type3, | |||
| arg3, | |||
| type4, | |||
| arg4 | |||
| ) |
Definition at line 44 of file syscalls.h.
| #define _SYSCALL5 | ( | retType, | |
| num, | |||
| type1, | |||
| arg1, | |||
| type2, | |||
| arg2, | |||
| type3, | |||
| arg3, | |||
| type4, | |||
| arg4, | |||
| type5, | |||
| arg5 | |||
| ) |
Definition at line 58 of file syscalls.h.
| #define _SYSCALL6 | ( | retType, | |
| num, | |||
| type1, | |||
| arg1, | |||
| type2, | |||
| arg2, | |||
| type3, | |||
| arg3, | |||
| type4, | |||
| arg4, | |||
| type5, | |||
| arg5, | |||
| type6, | |||
| arg6 | |||
| ) |
Definition at line 73 of file syscalls.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |