diff options
author | Christian Cunningham <cc@localhost> | 2022-02-01 21:06:42 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-01 21:06:42 -0700 |
commit | f4f23afb28268570d0da7f70bda6d2bcf760f839 (patch) | |
tree | 022572aead04205faca0972ac7ce441c4cc675d4 /include | |
parent | 7d3884b5cfc282dbdfe5d9a22d8b2b343280b8af (diff) |
Added SYSCALL number
Diffstat (limited to 'include')
-rw-r--r-- | include/cpu.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/cpu.h b/include/cpu.h index bac80e8..0f4993f 100644 --- a/include/cpu.h +++ b/include/cpu.h @@ -95,8 +95,9 @@ __attribute__((always_inline)) static inline unsigned long long get_sys_time(voi return t.llv; } -#define SYS_YIELD 0 -#define SYS_TIME 1 -#define SYS_SCHED 2 +#define SYS_YIELD 0 +#define SYS_TIME 1 +#define SYS_SCHED 2 +#define SYS_FREE_STACK 3 #endif |