[Zion] Add a semaphore primitive with related syscalls.

This commit is contained in:
Drew Galbraith 2023-11-22 10:19:56 -08:00
parent 2df1f6c006
commit da3901e104
9 changed files with 107 additions and 1 deletions

View file

@ -88,6 +88,9 @@ extern "C" z_err_t SyscallHandler(uint64_t call_id, void* req) {
CASE(MutexCreate);
CASE(MutexLock);
CASE(MutexRelease);
CASE(SemaphoreCreate);
CASE(SemaphoreWait);
CASE(SemaphoreSignal);
// syscall/debug.h
CASE(Debug);
default: