vm_init.c (82127) | vm_init.c (92029) |
---|---|
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 --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * | 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 --- 47 unchanged lines hidden (view full) --- 56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 57 * School of Computer Science 58 * Carnegie Mellon University 59 * Pittsburgh PA 15213-3890 60 * 61 * any improvements or extensions that they make and grant Carnegie the 62 * rights to redistribute these changes. 63 * |
64 * $FreeBSD: head/sys/vm/vm_init.c 82127 2001-08-22 04:07:27Z dillon $ | 64 * $FreeBSD: head/sys/vm/vm_init.c 92029 2002-03-10 21:52:48Z eivind $ |
65 */ 66 67/* 68 * Initialize the Virtual Memory subsystem. 69 */ 70 71#include <sys/param.h> 72#include <sys/kernel.h> --- 12 unchanged lines hidden (view full) --- 85#include <vm/vm_map.h> 86#include <vm/vm_pager.h> 87#include <vm/vm_extern.h> 88#include <vm/vm_zone.h> 89 90/* 91 * System initialization 92 */ | 65 */ 66 67/* 68 * Initialize the Virtual Memory subsystem. 69 */ 70 71#include <sys/param.h> 72#include <sys/kernel.h> --- 12 unchanged lines hidden (view full) --- 85#include <vm/vm_map.h> 86#include <vm/vm_pager.h> 87#include <vm/vm_extern.h> 88#include <vm/vm_zone.h> 89 90/* 91 * System initialization 92 */ |
93 | |
94static void vm_mem_init __P((void *)); 95SYSINIT(vm_mem, SI_SUB_VM, SI_ORDER_FIRST, vm_mem_init, NULL) 96 97/* 98 * vm_init initializes the virtual memory system. 99 * This is done only by the first cpu up. 100 * 101 * The start and end address of physical memory is passed in. 102 */ | 93static void vm_mem_init __P((void *)); 94SYSINIT(vm_mem, SI_SUB_VM, SI_ORDER_FIRST, vm_mem_init, NULL) 95 96/* 97 * vm_init initializes the virtual memory system. 98 * This is done only by the first cpu up. 99 * 100 * The start and end address of physical memory is passed in. 101 */ |
103 | |
104/* ARGSUSED*/ 105static void 106vm_mem_init(dummy) 107 void *dummy; 108{ 109 /* 110 * Initializes resident memory structures. From here on, all physical 111 * memory is accounted for, and we use only virtual addresses. --- 99 unchanged lines hidden --- | 102/* ARGSUSED*/ 103static void 104vm_mem_init(dummy) 105 void *dummy; 106{ 107 /* 108 * Initializes resident memory structures. From here on, all physical 109 * memory is accounted for, and we use only virtual addresses. --- 99 unchanged lines hidden --- |