vm_map.h (7090) | vm_map.h (9507) |
---|---|
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 * $Id: vm_map.h,v 1.4 1995/01/09 16:05:46 davidg Exp $ | 64 * $Id: vm_map.h,v 1.5 1995/03/16 18:17:17 bde Exp $ |
65 */ 66 67/* 68 * Virtual memory map module definitions. 69 */ 70 71#ifndef _VM_MAP_ 72#define _VM_MAP_ --- 52 unchanged lines hidden (view full) --- 125struct vm_map { 126 struct pmap *pmap; /* Physical map */ 127 lock_data_t lock; /* Lock for map data */ 128 struct vm_map_entry header; /* List of entries */ 129 int nentries; /* Number of entries */ 130 vm_size_t size; /* virtual size */ 131 boolean_t is_main_map; /* Am I a main map? */ 132 int ref_count; /* Reference count */ | 65 */ 66 67/* 68 * Virtual memory map module definitions. 69 */ 70 71#ifndef _VM_MAP_ 72#define _VM_MAP_ --- 52 unchanged lines hidden (view full) --- 125struct vm_map { 126 struct pmap *pmap; /* Physical map */ 127 lock_data_t lock; /* Lock for map data */ 128 struct vm_map_entry header; /* List of entries */ 129 int nentries; /* Number of entries */ 130 vm_size_t size; /* virtual size */ 131 boolean_t is_main_map; /* Am I a main map? */ 132 int ref_count; /* Reference count */ |
133 simple_lock_data_t ref_lock; /* Lock for ref_count field */ | |
134 vm_map_entry_t hint; /* hint for quick lookups */ | 133 vm_map_entry_t hint; /* hint for quick lookups */ |
135 simple_lock_data_t hint_lock; /* lock for hint storage */ | |
136 vm_map_entry_t first_free; /* First free space hint */ 137 boolean_t entries_pageable; /* map entries pageable?? */ 138 unsigned int timestamp; /* Version number */ 139#define min_offset header.start 140#define max_offset header.end 141}; 142 143/* --- 76 unchanged lines hidden --- | 134 vm_map_entry_t first_free; /* First free space hint */ 135 boolean_t entries_pageable; /* map entries pageable?? */ 136 unsigned int timestamp; /* Version number */ 137#define min_offset header.start 138#define max_offset header.end 139}; 140 141/* --- 76 unchanged lines hidden --- |