kern
view src/syscall.h @ 59:ef9cc2e90277
added a comment describing the push of just_forked address to the stack frame of the newly-forked process.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 17 Aug 2011 05:33:03 +0300 |
parents | b1e8c8251884 |
children | 5b29b15c5412 |
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_EXIT 0
8 #define SYS_HELLO 1
9 #define SYS_SLEEP 2
10 #define SYS_FORK 3
11 #define SYS_GETPID 4
13 #define NUM_SYSCALLS 5
15 #ifndef ASM
16 void init_syscall(void);
17 #endif
19 #endif /* SYSCALL_H_ */