C userspace programs
This commit is contained in:
14
ulib/syscall/syscall.h
Normal file
14
ulib/syscall/syscall.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef ULIB_SYSCALL_SYSCALL_H_
|
||||
#define ULIB_SYSCALL_SYSCALL_H_
|
||||
|
||||
#define SYS_DEBUGPRINT 1
|
||||
#define SYS_QUITPROC 2
|
||||
|
||||
#if !defined(__ASSEMBLER__)
|
||||
|
||||
uint64_t syscall(uint64_t num, uint64_t arg1, uint64_t arg2,
|
||||
uint64_t arg3, uint64_t arg4, uint64_t arg5, uint64_t arg6);
|
||||
|
||||
#endif // ! __ASSEMBLER__
|
||||
|
||||
#endif // ULIB_SYSCALL_SYSCALL_H_
|
Reference in New Issue
Block a user