mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Implementation for userspace interpreter
This commit is contained in:
@ -210,6 +210,11 @@ enum SyscallsErrorCodes
|
||||
SYSCALL_OK = 0,
|
||||
};
|
||||
|
||||
static inline bool IsSyscallError(long ret)
|
||||
{
|
||||
return ret < 0;
|
||||
}
|
||||
|
||||
static inline long syscall0(long syscall)
|
||||
{
|
||||
unsigned long ret;
|
||||
|
Reference in New Issue
Block a user