Deleted Added
full compact
vm_init.c (117519) vm_init.c (118764)
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 53 unchanged lines hidden (view full) ---

62 * rights to redistribute these changes.
63 */
64
65/*
66 * Initialize the Virtual Memory subsystem.
67 */
68
69#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 53 unchanged lines hidden (view full) ---

62 * rights to redistribute these changes.
63 */
64
65/*
66 * Initialize the Virtual Memory subsystem.
67 */
68
69#include <sys/cdefs.h>
70__FBSDID("$FreeBSD: head/sys/vm/vm_init.c 117519 2003-07-13 21:02:11Z robert $");
70__FBSDID("$FreeBSD: head/sys/vm/vm_init.c 118764 2003-08-11 05:51:51Z silby $");
71
72#include <sys/param.h>
73#include <sys/kernel.h>
74#include <sys/lock.h>
75#include <sys/mutex.h>
76#include <sys/proc.h>
77#include <sys/systm.h>
71
72#include <sys/param.h>
73#include <sys/kernel.h>
74#include <sys/lock.h>
75#include <sys/mutex.h>
76#include <sys/proc.h>
77#include <sys/systm.h>
78#include <sys/selinfo.h>
79#include <sys/pipe.h>
78#include <sys/bio.h>
79#include <sys/buf.h>
80
81#include <vm/vm.h>
82#include <vm/vm_param.h>
83#include <vm/vm_kern.h>
84#include <vm/vm_object.h>
85#include <vm/vm_page.h>

--- 104 unchanged lines hidden (view full) ---

190 buffer_map = kmem_suballoc(clean_map, &kmi->buffer_sva,
191 &kmi->buffer_eva, (nbuf*BKVASIZE));
192 buffer_map->system_map = 1;
193 pager_map = kmem_suballoc(clean_map, &kmi->pager_sva, &kmi->pager_eva,
194 (nswbuf*MAXPHYS) + pager_map_size);
195 pager_map->system_map = 1;
196 exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
197 (16*(ARG_MAX+(PAGE_SIZE*3))));
80#include <sys/bio.h>
81#include <sys/buf.h>
82
83#include <vm/vm.h>
84#include <vm/vm_param.h>
85#include <vm/vm_kern.h>
86#include <vm/vm_object.h>
87#include <vm/vm_page.h>

--- 104 unchanged lines hidden (view full) ---

192 buffer_map = kmem_suballoc(clean_map, &kmi->buffer_sva,
193 &kmi->buffer_eva, (nbuf*BKVASIZE));
194 buffer_map->system_map = 1;
195 pager_map = kmem_suballoc(clean_map, &kmi->pager_sva, &kmi->pager_eva,
196 (nswbuf*MAXPHYS) + pager_map_size);
197 pager_map->system_map = 1;
198 exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
199 (16*(ARG_MAX+(PAGE_SIZE*3))));
200 pipe_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, maxpipekva);
198
199 /*
200 * XXX: Mbuf system machine-specific initializations should
201 * go here, if anywhere.
202 */
203
204 /*
205 * Initialize the callouts we just allocated.
206 */
207 kern_timeout_callwheel_init();
208}
209
201
202 /*
203 * XXX: Mbuf system machine-specific initializations should
204 * go here, if anywhere.
205 */
206
207 /*
208 * Initialize the callouts we just allocated.
209 */
210 kern_timeout_callwheel_init();
211}
212