diff options
author | Christian Cunningham <cc@localhost> | 2022-03-17 20:20:13 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-17 20:20:13 -0700 |
commit | fa64046e54f5af3d482d2dbcb2dcbff3458a952a (patch) | |
tree | 870a5e958603ea76ab488c25a99fa8f031f99390 /include/cpu.h | |
parent | c7f1e83a4273403a7974cc412934b7d73ad3297d (diff) |
Implemented semaphore
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 9bda3e8..393fe2f 100644 --- a/include/cpu.h +++ b/include/cpu.h @@ -94,5 +94,7 @@ static inline void* getirqstack(void) #define SYS_FREE_STACK 3 #define SYS_LOCK 4 #define SYS_UNLOCK 5 +#define SYS_SEMAPHORE_P 6 +#define SYS_SEMAPHORE_V 7 #endif |