vm_map.h (24666) | vm_map.h (24691) |
---|---|
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.24 1997/02/22 09:48:24 peter Exp $ | 64 * $Id: vm_map.h,v 1.25 1997/04/06 02:29:44 dyson Exp $ |
65 */ 66 67/* 68 * Virtual memory map module definitions. 69 */ 70 71#ifndef _VM_MAP_ 72#define _VM_MAP_ --- 74 unchanged lines hidden (view full) --- 147 * May eventually be merged with vm_map. 148 * Several fields are temporary (text, data stuff). 149 */ 150struct vmspace { 151 struct vm_map vm_map; /* VM address map */ 152 struct pmap vm_pmap; /* private physical map */ 153 int vm_refcnt; /* number of references */ 154 caddr_t vm_shm; /* SYS5 shared memory private data XXX */ | 65 */ 66 67/* 68 * Virtual memory map module definitions. 69 */ 70 71#ifndef _VM_MAP_ 72#define _VM_MAP_ --- 74 unchanged lines hidden (view full) --- 147 * May eventually be merged with vm_map. 148 * Several fields are temporary (text, data stuff). 149 */ 150struct vmspace { 151 struct vm_map vm_map; /* VM address map */ 152 struct pmap vm_pmap; /* private physical map */ 153 int vm_refcnt; /* number of references */ 154 caddr_t vm_shm; /* SYS5 shared memory private data XXX */ |
155 vm_object_t vm_upages_obj; /* UPAGES object */ | |
156/* we copy from vm_startcopy to the end of the structure on fork */ 157#define vm_startcopy vm_rssize 158 segsz_t vm_rssize; /* current resident set size in pages */ 159 segsz_t vm_swrss; /* resident set size before last swap */ 160 segsz_t vm_tsize; /* text size (pages) XXX */ 161 segsz_t vm_dsize; /* data size (pages) XXX */ 162 segsz_t vm_ssize; /* stack size (pages) */ 163 caddr_t vm_taddr; /* user virtual address of text XXX */ --- 122 unchanged lines hidden --- | 155/* we copy from vm_startcopy to the end of the structure on fork */ 156#define vm_startcopy vm_rssize 157 segsz_t vm_rssize; /* current resident set size in pages */ 158 segsz_t vm_swrss; /* resident set size before last swap */ 159 segsz_t vm_tsize; /* text size (pages) XXX */ 160 segsz_t vm_dsize; /* data size (pages) XXX */ 161 segsz_t vm_ssize; /* stack size (pages) */ 162 caddr_t vm_taddr; /* user virtual address of text XXX */ --- 122 unchanged lines hidden --- |