]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/mach/vm_inherit.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@
28 * Revision 1.1.1.1 1998/09/22 21:05:31 wsanchez
29 * Import of Mac OS X kernel (~semeria)
31 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
32 * Import of OSF Mach kernel (~mburg)
34 * Revision 1.2.9.1 1994/09/23 02:44:12 ezf
35 * change marker to not FREE
36 * [1994/09/22 21:43:38 ezf]
38 * Revision 1.2.6.1 1994/02/17 16:25:09 rwd
39 * Add VM_INHERIT_LAST_VALID
42 * Revision 1.2.2.2 1993/06/09 02:44:13 gm
43 * Added to OSF/1 R1.3 from NMK15.0.
44 * [1993/06/02 21:18:44 jeffc]
46 * Revision 1.2 1993/04/19 16:40:30 devrcs
47 * ansi C conformance changes
48 * [1993/02/02 18:55:45 david]
50 * Revision 1.1 1992/09/30 02:32:24 robert
57 * Revision 2.3 91/05/14 17:02:47 mrt
58 * Correcting copyright
60 * Revision 2.2 91/02/05 17:37:31 mrt
61 * Changed to new Mach copyright
62 * [91/02/01 17:22:24 mrt]
64 * Revision 2.1 89/08/03 16:06:30 rwd
67 * Revision 2.3 89/02/25 18:42:18 gm0w
68 * Changes for cleanup.
70 * 16-Sep-85 Avadis Tevanian (avie) at Carnegie-Mellon University
76 * Mach Operating System
77 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
78 * All Rights Reserved.
80 * Permission to use, copy, modify and distribute this software and its
81 * documentation is hereby granted, provided that both the copyright
82 * notice and this permission notice appear in all copies of the
83 * software, derivative works or modified versions, and any portions
84 * thereof, and that both notices appear in supporting documentation.
86 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
87 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
88 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
90 * Carnegie Mellon requests users of this software to return to
92 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
93 * School of Computer Science
94 * Carnegie Mellon University
95 * Pittsburgh PA 15213-3890
97 * any improvements or extensions that they make and grant Carnegie Mellon
98 * the rights to redistribute these changes.
103 * File: mach/vm_inherit.h
104 * Author: Avadis Tevanian, Jr., Michael Wayne Young
106 * Virtual memory map inheritance definitions.
110 #ifndef VM_INHERIT_H_
111 #define VM_INHERIT_H_
116 * vm_inherit_t inheritance codes.
119 typedef unsigned int vm_inherit_t
; /* might want to change this */
122 * Enumeration of valid values for vm_inherit_t.
125 #define VM_INHERIT_SHARE ((vm_inherit_t) 0) /* share with child */
126 #define VM_INHERIT_COPY ((vm_inherit_t) 1) /* copy into child */
127 #define VM_INHERIT_NONE ((vm_inherit_t) 2) /* absent from child */
128 #define VM_INHERIT_DONATE_COPY ((vm_inherit_t) 3) /* copy and delete */
130 #define VM_INHERIT_DEFAULT VM_INHERIT_COPY
131 #define VM_INHERIT_LAST_VALID VM_INHERIT_NONE
133 #endif /* VM_INHERIT_H_ */