xref: /csrg-svn/sys/hp300/include/trap.h (revision 63160)
141474Smckusick /*
241474Smckusick  * Copyright (c) 1988 University of Utah.
3*63160Sbostic  * Copyright (c) 1982, 1986, 1990, 1993
4*63160Sbostic  *	The Regents of the University of California.  All rights reserved.
541474Smckusick  *
641474Smckusick  * This code is derived from software contributed to Berkeley by
741474Smckusick  * the Systems Programming Group of the University of Utah Computer
841474Smckusick  * Science Department.
941474Smckusick  *
1041474Smckusick  * %sccs.include.redist.c%
1141474Smckusick  *
1253928Shibler  * from: Utah $Hdr: trap.h 1.7 91/03/25$
1341474Smckusick  *
14*63160Sbostic  *	@(#)trap.h	8.1 (Berkeley) 06/10/93
1541474Smckusick  */
1641474Smckusick 
1741474Smckusick /*
1849428Skarels  * Trap codes
1941474Smckusick  */
2041474Smckusick 
2141474Smckusick #define	T_BUSERR	0
2241474Smckusick #define	T_ADDRERR	1
2341474Smckusick #define	T_ILLINST	2
2441474Smckusick #define	T_ZERODIV	3
2541474Smckusick #define	T_CHKINST	4
2641474Smckusick #define	T_TRAPVINST	5
2741474Smckusick #define	T_PRIVINST	6
2841474Smckusick #define	T_TRACE		7
2941474Smckusick #define	T_MMUFLT	8
3041474Smckusick #define	T_SSIR		9
3141474Smckusick #define	T_FMTERR	10
3241474Smckusick #define T_FPERR		11
3341474Smckusick #define T_COPERR	12
3443413Shibler #define T_ASTFLT	13
3541474Smckusick #define T_TRAP15	15
3653928Shibler #define T_FPEMULI	16
3753928Shibler #define T_FPEMULD	17
3849532Skarels 
3949532Skarels #define	T_USER		0x80		/* user-mode flag or'ed with type */
4049532Skarels 
41