From f4f23afb28268570d0da7f70bda6d2bcf760f839 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Tue, 1 Feb 2022 21:06:42 -0700 Subject: Added SYSCALL number --- include/cpu.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include') 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 -- cgit v1.2.1