File:  [Research Unix] / researchv9 / sys / sun3 / trap.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

/*	@(#)trap.h 1.1 86/02/03 SMI	*/

/*
 * Copyright (c) 1985 by Sun Microsystems, Inc.
 */

/*
 * Trap type values
 */

#define	T_M_ERRORVEC	0x00	/* magic number for any uninitialized vectors */
#define	T_BUSERR	0x08
#define	T_ADDRERR	0x0c
#define	T_ILLINST	0x10
#define	T_ZERODIV	0x14
#define	T_CHKINST	0x18
#define	T_TRAPV		0x1c
#define	T_PRIVVIO	0x20
#define	T_TRACE		0x24
#define	T_EMU1010	0x28
#define	T_EMU1111	0x2c
#define	T_COPROCERR	0x34
#define	T_FMTERR	0x38
#define	T_SPURIOUS	0x60
#define	T_LEVEL1	0x64
#define	T_LEVEL2	0x68
#define	T_LEVEL3	0x6c
#define	T_LEVEL4	0x70
#define	T_LEVEL5	0x74
#define	T_LEVEL6	0x78
#define	T_LEVEL7	0x7c
#define	T_SYSCALL	0x80
#define	T_M_BADTRAP	0x84	/* magic number for traps 1-14 */
#define	T_BRKPT		0xbc
#define	T_M_FLOATERR	0xc0	/* magic number for float traps */

unix.superglobalmegacorp.com

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