Annotation of kernel/mach/exc.defs, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
                      3:  *
                      4:  * @APPLE_LICENSE_HEADER_START@
                      5:  * 
                      6:  * Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
                      7:  * Reserved.  This file contains Original Code and/or Modifications of
                      8:  * Original Code as defined in and that are subject to the Apple Public
                      9:  * Source License Version 1.1 (the "License").  You may not use this file
                     10:  * except in compliance with the License.  Please obtain a copy of the
                     11:  * License at http://www.apple.com/publicsource and read it before using
                     12:  * this file.
                     13:  * 
                     14:  * The Original Code and all software distributed under the License are
                     15:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
                     16:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
                     17:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
                     18:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
                     19:  * License for the specific language governing rights and limitations
                     20:  * under the License.
                     21:  * 
                     22:  * @APPLE_LICENSE_HEADER_END@
                     23:  */
                     24: 
                     25: /* 
                     26:  * Mach Operating System
                     27:  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
                     28:  * All Rights Reserved.
                     29:  * 
                     30:  * Permission to use, copy, modify and distribute this software and its
                     31:  * documentation is hereby granted, provided that both the copyright
                     32:  * notice and this permission notice appear in all copies of the
                     33:  * software, derivative works or modified versions, and any portions
                     34:  * thereof, and that both notices appear in supporting documentation.
                     35:  * 
                     36:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
                     37:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
                     38:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
                     39:  * 
                     40:  * Carnegie Mellon requests users of this software to return to
                     41:  * 
                     42:  *  Software Distribution Coordinator  or  [email protected]
                     43:  *  School of Computer Science
                     44:  *  Carnegie Mellon University
                     45:  *  Pittsburgh PA 15213-3890
                     46:  * 
                     47:  * any improvements or extensions that they make and grant Carnegie Mellon
                     48:  * the rights to redistribute these changes.
                     49:  */
                     50: /*
                     51:  * HISTORY
                     52:  * $Log: exc.defs,v $
                     53:  * Revision 1.1.1.1.666.4  1999/03/16 17:05:37  wsanchez
                     54:  * Substitute License
                     55:  *
                     56:  * Revision 1.1.1.1.666.3  1999/03/16 15:28:01  wsanchez
                     57:  * Substitute copyright
                     58:  *
                     59:  * Revision 1.1.1.1.666.2  1999/03/16 10:37:37  umeshv
                     60:  * Fixed errors in previous commit.
                     61:  *
                     62:  * Revision 1.1.1.1.666.1  1999/03/11 09:52:48  umeshv
                     63:  * Added copyrights.
                     64:  *
                     65:  * Revision 1.1.1.1  1997/09/30 02:44:49  wsanchez
                     66:  * Import of kernel from umeshv/kernel
                     67:  *
                     68:  * Revision 2.4  91/05/14  16:51:31  mrt
                     69:  *     Correcting copyright
                     70:  * 
                     71:  * Revision 2.3  91/02/05  17:31:52  mrt
                     72:  *     Changed to new Mach copyright
                     73:  *     [91/02/01  17:16:59  mrt]
                     74:  * 
                     75:  * Revision 2.2  90/06/02  14:57:52  rpd
                     76:  *     Converted to new IPC.
                     77:  *     [90/03/26  22:29:13  rpd]
                     78:  * 
                     79:  * Revision 2.1  89/08/03  17:16:47  rwd
                     80:  * Created.
                     81:  * 
                     82:  * Revision 2.3  89/02/25  18:13:23  gm0w
                     83:  *     Changes for cleanup.
                     84:  * 
                     85:  * Revision 2.2  89/01/15  16:29:49  rpd
                     86:  *     Moved from kern/ to mach/.
                     87:  *     [89/01/15  14:38:37  rpd]
                     88:  * 
                     89:  * Revision 2.3  89/01/12  07:53:10  rpd
                     90:  *     Fixed includes.
                     91:  * 
                     92:  * 29-Jun-88  Michael Young (mwyoung) at Carnegie-Mellon University
                     93:  *     Moved data type declarations to "mach_types.defs".
                     94:  *
                     95:  * 30-Nov-87  David Black (dlb) at Carnegie-Mellon University
                     96:  *     Rewrote interface to use messages for synchronization.
                     97:  *
                     98:  *  9-Oct-87  David Black (dlb) at Carnegie-Mellon University
                     99:  *     Translation won't work for this interface; all combinations of 
                    100:  *     user/kernel to user/kernel are possible.  Removed translation.
                    101:  *
                    102:  * 29-Sep-87  David Black (dlb) at Carnegie-Mellon University
                    103:  *     Created.
                    104:  *
                    105:  */
                    106: /*
                    107:  * Abstract:
                    108:  *     MiG definitions file for Mach exception interface.
                    109:  */
                    110: 
                    111: subsystem
                    112: #if    KERNEL_USER && defined(MACH_IPC_FLAVOR)
                    113:          KernelUser
                    114: #endif KERNEL_USER
                    115:                     exc 2400;
                    116: 
                    117: #include <mach/std_types.defs>
                    118: 
                    119: ServerPrefix catch_;
                    120: 
                    121: routine                exception_raise(
                    122: #ifdef MACH_IPC_FLAVOR
                    123:                        exception_port  : mach_port_t;
                    124:                        thread          : mach_port_t;
                    125:                        task            : mach_port_t;
                    126: #else  /* MACH_IPC_FLAVOR */
                    127:        requestport     exception_port  : port_t;
                    128:        replyport       clear_port      : port_t;
                    129:                        thread          : port_t;
                    130:                        task            : port_t;
                    131: #endif /* MACH_IPC_FLAVOR */
                    132:                        exception       : int;
                    133:                        code            : int;
                    134:                        subcode         : int);

unix.superglobalmegacorp.com

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