kern

diff src/syscall.h @ 51:b1e8c8251884

lalalala
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 01 Aug 2011 06:45:29 +0300
parents
children 437360696883
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/syscall.h	Mon Aug 01 06:45:29 2011 +0300
     1.3 @@ -0,0 +1,17 @@
     1.4 +#ifndef SYSCALL_H_
     1.5 +#define SYSCALL_H_
     1.6 +
     1.7 +#define SYSCALL_INT		0x80
     1.8 +
     1.9 +/* when we get rid of test_proc.S we'll turn this into an enum */
    1.10 +#define SYS_EXIT		0
    1.11 +#define SYS_HELLO		1
    1.12 +#define SYS_SLEEP		2
    1.13 +
    1.14 +#define NUM_SYSCALLS	3
    1.15 +
    1.16 +#ifndef ASM
    1.17 +void init_syscall(void);
    1.18 +#endif
    1.19 +
    1.20 +#endif	/* SYSCALL_H_ */