exception.S (4929) | exception.S (5603) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $Id: exception.s,v 1.5 1994/09/28 03:37:49 bde Exp $ | 33 * $Id: exception.s,v 1.6 1994/12/03 10:02:19 bde Exp $ |
34 */ 35 36#include "npx.h" /* NNPX */ 37 38#include "assym.s" /* system defines */ 39 40#include <sys/errno.h> /* error return codes */ 41 --- 111 unchanged lines hidden (view full) --- 153 movl %eax,_cpl 154 call _npxintr 155 incb _intr_nesting_level 156 MEXITCOUNT 157 jmp _doreti 158#else /* NNPX > 0 */ 159 pushl $0; TRAP(T_ARITHTRAP) 160#endif /* NNPX > 0 */ | 34 */ 35 36#include "npx.h" /* NNPX */ 37 38#include "assym.s" /* system defines */ 39 40#include <sys/errno.h> /* error return codes */ 41 --- 111 unchanged lines hidden (view full) --- 153 movl %eax,_cpl 154 call _npxintr 155 incb _intr_nesting_level 156 MEXITCOUNT 157 jmp _doreti 158#else /* NNPX > 0 */ 159 pushl $0; TRAP(T_ARITHTRAP) 160#endif /* NNPX > 0 */ |
161 /* 17 - 31 reserved for future exp */ 162IDTVEC(rsvd0) 163 pushl $0; TRAP(17) 164IDTVEC(rsvd1) 165 pushl $0; TRAP(18) 166IDTVEC(rsvd2) 167 pushl $0; TRAP(19) 168IDTVEC(rsvd3) 169 pushl $0; TRAP(20) 170IDTVEC(rsvd4) 171 pushl $0; TRAP(21) 172IDTVEC(rsvd5) 173 pushl $0; TRAP(22) 174IDTVEC(rsvd6) 175 pushl $0; TRAP(23) 176IDTVEC(rsvd7) 177 pushl $0; TRAP(24) 178IDTVEC(rsvd8) 179 pushl $0; TRAP(25) 180IDTVEC(rsvd9) 181 pushl $0; TRAP(26) 182IDTVEC(rsvd10) 183 pushl $0; TRAP(27) 184IDTVEC(rsvd11) 185 pushl $0; TRAP(28) 186IDTVEC(rsvd12) 187 pushl $0; TRAP(29) 188IDTVEC(rsvd13) 189 pushl $0; TRAP(30) 190IDTVEC(rsvd14) 191 pushl $0; TRAP(31) | 161IDTVEC(align) 162 TRAP(T_ALIGNFLT) |
192 193 SUPERALIGN_TEXT 194_alltraps: 195 pushal 196 pushl %ds 197 pushl %es | 163 164 SUPERALIGN_TEXT 165_alltraps: 166 pushal 167 pushl %ds 168 pushl %es |
169alltraps_with_regs_pushed: |
|
198 movl $KDSEL,%eax 199 movl %ax,%ds 200 movl %ax,%es 201 FAKE_MCOUNT(12*4(%esp)) 202calltrap: 203 FAKE_MCOUNT(_btrap) /* init "from" _btrap -> calltrap */ 204 incl _cnt+V_TRAP 205 orl $SWI_AST_MASK,_cpl --- 89 unchanged lines hidden --- | 170 movl $KDSEL,%eax 171 movl %ax,%ds 172 movl %ax,%es 173 FAKE_MCOUNT(12*4(%esp)) 174calltrap: 175 FAKE_MCOUNT(_btrap) /* init "from" _btrap -> calltrap */ 176 incl _cnt+V_TRAP 177 orl $SWI_AST_MASK,_cpl --- 89 unchanged lines hidden --- |