[zion] Move thread syscalls to the new format.

This commit is contained in:
Drew Galbraith 2023-06-20 14:10:28 -07:00
parent c6dd0bbb0f
commit f755cd38fe
9 changed files with 65 additions and 65 deletions

View file

@ -7,3 +7,10 @@ void InitSyscall();
// FIXME: This probably belongs in capability.h
z_err_t ValidateCap(const RefPtr<Capability>& cap, uint64_t permissions);
#define RET_IF_NULL(expr) \
{ \
if (!expr) { \
return Z_ERR_CAP_TYPE; \
} \
}