]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/mach/vm_sync.h
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
26 * Mach Operating System
27 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
28 * All Rights Reserved.
30 * Permission to use, copy, modify and distribute this software and its
31 * documentation is hereby granted, provided that both the copyright
32 * notice and this permission notice appear in all copies of the
33 * software, derivative works or modified versions, and any portions
34 * thereof, and that both notices appear in supporting documentation.
36 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
37 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
38 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
40 * Carnegie Mellon requests users of this software to return to
42 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
43 * School of Computer Science
44 * Carnegie Mellon University
45 * Pittsburgh PA 15213-3890
47 * any improvements or extensions that they make and grant Carnegie Mellon
48 * the rights to redistribute these changes.
53 * Revision 1.1.1.1 1998/09/22 21:05:31 wsanchez
54 * Import of Mac OS X kernel (~semeria)
56 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
57 * Import of OSF Mach kernel (~mburg)
59 * Revision 1.2.7.1 1994/09/23 02:44:50 ezf
60 * change marker to not FREE
61 * [1994/09/22 21:43:54 ezf]
63 * Revision 1.2.3.3 1993/06/22 15:18:34 sp
64 * Add definition of VM_SYNC_SYNCHRONOUS [david@gr.osf.org]
65 * [1993/06/21 13:00:18 sp]
67 * Revision 1.2.3.2 1993/06/09 02:44:33 gm
68 * Added to OSF/1 R1.3 from NMK15.0.
69 * [1993/06/02 21:18:58 jeffc]
71 * Revision 1.2 1993/04/19 16:41:03 devrcs
72 * Made compatible with other mach .h files.
73 * [1993/03/15 17:34:44 david]
75 * New for vm_sync definitions.
76 * [1993/03/03 12:39:16 david]
81 * File: mach/vm_sync.h
83 * Virtual memory synchronisation definitions.
90 typedef unsigned vm_sync_t
;
93 * Synchronization flags, defined as bits within the vm_sync_t type
96 #define VM_SYNC_ASYNCHRONOUS ((vm_sync_t) 0x01)
97 #define VM_SYNC_SYNCHRONOUS ((vm_sync_t) 0x02)
98 #define VM_SYNC_INVALIDATE ((vm_sync_t) 0x04)
99 #define VM_SYNC_KILLPAGES ((vm_sync_t) 0x08)
100 #define VM_SYNC_DEACTIVATE ((vm_sync_t) 0x10)
102 #endif /* VM_SYNC_H_ */