kern
annotate 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 |
rev | line source |
---|---|
nuclear@51 | 1 #ifndef SYSCALL_H_ |
nuclear@51 | 2 #define SYSCALL_H_ |
nuclear@51 | 3 |
nuclear@51 | 4 #define SYSCALL_INT 0x80 |
nuclear@51 | 5 |
nuclear@51 | 6 /* when we get rid of test_proc.S we'll turn this into an enum */ |
nuclear@51 | 7 #define SYS_EXIT 0 |
nuclear@51 | 8 #define SYS_HELLO 1 |
nuclear@51 | 9 #define SYS_SLEEP 2 |
nuclear@51 | 10 |
nuclear@51 | 11 #define NUM_SYSCALLS 3 |
nuclear@51 | 12 |
nuclear@51 | 13 #ifndef ASM |
nuclear@51 | 14 void init_syscall(void); |
nuclear@51 | 15 #endif |
nuclear@51 | 16 |
nuclear@51 | 17 #endif /* SYSCALL_H_ */ |