kern

view src/syscall.h @ 69:b45e2d5f0ae1

ok I *think* i've fixed it now
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 12 Oct 2011 14:39:40 +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_ */