Annotation of XNU/osfmk/mach/vm_inherit.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
        !             3:  *
        !             4:  * @APPLE_LICENSE_HEADER_START@
        !             5:  * 
        !             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.
        !            11:  * 
        !            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
        !            18:  * under the License.
        !            19:  * 
        !            20:  * @APPLE_LICENSE_HEADER_END@
        !            21:  */
        !            22: /*
        !            23:  * @OSF_COPYRIGHT@
        !            24:  */
        !            25: /*
        !            26:  * HISTORY
        !            27:  * 
        !            28:  * Revision 1.1.1.1  1998/09/22 21:05:31  wsanchez
        !            29:  * Import of Mac OS X kernel (~semeria)
        !            30:  *
        !            31:  * Revision 1.1.1.1  1998/03/07 02:25:46  wsanchez
        !            32:  * Import of OSF Mach kernel (~mburg)
        !            33:  *
        !            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]
        !            37:  *
        !            38:  * Revision 1.2.6.1  1994/02/17  16:25:09  rwd
        !            39:  *     Add VM_INHERIT_LAST_VALID
        !            40:  *     [94/02/16            rwd]
        !            41:  * 
        !            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]
        !            45:  * 
        !            46:  * Revision 1.2  1993/04/19  16:40:30  devrcs
        !            47:  *     ansi C conformance changes
        !            48:  *     [1993/02/02  18:55:45  david]
        !            49:  * 
        !            50:  * Revision 1.1  1992/09/30  02:32:24  robert
        !            51:  *     Initial revision
        !            52:  * 
        !            53:  * $EndLog$
        !            54:  */
        !            55: /* CMU_HIST */
        !            56: /*
        !            57:  * Revision 2.3  91/05/14  17:02:47  mrt
        !            58:  *     Correcting copyright
        !            59:  * 
        !            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]
        !            63:  * 
        !            64:  * Revision 2.1  89/08/03  16:06:30  rwd
        !            65:  * Created.
        !            66:  * 
        !            67:  * Revision 2.3  89/02/25  18:42:18  gm0w
        !            68:  *     Changes for cleanup.
        !            69:  * 
        !            70:  * 16-Sep-85  Avadis Tevanian (avie) at Carnegie-Mellon University
        !            71:  *     Created.
        !            72:  *
        !            73:  */
        !            74: /* CMU_ENDHIST */
        !            75: /* 
        !            76:  * Mach Operating System
        !            77:  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
        !            78:  * All Rights Reserved.
        !            79:  * 
        !            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.
        !            85:  * 
        !            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.
        !            89:  * 
        !            90:  * Carnegie Mellon requests users of this software to return to
        !            91:  * 
        !            92:  *  Software Distribution Coordinator  or  [email protected]
        !            93:  *  School of Computer Science
        !            94:  *  Carnegie Mellon University
        !            95:  *  Pittsburgh PA 15213-3890
        !            96:  * 
        !            97:  * any improvements or extensions that they make and grant Carnegie Mellon
        !            98:  * the rights to redistribute these changes.
        !            99:  */
        !           100: /*
        !           101:  */
        !           102: /*
        !           103:  *     File:   mach/vm_inherit.h
        !           104:  *     Author: Avadis Tevanian, Jr., Michael Wayne Young
        !           105:  *
        !           106:  *     Virtual memory map inheritance definitions.
        !           107:  *
        !           108:  */
        !           109: 
        !           110: #ifndef        VM_INHERIT_H_
        !           111: #define        VM_INHERIT_H_
        !           112: 
        !           113: /*
        !           114:  *     Types defined:
        !           115:  *
        !           116:  *     vm_inherit_t    inheritance codes.
        !           117:  */
        !           118: 
        !           119: typedef unsigned int           vm_inherit_t;   /* might want to change this */
        !           120: 
        !           121: /*
        !           122:  *     Enumeration of valid values for vm_inherit_t.
        !           123:  */
        !           124: 
        !           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 */
        !           129: 
        !           130: #define VM_INHERIT_DEFAULT     VM_INHERIT_COPY
        !           131: #define VM_INHERIT_LAST_VALID VM_INHERIT_NONE
        !           132: 
        !           133: #endif /* VM_INHERIT_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.