vm_object.h (33817) | vm_object.h (34206) |
---|---|
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_object.h,v 1.45 1998/02/05 03:32:45 dyson Exp $ | 64 * $Id: vm_object.h,v 1.46 1998/02/25 03:55:52 dyson Exp $ |
65 */ 66 67/* 68 * Virtual memory object module definitions. 69 */ 70 71#ifndef _VM_OBJECT_ 72#define _VM_OBJECT_ --- 64 unchanged lines hidden (view full) --- 137#define OBJ_SEQUENTIAL 0x1 /* expect sequential accesses */ 138#define OBJ_RANDOM 0x2 /* expect random accesses */ 139 140#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT) 141#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT)) 142 143#ifdef KERNEL 144 | 65 */ 66 67/* 68 * Virtual memory object module definitions. 69 */ 70 71#ifndef _VM_OBJECT_ 72#define _VM_OBJECT_ --- 64 unchanged lines hidden (view full) --- 137#define OBJ_SEQUENTIAL 0x1 /* expect sequential accesses */ 138#define OBJ_RANDOM 0x2 /* expect random accesses */ 139 140#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT) 141#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT)) 142 143#ifdef KERNEL 144 |
145#define OBJPC_SYNC 0x1 /* sync I/O */ 146#define OBJPC_INVAL 0x2 /* invalidate */ 147 |
|
145TAILQ_HEAD(object_q, vm_object); 146 147extern struct object_q vm_object_list; /* list of allocated objects */ 148 149 /* lock for object list and count */ 150 151extern vm_object_t kernel_object; /* the single kernel object */ 152extern vm_object_t kmem_object; --- 57 unchanged lines hidden --- | 148TAILQ_HEAD(object_q, vm_object); 149 150extern struct object_q vm_object_list; /* list of allocated objects */ 151 152 /* lock for object list and count */ 153 154extern vm_object_t kernel_object; /* the single kernel object */ 155extern vm_object_t kmem_object; --- 57 unchanged lines hidden --- |