[BACK]Return to trap.h CVS log [TXT][DIR] Up to [local] / sys / arch / m88k / include

Annotation of sys/arch/m88k/include/trap.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: trap.h,v 1.3 2006/05/08 14:03:34 miod Exp $ */
                      2: /*
                      3:  * Mach Operating System
                      4:  * Copyright (c) 1992 Carnegie Mellon University
                      5:  * All Rights Reserved.
                      6:  *
                      7:  * Permission to use, copy, modify and distribute this software and its
                      8:  * documentation is hereby granted, provided that both the copyright
                      9:  * notice and this permission notice appear in all copies of the
                     10:  * software, derivative works or modified versions, and any portions
                     11:  * thereof, and that both notices appear in supporting documentation.
                     12:  *
                     13:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
                     14:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
                     15:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
                     16:  *
                     17:  * Carnegie Mellon requests users of this software to return to
                     18:  *
                     19:  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
                     20:  *  School of Computer Science
                     21:  *  Carnegie Mellon University
                     22:  *  Pittsburgh PA 15213-3890
                     23:  *
                     24:  * any improvements or extensions that they make and grant Carnegie Mellon
                     25:  * the rights to redistribute these changes.
                     26:  */
                     27: /*
                     28:  * Trap codes
                     29:  */
                     30: #ifndef __MACHINE_TRAP_H__
                     31: #define __MACHINE_TRAP_H__
                     32:
                     33: /*
                     34:  * Trap type values
                     35:  */
                     36:
                     37: #define T_PRIVINFLT    0       /* privileged instruction fault */
                     38: #define T_INSTFLT      1       /* instruction access exception */
                     39: #define T_DATAFLT      2       /* data access exception */
                     40: #define T_MISALGNFLT   3       /* misaligned access exception */
                     41: #define T_ILLFLT       4       /* unimplemented opcode exception */
                     42: #define T_BNDFLT       5       /* bounds check violation exception */
                     43: #define T_ZERODIV      6       /* illegal divide exception */
                     44: #define T_OVFFLT       7       /* integer overflow exception */
                     45: #define T_FPEPFLT      8       /* floating point precise exception */
                     46: #define T_ASTFLT       9       /* software trap */
                     47: #define        T_KDB_ENTRY     10      /* force entry to kernel debugger */
                     48: #define T_KDB_BREAK    11      /* break point hit */
                     49: #define T_KDB_TRACE    12      /* trace */
                     50: #define T_UNKNOWNFLT   13      /* unknown exception */
                     51: #define T_SIGSYS       14      /* generate SIGSYS */
                     52: #define T_STEPBPT      15      /* special breakpoint for single step */
                     53: #define T_USERBPT      16      /* user set breakpoint (for debugger) */
                     54: #define T_INT          17      /* interrupt exception */
                     55: #define T_NON_MASK     18      /* MVME197 Non-Maskable Interrupt */
                     56: #define        T_110_DRM       19      /* 88110 data read miss (sw table walk) */
                     57: #define        T_110_DWM       20      /* 88110 data write miss (sw table walk) */
                     58: #define        T_110_IAM       21      /* 88110 inst ATC miss (sw table walk) */
                     59: #define T_USER         22      /* user mode fault */
                     60:
                     61: #ifndef _LOCORE
                     62: void cache_flush(struct trapframe *);
                     63: void m88100_syscall(register_t, struct trapframe *);
                     64: void m88100_trap(unsigned, struct trapframe *);
                     65: void m88110_syscall(register_t, struct trapframe *);
                     66: void m88110_trap(unsigned, struct trapframe *);
                     67: #endif /* _LOCORE */
                     68:
                     69: #endif /* __MACHINE_TRAP_H__ */

CVSweb