Xv6 with picoc & Linkage editor
v1.0
The project delineate mutual cohesion between c library, linkage editor ( linker), interpreter and operating system by porting the same on xv6 kernel
|
00001 // System call numbers 00002 #define SYS_exit 1 00003 #define SYS__exit 1 00004 #define SYS_fork 2 00005 #define SYS_read 3 00006 #define SYS_write 4 00007 #define SYS_open 5 00008 #define SYS_close 6 00009 #define SYS_wait 7 00010 #define SYS_link 9 00011 #define SYS_unlink 10 00012 #define SYS_execve 11 00013 #define SYS_chdir 12 00014 #define SYS_uptime 13 00015 #define SYS_mknod 14 00016 #define SYS_pipe 42 00017 #define SYS_kill 37 00018 #define SYS_exec 283 00019 #define SYS_fstat 108 00020 #define SYS_dup 41 00021 #define SYS_getpid 20 00022 #define SYS_sbrk 45 00023 #define SYS_sleep 162 00024 #define SYS_mkdir 39 00025 #define SYS_mmap 90 00026 #define SYS_lseek 19