From a0d6941b2ef689302dce37d1a864fd4213a0a559 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 13 Feb 2022 17:13:17 -0700 Subject: Implement generic lock --- include/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cpu.h') diff --git a/include/cpu.h b/include/cpu.h index c200016..6dbaa74 100644 --- a/include/cpu.h +++ b/include/cpu.h @@ -91,5 +91,7 @@ static inline void* getirqstack(void) #define SYS_TIME 1 #define SYS_SCHED 2 #define SYS_FREE_STACK 3 +#define SYS_LOCK 4 +#define SYS_UNLOCK 5 #endif -- cgit v1.2.1