Annotation of kernel/machdep/i386/trap.h, 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:  * Copyright (c) 1992 NeXT Computer, Inc.
                     27:  *
                     28:  * Intel386 Family:    Trap identifiers.
                     29:  *
                     30:  * HISTORY
                     31:  *
                     32:  * 13 April 1992 ? at NeXT
                     33:  *     Created.
                     34:  */
                     35: 
                     36: /*
                     37:  * Exceptions which are generated by the
                     38:  * hardware.  There are 3 different classes:
                     39:  *
                     40:  * FAULT -     Generated before an instruction.  On
                     41:  *             return, the instruction is restarted.
                     42:  *
                     43:  * TRAP  -     Generated after an instruction.  On
                     44:  *             return, the next instruction is started.
                     45:  *
                     46:  * ABORT -     Does not permit restart or continuation.
                     47:  */
                     48: #define T_ZERO_DIVIDE          0       /*      FAULT   */
                     49: #define T_DEBUG                        1       /*      TRAP    */
                     50: #define T_BREAKPOINT           3       /*      TRAP    */
                     51: #define T_OVERFLOW             4       /*      TRAP    */
                     52: #define T_BOUNDS_CHECK         5       /*      FAULT   */
                     53: #define T_INVALID_OPCODE       6       /*      FAULT   */
                     54: #define T_NOEXTENSION          7       /*      FAULT   */
                     55: #define T_DOUBLE_FAULT         8       /*      FAULT   */
                     56: #define T_EXTENSION_OVERRUN    9       /*      ABORT   */
                     57: #define T_INVALID_TSS          10      /*      FAULT   */
                     58: #define T_SEGMENT_NOTPRESENT   11      /*      FAULT   */
                     59: #define T_STACK_EXCEPTION      12      /*      FAULT   */
                     60: #define T_GENERAL_PROTECTION   13      /*      FAULT   */
                     61: #define T_PAGE_FAULT           14      /*      FAULT   */
                     62: #define T_EXTENSION_FAULT      16      /*      FAULT   */
                     63: #define T_ALIGNMENT_CHECK      17      /*      FAULT   */

unix.superglobalmegacorp.com

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