kern
diff src/syscall.h @ 57:437360696883
I think we're done for now. two processes seem to be scheduled and switched just fine, fork seems to work (NO CoW YET!)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 16 Aug 2011 03:26:53 +0300 |
parents | b1e8c8251884 |
children | 5b29b15c5412 |
line diff
1.1 --- a/src/syscall.h Mon Aug 15 06:17:58 2011 +0300 1.2 +++ b/src/syscall.h Tue Aug 16 03:26:53 2011 +0300 1.3 @@ -7,8 +7,10 @@ 1.4 #define SYS_EXIT 0 1.5 #define SYS_HELLO 1 1.6 #define SYS_SLEEP 2 1.7 +#define SYS_FORK 3 1.8 +#define SYS_GETPID 4 1.9 1.10 -#define NUM_SYSCALLS 3 1.11 +#define NUM_SYSCALLS 5 1.12 1.13 #ifndef ASM 1.14 void init_syscall(void);