home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / mach / vm_inherit.h < prev    next >
C/C++ Source or Header  |  1992-07-29  |  1KB  |  43 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1987 Carnegie-Mellon University
  4.  * All rights reserved.  The CMU software License Agreement specifies
  5.  * the terms and conditions for use and redistribution.
  6.  */
  7. /*
  8.  *    File:    vm/vm_inherit.h
  9.  *    Author:    Avadis Tevanian, Jr., Michael Wayne Young
  10.  *
  11.  *    Copyright (C) 1985, Avadis Tevanian, Jr., Michael Wayne Young
  12.  *
  13.  *    Virtual memory map inheritance definitions.
  14.  *
  15.  * HISTORY
  16.  * 16-Sep-85  Avadis Tevanian (avie) at Carnegie-Mellon University
  17.  *    Created.
  18.  */
  19.  
  20. #ifndef    _VM_INHERIT_H
  21. #define    _VM_INHERIT_H
  22.  
  23. /*
  24.  *    Types defined:
  25.  *
  26.  *    vm_inherit_t    inheritance codes.
  27.  */
  28.  
  29. typedef 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_H
  43.