Mercurial > hg > Members > menikon > CbC_xv6
comparison src/syscall.h @ 0:83c23a36980d
Init
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 26 May 2017 23:11:05 +0900 |
parents | |
children | a672d603ccb2 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:83c23a36980d |
---|---|
1 // System call numbers | |
2 #define SYS_fork 1 | |
3 #define SYS_exit 2 | |
4 #define SYS_wait 3 | |
5 #define SYS_pipe 4 | |
6 #define SYS_read 5 | |
7 #define SYS_kill 6 | |
8 #define SYS_exec 7 | |
9 #define SYS_fstat 8 | |
10 #define SYS_chdir 9 | |
11 #define SYS_dup 10 | |
12 #define SYS_getpid 11 | |
13 #define SYS_sbrk 12 | |
14 #define SYS_sleep 13 | |
15 #define SYS_uptime 14 | |
16 #define SYS_open 15 | |
17 #define SYS_write 16 | |
18 #define SYS_mknod 17 | |
19 #define SYS_unlink 18 | |
20 #define SYS_link 19 | |
21 #define SYS_mkdir 20 | |
22 #define SYS_close 21 |