root / lab4 / .minix-src / include / minix / sysinfo.h @ 13
History | View | Annotate | Download (705 Bytes)
1 |
|
---|---|
2 |
#ifndef _MINIX_SYSINFO_H
|
3 |
#define _MINIX_SYSINFO_H
|
4 |
|
5 |
#include <minix/endpoint.h> |
6 |
#include <minix/type.h> |
7 |
|
8 |
int getsysinfo(endpoint_t who, int what, void *where, size_t size); |
9 |
|
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 */ |
16 |
#define SI_PROCALL_TAB 12 /* copy of both private and public entries */ |
17 |
#define SI_PROCLIGHT_TAB 13 /* copy of light version of process table */ |
18 |
|
19 |
#endif
|
20 |
|