kern
view src/syscall.h @ 56:0be4615594df
finally, runqueues, blocking, waking up, idle loop etc, all seem to work fine
on a single user process... Next up: try forking another one :)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 15 Aug 2011 06:17:58 +0300 |
parents | |
children | 437360696883 |
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
11 #define NUM_SYSCALLS 3
13 #ifndef ASM
14 void init_syscall(void);
15 #endif
17 #endif /* SYSCALL_H_ */