BSD 4_3_Net_2 release
[unix-history] / usr / src / sys / hp300 / hp300 / vectors.s
index 790d9a9..f20aad1 100644 (file)
@@ -2,10 +2,44 @@
 | Copyright (c) 1990 Regents of the University of California.
 | All rights reserved.
 |
 | Copyright (c) 1990 Regents of the University of California.
 | All rights reserved.
 |
-| %sccs.include.redist.gas%
+| Redistribution and use in source and binary forms, with or without
+| modification, are permitted provided that the following conditions
+| are met:
+| 1. Redistributions of source code must retain the above copyright
+|    notice, this list of conditions and the following disclaimer.
+| 2. Redistributions in binary form must reproduce the above copyright
+|    notice, this list of conditions and the following disclaimer in the
+|    documentation and/or other materials provided with the distribution.
+| 3. All advertising materials mentioning features or use of this software
+|    must display the following acknowledgement:
+|      This product includes software developed by the University of
+|      California, Berkeley and its contributors.
+| 4. Neither the name of the University nor the names of its contributors
+|    may be used to endorse or promote products derived from this software
+|    without specific prior written permission.
 |
 |
-|      @(#)vectors.s   7.1 (Berkeley) %G%
+| THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+| ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+| ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+| FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+| DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+| OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+| HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+| LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+| OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+| SUCH DAMAGE.
 |
 |
+|      @(#)vectors.s   7.2 (Berkeley) 5/7/91
+|
+#define        _fpbsun         _fpfault
+#define        _fpinex         _fpfault
+#define        _fpdz           _fpfault
+#define        _fpunfl         _fpfault
+#define        _fpoperr        _fpfault
+#define        _fpovfl         _fpfault
+#define        _fpsnan         _fpfault
+
        .text
        .globl  _buserr,_addrerr
        .globl  _illinst,_zerodiv,_chkinst,_trapvinst,_privinst,_trace
        .text
        .globl  _buserr,_addrerr
        .globl  _illinst,_zerodiv,_chkinst,_trapvinst,_privinst,_trace
        .globl  _spurintr,_lev1intr,_lev2intr,_lev3intr
        .globl  _lev4intr,_lev5intr,_lev6intr,_lev7intr
        .globl  _trap0,_trap1,_trap2,_trap15
        .globl  _spurintr,_lev1intr,_lev2intr,_lev3intr
        .globl  _lev4intr,_lev5intr,_lev6intr,_lev7intr
        .globl  _trap0,_trap1,_trap2,_trap15
+       .globl  _fpfline, _fpunsupp, _fpfault
+       .globl  _fpbsun, _fpinex, _fpdz, _fpunfl, _fpoperr, _fpovfl, _fpsnan
+       .globl  _trap12
 
 
+Lvectab:
        .long   0x4ef80400      /* 0: jmp 0x400:w (unused reset SSP) */
        .long   0               /* 1: NOT USED (reset PC) */
        .long   _buserr         /* 2: bus error */
        .long   0x4ef80400      /* 0: jmp 0x400:w (unused reset SSP) */
        .long   0               /* 1: NOT USED (reset PC) */
        .long   _buserr         /* 2: bus error */
@@ -25,7 +63,7 @@
        .long   _privinst       /* 8: privilege violation */
        .long   _trace          /* 9: trace */
        .long   _illinst        /* 10: line 1010 emulator */
        .long   _privinst       /* 8: privilege violation */
        .long   _trace          /* 9: trace */
        .long   _illinst        /* 10: line 1010 emulator */
-       .long   _illinst        /* 11: line 1111 emulator */
+       .long   _fpfline        /* 11: line 1111 emulator */
        .long   _badtrap        /* 12: unassigned, reserved */
        .long   _coperr         /* 13: coprocessor protocol violation */
        .long   _fmterr         /* 14: format error */
        .long   _badtrap        /* 12: unassigned, reserved */
        .long   _coperr         /* 13: coprocessor protocol violation */
        .long   _fmterr         /* 14: format error */
        .long   _illinst        /* 41: TRAP instruction vector */
        .long   _illinst        /* 42: TRAP instruction vector */
        .long   _illinst        /* 43: TRAP instruction vector */
        .long   _illinst        /* 41: TRAP instruction vector */
        .long   _illinst        /* 42: TRAP instruction vector */
        .long   _illinst        /* 43: TRAP instruction vector */
-       .long   _illinst        /* 44: TRAP instruction vector */
+       .long   _trap12         /* 44: TRAP instruction vector */
        .long   _illinst        /* 45: TRAP instruction vector */
        .long   _illinst        /* 46: TRAP instruction vector */
        .long   _trap15         /* 47: TRAP instruction vector */
        .long   _illinst        /* 45: TRAP instruction vector */
        .long   _illinst        /* 46: TRAP instruction vector */
        .long   _trap15         /* 47: TRAP instruction vector */
-       .long   _fptrap         /* 48: FPCP branch/set on unordered cond */
-       .long   _fptrap         /* 49: FPCP inexact result */
-       .long   _fptrap         /* 50: FPCP divide by zero */
-       .long   _fptrap         /* 51: FPCP underflow */
-       .long   _fptrap         /* 52: FPCP operand error */
-       .long   _fptrap         /* 53: FPCP overflow */
-       .long   _fptrap         /* 54: FPCP signalling NAN */
+       .long   _fpbsun         /* 48: FPCP branch/set on unordered cond */
+       .long   _fpinex         /* 49: FPCP inexact result */
+       .long   _fpdz           /* 50: FPCP divide by zero */
+       .long   _fpunfl         /* 51: FPCP underflow */
+       .long   _fpoperr        /* 52: FPCP operand error */
+       .long   _fpovfl         /* 53: FPCP overflow */
+       .long   _fpsnan         /* 54: FPCP signalling NAN */
 
 
-       .long   _badtrap        /* 55: unassigned, reserved */
+       .long   _fpunsupp       /* 55: FPCP unimplemented data type */
        .long   _badtrap        /* 56: unassigned, reserved */
        .long   _badtrap        /* 57: unassigned, reserved */
        .long   _badtrap        /* 58: unassigned, reserved */
        .long   _badtrap        /* 56: unassigned, reserved */
        .long   _badtrap        /* 57: unassigned, reserved */
        .long   _badtrap        /* 58: unassigned, reserved */