Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/atari There are no level1 or level7 interrupt...



details:   https://anonhg.NetBSD.org/src/rev/e644522052b5
branches:  trunk
changeset: 508499:e644522052b5
user:      leo <leo%NetBSD.org@localhost>
date:      Thu Apr 12 09:09:56 2001 +0000

description:
There are no level1 or level7 interrupts possible on the Milan...

diffstat:

 sys/arch/atari/atari/locore.s  |   6 +++++-
 sys/arch/atari/atari/vectors.s |  10 +++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (65 lines):

diff -r c1fbe3a489c3 -r e644522052b5 sys/arch/atari/atari/locore.s
--- a/sys/arch/atari/atari/locore.s     Thu Apr 12 07:57:56 2001 +0000
+++ b/sys/arch/atari/atari/locore.s     Thu Apr 12 09:09:56 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.78 2001/04/10 13:59:10 leo Exp $  */
+/*     $NetBSD: locore.s,v 1.79 2001/04/12 09:09:56 leo Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -55,6 +55,7 @@
 #include "opt_ddb.h"
 #include "opt_fpsp.h"
 #include "opt_lockdebug.h"
+#include "opt_mbtype.h"
 #include "kbd.h"
 #include "ncrscsi.h"
 #include "zs.h"
@@ -628,6 +629,7 @@
        jra     _ASM_LABEL(rei)
 #endif /* NZS > 0 */
 
+#ifdef _ATARIHW_
        /* Level 1 (Software) interrupt handler */
 ENTRY_NOPROFILE(lev1intr)
        moveml  %d0-%d1/%a0-%a1,%sp@-
@@ -661,6 +663,8 @@
        addql   #1,_C_LABEL(intrcnt)+28 |  add another nmi interrupt
        rte                             |  all done
 
+#endif /* _ATARIHW_ */
+
 
 /*
  * Emulation of VAX REI instruction.
diff -r c1fbe3a489c3 -r e644522052b5 sys/arch/atari/atari/vectors.s
--- a/sys/arch/atari/atari/vectors.s    Thu Apr 12 07:57:56 2001 +0000
+++ b/sys/arch/atari/atari/vectors.s    Thu Apr 12 09:09:56 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vectors.s,v 1.15 2001/03/17 20:56:31 leo Exp $ */
+/*     $NetBSD: vectors.s,v 1.16 2001/04/12 09:09:56 leo Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah
@@ -64,13 +64,21 @@
        VECTOR(spurintr)        | 24: spurious interrupt
 
 GLOBAL(autovects)
+#ifdef _ATARIHW_
        VECTOR(lev1intr)        | 25: level 1 interrupt autovector
+#else
+       VECTOR(badtrap)         | 25: Not supported by hardware
+#endif
        VECTOR(lev2intr)        | 26: level 2 interrupt autovector
        VECTOR(lev3intr)        | 27: level 3 interrupt autovector
        VECTOR(lev4intr)        | 28: level 4 interrupt autovector
        VECTOR(lev5intr)        | 29: level 5 interrupt autovector
        VECTOR(lev6intr)        | 30: level 6 interrupt autovector
+#ifdef _ATARIHW_
        VECTOR(lev7intr)        | 31: level 7 interrupt autovector
+#else
+       VECTOR(badtrap)         | 31: Not supported by hardware
+#endif
        VECTOR(trap0)           | 32: syscalls
 #ifdef COMPAT_13
        VECTOR(trap1)           | 33: compat_13_sigreturn



Home | Main Index | Thread Index | Old Index