home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Headers / mach / vm_inherit.h < prev    next >
C/C++ Source or Header  |  1997-04-27  |  2KB  |  84 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
  4.  * All Rights Reserved.
  5.  * 
  6.  * Permission to use, copy, modify and distribute this software and its
  7.  * documentation is hereby granted, provided that both the copyright
  8.  * notice and this permission notice appear in all copies of the
  9.  * software, derivative works or modified versions, and any portions
  10.  * thereof, and that both notices appear in supporting documentation.
  11.  * 
  12.  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
  13.  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
  14.  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  15.  * 
  16.  * Carnegie Mellon requests users of this software to return to
  17.  * 
  18.  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
  19.  *  School of Computer Science
  20.  *  Carnegie Mellon University
  21.  *  Pittsburgh PA 15213-3890
  22.  * 
  23.  * any improvements or extensions that they make and grant Carnegie Mellon
  24.  * the rights to redistribute these changes.
  25.  */
  26. /*
  27.  * HISTORY
  28.  * $Log:    vm_inherit.h,v $
  29.  * Revision 2.5  93/01/14  17:49:02  danner
  30.  *     Standardized include symbol name.
  31.  *     [92/06/10            pds]
  32.  * 
  33.  * Revision 2.4  92/03/10  16:27:13  jsb
  34.  *     Removed VM_INHERIT_DONATE_COPY.
  35.  *     [92/03/07  08:37:13  jsb]
  36.  * 
  37.  * Revision 2.3  91/05/14  17:02:47  mrt
  38.  *     Correcting copyright
  39.  * 
  40.  * Revision 2.2  91/02/05  17:37:31  mrt
  41.  *     Changed to new Mach copyright
  42.  *     [91/02/01  17:22:24  mrt]
  43.  * 
  44.  * Revision 2.1  89/08/03  16:06:30  rwd
  45.  * Created.
  46.  * 
  47.  * Revision 2.3  89/02/25  18:42:18  gm0w
  48.  *     Changes for cleanup.
  49.  * 
  50.  * 16-Sep-85  Avadis Tevanian (avie) at Carnegie-Mellon University
  51.  *    Created.
  52.  *
  53.  */
  54. /*
  55.  *    File:    mach/vm_inherit.h
  56.  *    Author:    Avadis Tevanian, Jr., Michael Wayne Young
  57.  *
  58.  *    Virtual memory map inheritance definitions.
  59.  *
  60.  */
  61.  
  62. #ifndef    _MACH_VM_INHERIT_H_
  63. #define    _MACH_VM_INHERIT_H_
  64.  
  65. /*
  66.  *    Types defined:
  67.  *
  68.  *    vm_inherit_t    inheritance codes.
  69.  */
  70.  
  71. typedef int        vm_inherit_t;    /* might want to change this */
  72.  
  73. /*
  74.  *    Enumeration of valid values for vm_inherit_t.
  75.  */
  76.  
  77. #define    VM_INHERIT_SHARE    ((vm_inherit_t) 0)    /* share with child */
  78. #define    VM_INHERIT_COPY        ((vm_inherit_t) 1)    /* copy into child */
  79. #define VM_INHERIT_NONE        ((vm_inherit_t) 2)    /* absent from child */
  80.  
  81. #define VM_INHERIT_DEFAULT    VM_INHERIT_COPY
  82.  
  83. #endif    /* _MACH_VM_INHERIT_H_ */
  84.