Deleted Added
full compact
vm_object.h (15819) vm_object.h (17761)
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.27 1996/03/02 02:54:23 dyson Exp $
64 * $Id: vm_object.h,v 1.28 1996/05/19 07:36:50 dyson Exp $
65 */
66
67/*
68 * Virtual memory object module definitions.
69 */
70
71#ifndef _VM_OBJECT_
72#define _VM_OBJECT_

--- 52 unchanged lines hidden (view full) ---

125 */
126#define OBJ_CANPERSIST 0x0001 /* allow to persist */
127#define OBJ_ACTIVE 0x0004 /* active objects */
128#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */
129#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */
130#define OBJ_WRITEABLE 0x0080 /* object has been made writable */
131#define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty */
132#define OBJ_CLEANING 0x0200
65 */
66
67/*
68 * Virtual memory object module definitions.
69 */
70
71#ifndef _VM_OBJECT_
72#define _VM_OBJECT_

--- 52 unchanged lines hidden (view full) ---

125 */
126#define OBJ_CANPERSIST 0x0001 /* allow to persist */
127#define OBJ_ACTIVE 0x0004 /* active objects */
128#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */
129#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */
130#define OBJ_WRITEABLE 0x0080 /* object has been made writable */
131#define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty */
132#define OBJ_CLEANING 0x0200
133#define OBJ_VFS_REF 0x0400 /* object is refed by vfs layer */
133
134
135#define OBJ_NORMAL 0x0 /* default behavior */
136#define OBJ_SEQUENTIAL 0x1 /* expect sequential accesses */
137#define OBJ_RANDOM 0x2 /* expect random accesses */
138
139#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT)
140#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT))

--- 47 unchanged lines hidden ---
134
135
136#define OBJ_NORMAL 0x0 /* default behavior */
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))

--- 47 unchanged lines hidden ---