kern

diff 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 diff
     1.1 --- a/src/syscall.h	Wed Aug 17 05:37:30 2011 +0300
     1.2 +++ b/src/syscall.h	Wed Aug 17 05:38:40 2011 +0300
     1.3 @@ -4,13 +4,12 @@
     1.4  #define SYSCALL_INT		0x80
     1.5  
     1.6  /* when we get rid of test_proc.S we'll turn this into an enum */
     1.7 -#define SYS_EXIT		0
     1.8 -#define SYS_HELLO		1
     1.9 -#define SYS_SLEEP		2
    1.10 -#define SYS_FORK		3
    1.11 -#define SYS_GETPID		4
    1.12 +#define SYS_HELLO		0
    1.13 +#define SYS_SLEEP		1
    1.14 +#define SYS_FORK		2
    1.15 +#define SYS_GETPID		3
    1.16  
    1.17 -#define NUM_SYSCALLS	5
    1.18 +#define NUM_SYSCALLS	4
    1.19  
    1.20  #ifndef ASM
    1.21  void init_syscall(void);