home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Headers / mach / exc.defs < prev    next >
Text File  |  1995-01-05  |  3KB  |  96 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:    exc.defs,v $
  29.  * Revision 2.4  91/05/14  16:51:31  mrt
  30.  *     Correcting copyright
  31.  * 
  32.  * Revision 2.3  91/02/05  17:31:52  mrt
  33.  *     Changed to new Mach copyright
  34.  *     [91/02/01  17:16:59  mrt]
  35.  * 
  36.  * Revision 2.2  90/06/02  14:57:52  rpd
  37.  *     Converted to new IPC.
  38.  *     [90/03/26  22:29:13  rpd]
  39.  * 
  40.  * Revision 2.1  89/08/03  17:16:47  rwd
  41.  * Created.
  42.  * 
  43.  * Revision 2.3  89/02/25  18:13:23  gm0w
  44.  *     Changes for cleanup.
  45.  * 
  46.  * Revision 2.2  89/01/15  16:29:49  rpd
  47.  *     Moved from kern/ to mach/.
  48.  *     [89/01/15  14:38:37  rpd]
  49.  * 
  50.  * Revision 2.3  89/01/12  07:53:10  rpd
  51.  *     Fixed includes.
  52.  * 
  53.  * 29-Jun-88  Michael Young (mwyoung) at Carnegie-Mellon University
  54.  *    Moved data type declarations to "mach_types.defs".
  55.  *
  56.  * 30-Nov-87  David Black (dlb) at Carnegie-Mellon University
  57.  *    Rewrote interface to use messages for synchronization.
  58.  *
  59.  *  9-Oct-87  David Black (dlb) at Carnegie-Mellon University
  60.  *    Translation won't work for this interface; all combinations of 
  61.  *    user/kernel to user/kernel are possible.  Removed translation.
  62.  *
  63.  * 29-Sep-87  David Black (dlb) at Carnegie-Mellon University
  64.  *    Created.
  65.  *
  66.  */
  67. /*
  68.  * Abstract:
  69.  *    MiG definitions file for Mach exception interface.
  70.  */
  71.  
  72. subsystem
  73. #if    KERNEL_USER && defined(NEW_MACH_IPC)
  74.       KernelUser
  75. #endif    KERNEL_USER
  76.              exc 2400;
  77.  
  78. #include <mach/std_types.defs>
  79.  
  80. ServerPrefix catch_;
  81.  
  82. routine        exception_raise(
  83. #ifdef    NEW_MACH_IPC
  84.             exception_port    : mach_port_t;
  85.             thread        : mach_port_t;
  86.             task        : mach_port_t;
  87. #else    /* NEW_MACH_IPC */
  88.     requestport    exception_port    : port_t;
  89.     replyport    clear_port    : port_t;
  90.             thread        : port_t;
  91.             task        : port_t;
  92. #endif    /* NEW_MACH_IPC */
  93.             exception    : int;
  94.             code        : int;
  95.             subcode        : int);
  96.