vm_map.h (99754) | vm_map.h (100511) |
---|---|
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_map.h 99754 2002-07-11 02:39:24Z alc $ | 64 * $FreeBSD: head/sys/vm/vm_map.h 100511 2002-07-22 16:12:55Z alfred $ |
65 */ 66 67/* 68 * Virtual memory map module definitions. 69 */ 70#ifndef _VM_MAP_ 71#define _VM_MAP_ 72 --- 127 unchanged lines hidden (view full) --- 200 * 201 * List of locks 202 * (c) const until freed 203 */ 204struct vmspace { 205 struct vm_map vm_map; /* VM address map */ 206 struct pmap vm_pmap; /* private physical map */ 207 int vm_refcnt; /* number of references */ | 65 */ 66 67/* 68 * Virtual memory map module definitions. 69 */ 70#ifndef _VM_MAP_ 71#define _VM_MAP_ 72 --- 127 unchanged lines hidden (view full) --- 200 * 201 * List of locks 202 * (c) const until freed 203 */ 204struct vmspace { 205 struct vm_map vm_map; /* VM address map */ 206 struct pmap vm_pmap; /* private physical map */ 207 int vm_refcnt; /* number of references */ |
208 caddr_t vm_shm; /* SYS5 shared memory private data XXX */ | 208 void *vm_shm; /* SYS5 shared memory private data XXX */ |
209/* we copy from vm_startcopy to the end of the structure on fork */ 210#define vm_startcopy vm_rssize 211 segsz_t vm_rssize; /* current resident set size in pages */ 212 segsz_t vm_swrss; /* resident set size before last swap */ 213 segsz_t vm_tsize; /* text size (pages) XXX */ 214 segsz_t vm_dsize; /* data size (pages) XXX */ 215 segsz_t vm_ssize; /* stack size (pages) */ 216 caddr_t vm_taddr; /* (c) user virtual address of text */ --- 107 unchanged lines hidden --- | 209/* we copy from vm_startcopy to the end of the structure on fork */ 210#define vm_startcopy vm_rssize 211 segsz_t vm_rssize; /* current resident set size in pages */ 212 segsz_t vm_swrss; /* resident set size before last swap */ 213 segsz_t vm_tsize; /* text size (pages) XXX */ 214 segsz_t vm_dsize; /* data size (pages) XXX */ 215 segsz_t vm_ssize; /* stack size (pages) */ 216 caddr_t vm_taddr; /* (c) user virtual address of text */ --- 107 unchanged lines hidden --- |