2 #ifndef _MINIX_SYSINFO_H
3 #define _MINIX_SYSINFO_H
5 #include <minix/endpoint.h>
6 #include <minix/type.h>
8 _PROTOTYPE( int getsysinfo
, (endpoint_t who
, int what
, void *where
) );
9 _PROTOTYPE( ssize_t getsysinfo_up
, (endpoint_t who
, int what
, size_t size
,
12 #define SIU_LOADINFO 1 /* retrieve load info data */
13 #define SIU_SYSTEMHZ 2 /* retrieve system clock frequency */
14 #define SIU_IDLETSC 3 /* retrieve cumulative idle timestamp count */
16 /* Exported system parameters. */