kern

view src/syscall.h @ 63:f44bec97a0ec

added errno.h in klibc
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 17 Aug 2011 05:42:44 +0300
parents 437360696883
children 3941e82b07f2
line source
1 #ifndef SYSCALL_H_
2 #define SYSCALL_H_
4 #define SYSCALL_INT 0x80
6 /* when we get rid of test_proc.S we'll turn this into an enum */
7 #define SYS_HELLO 0
8 #define SYS_SLEEP 1
9 #define SYS_FORK 2
10 #define SYS_GETPID 3
12 #define NUM_SYSCALLS 4
14 #ifndef ASM
15 void init_syscall(void);
16 #endif
18 #endif /* SYSCALL_H_ */