Added sys_write to syscall.h
Added cases in syscall(), and added gen_syscall.c to conf.kern