vm, kernel, top: report memory usage of vm, kernel
[minix.git] / servers / vm / glo.h
blob1baaeb593454ca471dd139ac4f71f276ee20fde8
2 #include <minix/sys_config.h>
3 #include <minix/type.h>
4 #include <minix/param.h>
5 #include <sys/stat.h>
6 #include <a.out.h>
7 #include <tools.h>
9 #include "vm.h"
10 #include "vmproc.h"
12 #if _MAIN
13 #undef EXTERN
14 #define EXTERN
15 #endif
17 #define VMP_EXECTMP _NR_PROCS
18 #define VMP_NR _NR_PROCS+1
20 EXTERN struct vmproc vmproc[VMP_NR];
22 EXTERN kinfo_t kernel_boot_info;
24 #if SANITYCHECKS
25 EXTERN int nocheck;
26 EXTERN int incheck;
27 EXTERN long vm_sanitychecklevel;
28 EXTERN int sc_lastline;
29 EXTERN char *sc_lastfile;
30 #endif
32 /* total number of memory pages */
33 EXTERN int total_pages;