21 lines
690 B
C
21 lines
690 B
C
#ifndef _LUNA_SYSCALL_H
|
|
#define _LUNA_SYSCALL_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
long __luna_syscall0(long sys_num);
|
|
long __luna_syscall1(long sys_num, unsigned long arg0);
|
|
long __luna_syscall2(long sys_num, unsigned long arg0, unsigned long arg1);
|
|
long __luna_syscall3(long sys_num, unsigned long arg0, unsigned long arg1, unsigned long arg2);
|
|
long __luna_syscall4(long sys_num, unsigned long arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3);
|
|
long __luna_syscall5(long sys_num, unsigned long arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3,
|
|
unsigned long arg4);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |