aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-01 21:06:42 -0700
committerChristian Cunningham <cc@localhost>2022-02-01 21:06:42 -0700
commitf4f23afb28268570d0da7f70bda6d2bcf760f839 (patch)
tree022572aead04205faca0972ac7ce441c4cc675d4 /include
parent7d3884b5cfc282dbdfe5d9a22d8b2b343280b8af (diff)
Added SYSCALL number
Diffstat (limited to 'include')
-rw-r--r--include/cpu.h7
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