xref: /csrg-svn/sys/vm/vm_inherit.h (revision 63379)
145748Smckusick /*
2*63379Sbostic  * Copyright (c) 1991, 1993
3*63379Sbostic  *	The Regents of the University of California.  All rights reserved.
445748Smckusick  *
545748Smckusick  * This code is derived from software contributed to Berkeley by
645748Smckusick  * The Mach Operating System project at Carnegie-Mellon University.
745748Smckusick  *
848493Smckusick  * %sccs.include.redist.c%
945748Smckusick  *
10*63379Sbostic  *	@(#)vm_inherit.h	8.1 (Berkeley) 06/11/93
1148493Smckusick  *
1248493Smckusick  *
1348493Smckusick  * Copyright (c) 1987, 1990 Carnegie-Mellon University.
1448493Smckusick  * All rights reserved.
1548493Smckusick  *
1648493Smckusick  * Authors: Avadis Tevanian, Jr., Michael Wayne Young
1748493Smckusick  *
1848493Smckusick  * Permission to use, copy, modify and distribute this software and
1948493Smckusick  * its documentation is hereby granted, provided that both the copyright
2048493Smckusick  * notice and this permission notice appear in all copies of the
2148493Smckusick  * software, derivative works or modified versions, and any portions
2248493Smckusick  * thereof, and that both notices appear in supporting documentation.
2348493Smckusick  *
2448493Smckusick  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
2548493Smckusick  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
2648493Smckusick  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
2748493Smckusick  *
2848493Smckusick  * Carnegie Mellon requests users of this software to return to
2948493Smckusick  *
3048493Smckusick  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
3148493Smckusick  *  School of Computer Science
3248493Smckusick  *  Carnegie Mellon University
3348493Smckusick  *  Pittsburgh PA 15213-3890
3448493Smckusick  *
3548493Smckusick  * any improvements or extensions that they make and grant Carnegie the
3648493Smckusick  * rights to redistribute these changes.
3745748Smckusick  */
3845748Smckusick 
3945748Smckusick /*
4045748Smckusick  *	Virtual memory map inheritance definitions.
4145748Smckusick  */
4245748Smckusick 
4345748Smckusick #ifndef	_VM_INHERIT_
4445748Smckusick #define	_VM_INHERIT_
4545748Smckusick 
4645748Smckusick /*
4745748Smckusick  *	Enumeration of valid values for vm_inherit_t.
4845748Smckusick  */
4945748Smckusick 
5045748Smckusick #define	VM_INHERIT_SHARE	((vm_inherit_t) 0)	/* share with child */
5145748Smckusick #define	VM_INHERIT_COPY		((vm_inherit_t) 1)	/* copy into child */
5245748Smckusick #define VM_INHERIT_NONE		((vm_inherit_t) 2)	/* absent from child */
5345748Smckusick #define	VM_INHERIT_DONATE_COPY	((vm_inherit_t) 3)	/* copy and delete */
5445748Smckusick 
5545748Smckusick #define VM_INHERIT_DEFAULT	VM_INHERIT_COPY
5645748Smckusick 
5760337Storek #endif /* _VM_INHERIT_ */
58