Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2383 | konopa | 1 | /* This file contains the table used to map system call numbers onto the |
2 | * routines that perform them. |
||
3 | */ |
||
4 | |||
5 | #include "fs.h" |
||
6 | #include "file.h" |
||
7 | #include "fproc.h" |
||
8 | #include "inode.h" |
||
9 | #include "super.h" |
||
10 | |||
11 | int (*call_vector[FS_CALLS])(void) = { |
||
12 | no_sys, /* 0 = unused */ |
||
13 | do_open, /* 1 = open */ |
||
14 | do_lseek, /* 2 = seek */ |
||
15 | do_read, /* 3 = read */ |
||
16 | do_close, /* 4 = close */ |
||
17 | do_chdir, /* 5 = chdir */ |
||
18 | do_stat, /* 6 = stat */ |
||
19 | do_fstat, /* 7 = fstat */ |
||
20 | do_sum, /* 8 = dsum */ |
||
21 | do_readentry /* 9 = readentry */ |
||
22 | }; |
||
23 |