2006-07-27 18:23:01 +02:00
|
|
|
|
|
|
|
#ifndef _MINIX_SYSINFO_H
|
|
|
|
#define _MINIX_SYSINFO_H
|
|
|
|
|
|
|
|
#include <minix/endpoint.h>
|
|
|
|
#include <minix/type.h>
|
|
|
|
|
2012-03-24 16:16:34 +01:00
|
|
|
int getsysinfo(endpoint_t who, int what, void *where, size_t size);
|
2006-07-27 18:23:01 +02:00
|
|
|
|
2010-09-14 23:50:05 +02:00
|
|
|
/* What system info to retrieve with sysgetinfo(). */
|
|
|
|
#define SI_PROC_TAB 2 /* copy of entire process table */
|
|
|
|
#define SI_DMAP_TAB 3 /* get device <-> driver mappings */
|
|
|
|
#define SI_DATA_STORE 5 /* get copy of data store mappings */
|
|
|
|
#define SI_CALL_STATS 9 /* system call statistics */
|
|
|
|
#define SI_PROCPUB_TAB 11 /* copy of public entries of process table */
|
2006-07-27 18:23:01 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|