add correct copyright notice...
[unix-history] / usr / src / sys / vm / vm_inherit.h
CommitLineData
175f072e
KM
1/*
2 * Copyright (c) 1985, Avadis Tevanian, Jr., Michael Wayne Young
3 * Copyright (c) 1987 Carnegie-Mellon University
4 * Copyright (c) 1991 Regents of the University of California.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * The Mach Operating System project at Carnegie-Mellon University.
9 *
10 * The CMU software License Agreement specifies the terms and conditions
11 * for use and redistribution.
12 *
13 * @(#)vm_inherit.h 7.1 (Berkeley) %G%
14 */
15
16/*
17 * Virtual memory map inheritance definitions.
18 */
19
20#ifndef _VM_INHERIT_
21#define _VM_INHERIT_
22
23/*
24 * Types defined:
25 *
26 * vm_inherit_t inheritance codes.
27 */
28
29typedef int vm_inherit_t; /* might want to change this */
30
31/*
32 * Enumeration of valid values for vm_inherit_t.
33 */
34
35#define VM_INHERIT_SHARE ((vm_inherit_t) 0) /* share with child */
36#define VM_INHERIT_COPY ((vm_inherit_t) 1) /* copy into child */
37#define VM_INHERIT_NONE ((vm_inherit_t) 2) /* absent from child */
38#define VM_INHERIT_DONATE_COPY ((vm_inherit_t) 3) /* copy and delete */
39
40#define VM_INHERIT_DEFAULT VM_INHERIT_COPY
41
42#endif _VM_INHERIT_