1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)vmparam.h 7.1.1 (2.11BSD GTE) 1/14/95
7: */
8:
9: /*
10: * Machine dependent constants
11: */
12: #ifdef KERNEL
13: #include "../machine/vmparam.h"
14: #else
15: #include <machine/vmparam.h>
16: #endif
17:
18: /*
19: * CTL_VM identifiers
20: */
21: #define VM_METER 1 /* struct vmmeter */
22: #define VM_LOADAVG 2 /* struct loadavg */
23: #define VM_SWAPMAP 3 /* struct mapent _swapmap[] */
24: #define VM_COREMAP 4 /* struct mapent _coremap[] */
25: #define VM_MAXID 5 /* number of valid vm ids */
26:
27: #ifndef KERNEL
28: #define CTL_VM_NAMES { \
29: { 0, 0 }, \
30: { "vmmeter", CTLTYPE_STRUCT }, \
31: { "loadavg", CTLTYPE_STRUCT }, \
32: { "swapmap", CTLTYPE_STRUCT }, \
33: { "coremap", CTLTYPE_STRUCT }, \
34: }
35: #endif
Defined macros
Usage of this include