[zion] Move thread syscalls to the new format.
This commit is contained in:
parent
c6dd0bbb0f
commit
f755cd38fe
9 changed files with 65 additions and 65 deletions
|
|
@ -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; \
|
||||
} \
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue