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

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 $
1.1.1.2 ! root       53:  * Revision 1.3  1999/07/22 20:03:59  wsanchez
        !            54:  * Update APSL
        !            55:  *
        !            56:  * Revision 1.2  1999/03/25 09:19:40  wsanchez
        !            57:  * Merge kernel-copyrights.
        !            58:  * Undelete drvAdaptecU2SCSI.
        !            59:  *
1.1       root       60:  * Revision 1.1.1.1.666.4  1999/03/16 17:05:37  wsanchez
                     61:  * Substitute License
                     62:  *
                     63:  * Revision 1.1.1.1.666.3  1999/03/16 15:28:01  wsanchez
                     64:  * Substitute copyright
                     65:  *
                     66:  * Revision 1.1.1.1.666.2  1999/03/16 10:37:37  umeshv
                     67:  * Fixed errors in previous commit.
                     68:  *
                     69:  * Revision 1.1.1.1.666.1  1999/03/11 09:52:48  umeshv
                     70:  * Added copyrights.
                     71:  *
                     72:  * Revision 1.1.1.1  1997/09/30 02:44:49  wsanchez
                     73:  * Import of kernel from umeshv/kernel
                     74:  *
                     75:  * Revision 2.4  91/05/14  16:51:31  mrt
                     76:  *     Correcting copyright
                     77:  * 
                     78:  * Revision 2.3  91/02/05  17:31:52  mrt
                     79:  *     Changed to new Mach copyright
                     80:  *     [91/02/01  17:16:59  mrt]
                     81:  * 
                     82:  * Revision 2.2  90/06/02  14:57:52  rpd
                     83:  *     Converted to new IPC.
                     84:  *     [90/03/26  22:29:13  rpd]
                     85:  * 
                     86:  * Revision 2.1  89/08/03  17:16:47  rwd
                     87:  * Created.
                     88:  * 
                     89:  * Revision 2.3  89/02/25  18:13:23  gm0w
                     90:  *     Changes for cleanup.
                     91:  * 
                     92:  * Revision 2.2  89/01/15  16:29:49  rpd
                     93:  *     Moved from kern/ to mach/.
                     94:  *     [89/01/15  14:38:37  rpd]
                     95:  * 
                     96:  * Revision 2.3  89/01/12  07:53:10  rpd
                     97:  *     Fixed includes.
                     98:  * 
                     99:  * 29-Jun-88  Michael Young (mwyoung) at Carnegie-Mellon University
                    100:  *     Moved data type declarations to "mach_types.defs".
                    101:  *
                    102:  * 30-Nov-87  David Black (dlb) at Carnegie-Mellon University
                    103:  *     Rewrote interface to use messages for synchronization.
                    104:  *
                    105:  *  9-Oct-87  David Black (dlb) at Carnegie-Mellon University
                    106:  *     Translation won't work for this interface; all combinations of 
                    107:  *     user/kernel to user/kernel are possible.  Removed translation.
                    108:  *
                    109:  * 29-Sep-87  David Black (dlb) at Carnegie-Mellon University
                    110:  *     Created.
                    111:  *
                    112:  */
                    113: /*
                    114:  * Abstract:
                    115:  *     MiG definitions file for Mach exception interface.
                    116:  */
                    117: 
                    118: subsystem
                    119: #if    KERNEL_USER && defined(MACH_IPC_FLAVOR)
                    120:          KernelUser
                    121: #endif KERNEL_USER
                    122:                     exc 2400;
                    123: 
                    124: #include <mach/std_types.defs>
                    125: 
                    126: ServerPrefix catch_;
                    127: 
                    128: routine                exception_raise(
                    129: #ifdef MACH_IPC_FLAVOR
                    130:                        exception_port  : mach_port_t;
                    131:                        thread          : mach_port_t;
                    132:                        task            : mach_port_t;
                    133: #else  /* MACH_IPC_FLAVOR */
                    134:        requestport     exception_port  : port_t;
                    135:        replyport       clear_port      : port_t;
                    136:                        thread          : port_t;
                    137:                        task            : port_t;
                    138: #endif /* MACH_IPC_FLAVOR */
                    139:                        exception       : int;
                    140:                        code            : int;
                    141:                        subcode         : int);

unix.superglobalmegacorp.com

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