retire BIOS_SEG and umap_bios
[minix3.git] / lib / libvtreefs / table.c
blob4aef223a05b1b8f25c1b74f05070f1e1fbfc7269
1 /* VTreeFS - table.c - by Alen Stojanov and David van Moolenbroek */
3 #define _TABLE
4 #include "inc.h"
6 int (*fs_call_vec[])(void) = {
7 no_sys, /* 0 */
8 no_sys, /* 1 getnode */
9 fs_putnode, /* 2 putnode */
10 no_sys, /* 3 slink */
11 no_sys, /* 4 ftrunc */
12 no_sys, /* 5 chown */
13 no_sys, /* 6 chmod */
14 do_noop, /* 7 inhibread */
15 fs_stat, /* 8 stat */
16 no_sys, /* 9 utime */
17 fs_fstatfs, /* 10 fstatfs */
18 no_sys, /* 11 bread */
19 no_sys, /* 12 bwrite */
20 no_sys, /* 13 unlink */
21 no_sys, /* 14 rmdir */
22 fs_unmount, /* 15 unmount */
23 do_noop, /* 16 sync */
24 do_noop, /* 17 new_driver */
25 no_sys, /* 18 flush */
26 fs_read, /* 19 read */
27 no_sys, /* 20 write */
28 no_sys, /* 21 mknod */
29 no_sys, /* 22 mkdir */
30 no_sys, /* 23 create */
31 no_sys, /* 24 link */
32 no_sys, /* 25 rename */
33 fs_lookup, /* 26 lookup */
34 no_sys, /* 27 mountpoint */
35 fs_readsuper, /* 28 readsuper */
36 no_sys, /* 29 newnode */
37 fs_rdlink, /* 30 rdlink */
38 fs_getdents, /* 31 getdents */
39 fs_statvfs, /* 32 statvfs */
42 /* This should not fail with "array size is negative": */
43 extern int
44 dummy[sizeof(fs_call_vec) == NREQS * sizeof(fs_call_vec[0]) ? 1 : -1];