diff options
author | Christian Cunningham <cc@localhost> | 2022-02-13 17:13:17 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-13 17:13:17 -0700 |
commit | a0d6941b2ef689302dce37d1a864fd4213a0a559 (patch) | |
tree | 10376ed4d35fb6d89a4fb0bb2cb1c4228ddb6d98 /include/cpu.h | |
parent | 22b2957d4610f201bd2d365d42de285478093c01 (diff) |
Implement generic lock
Diffstat (limited to 'include/cpu.h')
-rw-r--r-- | include/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |