syscall: add basic syscall entry
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
1b8fe6b24d
commit
c01b1d7eee
12 changed files with 154 additions and 15 deletions
11
include/kernel/syscall.h
Normal file
11
include/kernel/syscall.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _SYSCALL_H_
|
||||
#define _SYSCALL_H_
|
||||
|
||||
#include <kernel/types.h>
|
||||
|
||||
typedef ssize_t (*syscall_t)(u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6);
|
||||
|
||||
syscall_t get_syscall(u64 no);
|
||||
|
||||
#endif /* _SYSCALL_H_ */
|
||||
Loading…
Reference in a new issue