]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
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. | |
11 | * | |
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 | |
18 | * under the License. | |
19 | * | |
20 | * @APPLE_LICENSE_HEADER_END@ | |
21 | */ | |
22 | /* | |
23 | * @OSF_COPYRIGHT@ | |
24 | */ | |
25 | /* | |
26 | * Mach Operating System | |
27 | * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University | |
28 | * All Rights Reserved. | |
29 | * | |
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. | |
35 | * | |
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. | |
39 | * | |
40 | * Carnegie Mellon requests users of this software to return to | |
41 | * | |
42 | * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU | |
43 | * School of Computer Science | |
44 | * Carnegie Mellon University | |
45 | * Pittsburgh PA 15213-3890 | |
46 | * | |
47 | * any improvements or extensions that they make and grant Carnegie Mellon | |
48 | * the rights to redistribute these changes. | |
49 | */ | |
50 | /* | |
51 | * HISTORY | |
52 | * | |
53 | * Revision 1.1.1.1 1998/09/22 21:05:31 wsanchez | |
54 | * Import of Mac OS X kernel (~semeria) | |
55 | * | |
56 | * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez | |
57 | * Import of OSF Mach kernel (~mburg) | |
58 | * | |
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] | |
62 | * | |
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] | |
66 | * | |
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] | |
70 | * | |
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] | |
74 | * | |
75 | * New for vm_sync definitions. | |
76 | * [1993/03/03 12:39:16 david] | |
77 | * | |
78 | * $EndLog$ | |
79 | */ | |
80 | /* | |
81 | * File: mach/vm_sync.h | |
82 | * | |
83 | * Virtual memory synchronisation definitions. | |
84 | * | |
85 | */ | |
86 | ||
87 | #ifndef VM_SYNC_H_ | |
88 | #define VM_SYNC_H_ | |
89 | ||
90 | typedef unsigned vm_sync_t; | |
91 | ||
92 | /* | |
93 | * Synchronization flags, defined as bits within the vm_sync_t type | |
94 | */ | |
95 | ||
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) | |
101 | ||
102 | #endif /* VM_SYNC_H_ */ |