home *** CD-ROM | disk | FTP | other *** search
- /*
- * Mach Operating System
- * Copyright (c) 1987 Carnegie-Mellon University
- * All rights reserved. The CMU software License Agreement specifies
- * the terms and conditions for use and redistribution.
- */
- /*
- * File: vm/vm_inherit.h
- * Author: Avadis Tevanian, Jr., Michael Wayne Young
- *
- * Copyright (C) 1985, Avadis Tevanian, Jr., Michael Wayne Young
- *
- * Virtual memory map inheritance definitions.
- *
- * HISTORY
- * 16-Sep-85 Avadis Tevanian (avie) at Carnegie-Mellon University
- * Created.
- */
-
- #ifndef _VM_INHERIT_H
- #define _VM_INHERIT_H
-
- /*
- * Types defined:
- *
- * vm_inherit_t inheritance codes.
- */
-
- typedef int vm_inherit_t; /* might want to change this */
-
- /*
- * Enumeration of valid values for vm_inherit_t.
- */
-
- #define VM_INHERIT_SHARE ((vm_inherit_t) 0) /* share with child */
- #define VM_INHERIT_COPY ((vm_inherit_t) 1) /* copy into child */
- #define VM_INHERIT_NONE ((vm_inherit_t) 2) /* absent from child */
- #define VM_INHERIT_DONATE_COPY ((vm_inherit_t) 3) /* copy and delete */
-
- #define VM_INHERIT_DEFAULT VM_INHERIT_COPY
-
- #endif _VM_INHERIT_H
-