diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1995-08-28 09:19:25 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1995-08-28 09:19:25 +0000 |
| commit | 2b14f991e64ebe31ca31a1a41237061c22a753d0 (patch) | |
| tree | 53b6da073fd58ab81ebf18bb0642954c76b642bd /sys/vm/vm_init.c | |
| parent | fe89a532f18d81f8e76e48fc462f070e870d035d (diff) | |
Notes
Diffstat (limited to 'sys/vm/vm_init.c')
| -rw-r--r-- | sys/vm/vm_init.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index 51fcf305d1f9..ea41d949809b 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_init.c,v 1.6 1995/03/16 18:17:11 bde Exp $ + * $Id: vm_init.c,v 1.7 1995/07/13 08:48:24 davidg Exp $ */ /* @@ -69,6 +69,7 @@ */ #include <sys/param.h> +#include <sys/kernel.h> #include <sys/systm.h> #include <vm/vm.h> @@ -77,14 +78,23 @@ #include <vm/vm_pager.h> /* + * System initialization + */ + +static void vm_mem_init __P((caddr_t)); +SYSINIT(vm_mem, SI_SUB_VM, SI_ORDER_FIRST, vm_mem_init, NULL) + +/* * vm_init initializes the virtual memory system. * This is done only by the first cpu up. * * The start and end address of physical memory is passed in. */ -void -vm_mem_init() +/* ARGSUSED*/ +static void +vm_mem_init( udata) +caddr_t udata; /* not used*/ { /* * Initializes resident memory structures. From here on, all physical |
