make vfs & filesystems use failable copying
[minix3.git] / include / minix / sysinfo.h
blobe63bb006e59d4520e0af46421249b2d780a9d2b8
2 #ifndef _MINIX_SYSINFO_H
3 #define _MINIX_SYSINFO_H
5 #include <minix/endpoint.h>
6 #include <minix/type.h>
8 int getsysinfo(endpoint_t who, int what, void *where, size_t size);
10 /* What system info to retrieve with sysgetinfo(). */
11 #define SI_PROC_TAB 2 /* copy of entire process table */
12 #define SI_DMAP_TAB 3 /* get device <-> driver mappings */
13 #define SI_DATA_STORE 5 /* get copy of data store mappings */
14 #define SI_CALL_STATS 9 /* system call statistics */
15 #define SI_PROCPUB_TAB 11 /* copy of public entries of process table */
17 #endif