kern

view src/syscall.h @ 61:5b29b15c5412

removed the unimplemented exit syscall
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 17 Aug 2011 05:38: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_ */