Squash commits for public release
This commit is contained in:
9
kernel/include/platform/arm64/syscalls/params.h
Normal file
9
kernel/include/platform/arm64/syscalls/params.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#define SYSCALL_VAR3(tf) (tf->x[2])
|
||||
#define SYSCALL_VAR4(tf) (tf->x[3])
|
||||
#define SYSCALL_VAR5(tf) (tf->x[4])
|
||||
#define return_val (tf->x[0])
|
||||
#define return_with_val(val) \
|
||||
(return_val = val); \
|
||||
return
|
||||
|
||||
#endif // _KERNEL_PLATFORM_ARM64_SYSCALLS_PARAMS_H
|
||||
Reference in New Issue
Block a user