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 * %sccs.include.redist.c% 9 * 10 * @(#)vm_inherit.h 8.1 (Berkeley) 06/11/93 11 * 12 * 13 * Copyright (c) 1987, 1990 Carnegie-Mellon University. 14 * All rights reserved. 15 * 16 * Authors: Avadis Tevanian, Jr., Michael Wayne Young 17 * 18 * Permission to use, copy, modify and distribute this software and 19 * its documentation is hereby granted, provided that both the copyright 20 * notice and this permission notice appear in all copies of the 21 * software, derivative works or modified versions, and any portions 22 * thereof, and that both notices appear in supporting documentation. 23 * 24 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 25 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 26 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 27 * 28 * Carnegie Mellon requests users of this software to return to 29 * 30 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 31 * School of Computer Science 32 * Carnegie Mellon University 33 * Pittsburgh PA 15213-3890 34 * 35 * any improvements or extensions that they make and grant Carnegie the 36 * rights to redistribute these changes. 37 */ 38 39 /* 40 * Virtual memory map inheritance definitions. 41 */ 42 43 #ifndef _VM_INHERIT_ 44 #define _VM_INHERIT_ 45 46 /* 47 * Enumeration of valid values for vm_inherit_t. 48 */ 49 50 #define VM_INHERIT_SHARE ((vm_inherit_t) 0) /* share with child */ 51 #define VM_INHERIT_COPY ((vm_inherit_t) 1) /* copy into child */ 52 #define VM_INHERIT_NONE ((vm_inherit_t) 2) /* absent from child */ 53 #define VM_INHERIT_DONATE_COPY ((vm_inherit_t) 3) /* copy and delete */ 54 55 #define VM_INHERIT_DEFAULT VM_INHERIT_COPY 56 57 #endif /* _VM_INHERIT_ */ 58