No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / cesfic / cesfic / vectors.s
blobf21ad70d669855057eaf749fa8e9b2a8a308c276
1 | $NetBSD: vectors.s,v 1.1.24.3 2004/09/21 13:14:26 skrll Exp $
3 | Copyright (c) 1988 University of Utah
4 | Copyright (c) 1990, 1993
5 | The Regents of the University of California. All rights reserved.
7 | Redistribution and use in source and binary forms, with or without
8 | modification, are permitted provided that the following conditions
9 | are met:
10 | 1. Redistributions of source code must retain the above copyright
11 | notice, this list of conditions and the following disclaimer.
12 | 2. Redistributions in binary form must reproduce the above copyright
13 | notice, this list of conditions and the following disclaimer in the
14 | documentation and/or other materials provided with the distribution.
15 | 3. All advertising materials mentioning features or use of this software
16 | must display the following acknowledgement:
17 | This product includes software developed by the University of
18 | California, Berkeley and its contributors.
19 | 4. Neither the name of the University nor the names of its contributors
20 | may be used to endorse or promote products derived from this software
21 | without specific prior written permission.
23 | THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 | SUCH DAMAGE.
35 | @(#)vectors.s 8.2 (Berkeley) 1/21/94
38 .text
39 GLOBAL(vectab)
40 VECTOR_UNUSED /* 0: NOT USED (reset SSP) */
41 VECTOR_UNUSED /* 1: NOT USED (reset PC) */
42 VECTOR(buserr40) /* 2: bus error */
43 VECTOR(addrerr4060) /* 3: address error */
44 VECTOR(illinst) /* 4: illegal instruction */
45 VECTOR(zerodiv) /* 5: zero divide */
46 VECTOR(chkinst) /* 6: CHK instruction */
47 VECTOR(trapvinst) /* 7: TRAPV instruction */
48 VECTOR(privinst) /* 8: privilege violation */
49 VECTOR(trace) /* 9: trace */
50 VECTOR(illinst) /* 10: line 1010 emulator */
51 VECTOR(fpfline) /* 11: line 1111 emulator */
52 VECTOR(badtrap) /* 12: unassigned, reserved */
53 VECTOR(coperr) /* 13: coprocessor protocol violation */
54 VECTOR(fmterr) /* 14: format error */
55 VECTOR(badtrap) /* 15: uninitialized interrupt vector */
56 VECTOR(badtrap) /* 16: unassigned, reserved */
57 VECTOR(badtrap) /* 17: unassigned, reserved */
58 VECTOR(badtrap) /* 18: unassigned, reserved */
59 VECTOR(badtrap) /* 19: unassigned, reserved */
60 VECTOR(badtrap) /* 20: unassigned, reserved */
61 VECTOR(badtrap) /* 21: unassigned, reserved */
62 VECTOR(badtrap) /* 22: unassigned, reserved */
63 VECTOR(badtrap) /* 23: unassigned, reserved */
64 VECTOR(spurintr) /* 24: spurious interrupt */
65 VECTOR(intrhand) /* 25: level 1 interrupt autovector */
66 VECTOR(intrhand) /* 26: level 2 interrupt autovector */
67 VECTOR(intrhand) /* 27: level 3 interrupt autovector */
68 VECTOR(intrhand) /* 28: level 4 interrupt autovector */
69 VECTOR(intrhand) /* 29: level 5 interrupt autovector */
70 VECTOR(lev6intr) /* 30: level 6 interrupt autovector */
71 VECTOR(lev7intr) /* 31: level 7 interrupt autovector */
72 VECTOR(trap0) /* 32: syscalls */
73 #ifdef COMPAT_13
74 VECTOR(trap1) /* 33: sigreturn syscall or breakpoint */
75 #else
76 VECTOR(illinst)
77 #endif
78 VECTOR(trap2) /* 34: breakpoint or sigreturn syscall */
79 #ifdef COMPAT_16
80 VECTOR(trap3) /* 35: compat_16_sigreturn */
81 #else
82 VECTOR(illinst)
83 #endif
84 VECTOR(illinst) /* 36: TRAP instruction vector */
85 VECTOR(illinst) /* 37: TRAP instruction vector */
86 VECTOR(illinst) /* 38: TRAP instruction vector */
87 VECTOR(illinst) /* 39: TRAP instruction vector */
88 VECTOR(illinst) /* 40: TRAP instruction vector */
89 VECTOR(illinst) /* 41: TRAP instruction vector */
90 VECTOR(illinst) /* 42: TRAP instruction vector */
91 VECTOR(illinst) /* 43: TRAP instruction vector */
92 VECTOR(trap12) /* 44: TRAP instruction vector */
93 VECTOR(illinst) /* 45: TRAP instruction vector */
94 VECTOR(illinst) /* 46: TRAP instruction vector */
95 VECTOR(trap15) /* 47: TRAP instruction vector */
96 #ifdef FPSP
97 ASVECTOR(bsun) /* 48: FPCP branch/set on unordered cond */
98 ASVECTOR(inex) /* 49: FPCP inexact result */
99 ASVECTOR(dz) /* 50: FPCP divide by zero */
100 ASVECTOR(unfl) /* 51: FPCP underflow */
101 ASVECTOR(operr) /* 52: FPCP operand error */
102 ASVECTOR(ovfl) /* 53: FPCP overflow */
103 ASVECTOR(snan) /* 54: FPCP signalling NAN */
104 #else
105 VECTOR(fpfault) /* 48: FPCP branch/set on unordered cond */
106 VECTOR(fpfault) /* 49: FPCP inexact result */
107 VECTOR(fpfault) /* 50: FPCP divide by zero */
108 VECTOR(fpfault) /* 51: FPCP underflow */
109 VECTOR(fpfault) /* 52: FPCP operand error */
110 VECTOR(fpfault) /* 53: FPCP overflow */
111 VECTOR(fpfault) /* 54: FPCP signalling NAN */
112 #endif
114 VECTOR(fpunsupp) /* 55: FPCP unimplemented data type */
115 VECTOR(badtrap) /* 56: unassigned, reserved */
116 VECTOR(badtrap) /* 57: unassigned, reserved */
117 VECTOR(badtrap) /* 58: unassigned, reserved */
118 VECTOR(badtrap) /* 59: unassigned, reserved */
119 VECTOR(badtrap) /* 60: unassigned, reserved */
120 VECTOR(badtrap) /* 61: unassigned, reserved */
121 VECTOR(badtrap) /* 62: unassigned, reserved */
122 VECTOR(badtrap) /* 63: unassigned, reserved */
123 #define BADTRAP16 VECTOR(badtrap); VECTOR(badtrap); \
124 VECTOR(badtrap); VECTOR(badtrap); \
125 VECTOR(badtrap); VECTOR(badtrap); \
126 VECTOR(badtrap); VECTOR(badtrap); \
127 VECTOR(badtrap); VECTOR(badtrap); \
128 VECTOR(badtrap); VECTOR(badtrap); \
129 VECTOR(badtrap); VECTOR(badtrap); \
130 VECTOR(badtrap); VECTOR(badtrap)
131 BADTRAP16 /* 64-255: user interrupt vectors */
132 BADTRAP16 /* 64-255: user interrupt vectors */
133 BADTRAP16 /* 64-255: user interrupt vectors */
134 BADTRAP16 /* 64-255: user interrupt vectors */
135 BADTRAP16 /* 64-255: user interrupt vectors */
136 BADTRAP16 /* 64-255: user interrupt vectors */
137 BADTRAP16 /* 64-255: user interrupt vectors */
138 BADTRAP16 /* 64-255: user interrupt vectors */
139 BADTRAP16 /* 64-255: user interrupt vectors */
140 BADTRAP16 /* 64-255: user interrupt vectors */
141 BADTRAP16 /* 64-255: user interrupt vectors */
142 BADTRAP16 /* 64-255: user interrupt vectors */