xref: /netbsd-src/sys/arch/luna68k/stand/boot/vectors.h (revision df6945b89fd70f3aba06e2ec3fc619713a01c91c)
1*df6945b8Stsutsui /*	$NetBSD: vectors.h,v 1.1 2013/01/05 17:44:24 tsutsui Exp $	*/
2*df6945b8Stsutsui 
3*df6945b8Stsutsui /*
4*df6945b8Stsutsui  * Copyright (c) 1992 OMRON Corporation.
5*df6945b8Stsutsui  *
6*df6945b8Stsutsui  * This code is derived from software contributed to Berkeley by
7*df6945b8Stsutsui  * OMRON Corporation.
8*df6945b8Stsutsui  *
9*df6945b8Stsutsui  * Redistribution and use in source and binary forms, with or without
10*df6945b8Stsutsui  * modification, are permitted provided that the following conditions
11*df6945b8Stsutsui  * are met:
12*df6945b8Stsutsui  * 1. Redistributions of source code must retain the above copyright
13*df6945b8Stsutsui  *    notice, this list of conditions and the following disclaimer.
14*df6945b8Stsutsui  * 2. Redistributions in binary form must reproduce the above copyright
15*df6945b8Stsutsui  *    notice, this list of conditions and the following disclaimer in the
16*df6945b8Stsutsui  *    documentation and/or other materials provided with the distribution.
17*df6945b8Stsutsui  * 3. All advertising materials mentioning features or use of this software
18*df6945b8Stsutsui  *    must display the following acknowledgement:
19*df6945b8Stsutsui  *	This product includes software developed by the University of
20*df6945b8Stsutsui  *	California, Berkeley and its contributors.
21*df6945b8Stsutsui  * 4. Neither the name of the University nor the names of its contributors
22*df6945b8Stsutsui  *    may be used to endorse or promote products derived from this software
23*df6945b8Stsutsui  *    without specific prior written permission.
24*df6945b8Stsutsui  *
25*df6945b8Stsutsui  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
26*df6945b8Stsutsui  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27*df6945b8Stsutsui  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28*df6945b8Stsutsui  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
29*df6945b8Stsutsui  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30*df6945b8Stsutsui  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31*df6945b8Stsutsui  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32*df6945b8Stsutsui  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33*df6945b8Stsutsui  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34*df6945b8Stsutsui  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35*df6945b8Stsutsui  * SUCH DAMAGE.
36*df6945b8Stsutsui  *
37*df6945b8Stsutsui  *	@(#)vectors.h	8.1 (Berkeley) 6/10/93
38*df6945b8Stsutsui  */
39*df6945b8Stsutsui /*
40*df6945b8Stsutsui  * Copyright (c) 1992, 1993
41*df6945b8Stsutsui  *	The Regents of the University of California.  All rights reserved.
42*df6945b8Stsutsui  *
43*df6945b8Stsutsui  * This code is derived from software contributed to Berkeley by
44*df6945b8Stsutsui  * OMRON Corporation.
45*df6945b8Stsutsui  *
46*df6945b8Stsutsui  * Redistribution and use in source and binary forms, with or without
47*df6945b8Stsutsui  * modification, are permitted provided that the following conditions
48*df6945b8Stsutsui  * are met:
49*df6945b8Stsutsui  * 1. Redistributions of source code must retain the above copyright
50*df6945b8Stsutsui  *    notice, this list of conditions and the following disclaimer.
51*df6945b8Stsutsui  * 2. Redistributions in binary form must reproduce the above copyright
52*df6945b8Stsutsui  *    notice, this list of conditions and the following disclaimer in the
53*df6945b8Stsutsui  *    documentation and/or other materials provided with the distribution.
54*df6945b8Stsutsui  * 3. Neither the name of the University nor the names of its contributors
55*df6945b8Stsutsui  *    may be used to endorse or promote products derived from this software
56*df6945b8Stsutsui  *    without specific prior written permission.
57*df6945b8Stsutsui  *
58*df6945b8Stsutsui  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
59*df6945b8Stsutsui  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
60*df6945b8Stsutsui  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
61*df6945b8Stsutsui  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
62*df6945b8Stsutsui  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
63*df6945b8Stsutsui  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
64*df6945b8Stsutsui  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
65*df6945b8Stsutsui  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66*df6945b8Stsutsui  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
67*df6945b8Stsutsui  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
68*df6945b8Stsutsui  * SUCH DAMAGE.
69*df6945b8Stsutsui  *
70*df6945b8Stsutsui  *	@(#)vectors.h	8.1 (Berkeley) 6/10/93
71*df6945b8Stsutsui  */
72*df6945b8Stsutsui 
73*df6945b8Stsutsui /* vectors.h */
74*df6945b8Stsutsui /* by A.Fujita, Nov-18-1991 */
75*df6945b8Stsutsui 
76*df6945b8Stsutsui #define	NVECTBL		0x400	/* size of vector table */
77*df6945b8Stsutsui 
78*df6945b8Stsutsui #define ILLGINST	0x010	/* Illegal Instruction */
79*df6945b8Stsutsui #define TRACEVEC	0x024	/* Trace Vector offset */
80*df6945b8Stsutsui #define	NMIVEC		0x07c	/* Level 7 Interrupt Auto Vector (NMI) offset */
81*df6945b8Stsutsui #define	EVTRAPF		0x0bc	/* Trap #15 Instraction Vector */
82