kern

annotate src/syscall.h @ 63:f44bec97a0ec

added errno.h in klibc
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 17 Aug 2011 05:42:44 +0300
parents 437360696883
children 3941e82b07f2
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@61 7 #define SYS_HELLO 0
nuclear@61 8 #define SYS_SLEEP 1
nuclear@61 9 #define SYS_FORK 2
nuclear@61 10 #define SYS_GETPID 3
nuclear@51 11
nuclear@61 12 #define NUM_SYSCALLS 4
nuclear@51 13
nuclear@51 14 #ifndef ASM
nuclear@51 15 void init_syscall(void);
nuclear@51 16 #endif
nuclear@51 17
nuclear@51 18 #endif /* SYSCALL_H_ */