summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_param.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-11-08 18:20:02 +0000
committerdes <des@FreeBSD.org>2004-11-08 18:20:02 +0000
commite836fd23ea28e0175d785b2e3c684760a7267033 (patch)
tree4b78223a22b6c437091f95b5bf3abc75a7ad1516 /sys/vm/vm_param.h
parent361cbe734734731073eddc21afe11076e431a026 (diff)
downloadFreeBSD-src-e836fd23ea28e0175d785b2e3c684760a7267033.zip
FreeBSD-src-e836fd23ea28e0175d785b2e3c684760a7267033.tar.gz
#include <vm/vm_param.h> instead of <machine/vmparam.h> (the former
includes the latter, but also declares variables which are defined in kern/subr_param.c). Change som VM parameters from quad_t to unsigned long. They refer to quantities (size limits for text, heap and stack segments) which must necessarily be smaller than the size of the address space, so long is adequate on all platforms. MFC after: 1 week
Diffstat (limited to 'sys/vm/vm_param.h')
-rw-r--r--sys/vm/vm_param.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h
index dab1245..9c68740 100644
--- a/sys/vm/vm_param.h
+++ b/sys/vm/vm_param.h
@@ -130,12 +130,12 @@ struct xswdev {
#ifdef _KERNEL
#define num_pages(x) \
((vm_offset_t)((((vm_offset_t)(x)) + PAGE_MASK) >> PAGE_SHIFT))
-extern u_quad_t maxtsiz;
-extern u_quad_t dfldsiz;
-extern u_quad_t maxdsiz;
-extern u_quad_t dflssiz;
-extern u_quad_t maxssiz;
-extern u_quad_t sgrowsiz;
+extern unsigned long maxtsiz;
+extern unsigned long dfldsiz;
+extern unsigned long maxdsiz;
+extern unsigned long dflssiz;
+extern unsigned long maxssiz;
+extern unsigned long sgrowsiz;
#endif /* _KERNEL */
#endif /* ASSEMBLER */
#endif /* _VM_PARAM_ */
OpenPOWER on IntegriCloud