Module Name: src
Committed By: thorpej
Date: Mon Jan 15 19:54:53 UTC 2024
Modified Files:
src/sys/arch/news68k/include: vectors.h
src/sys/arch/news68k/news68k: locore.s
Log Message:
No need for our own spurious interrupt handler now that m68k_intr.c
handles them for us.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/news68k/include/vectors.h
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/news68k/news68k/locore.s
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/news68k/include/vectors.h
diff -u src/sys/arch/news68k/include/vectors.h:1.2 src/sys/arch/news68k/include/vectors.h:1.3
--- src/sys/arch/news68k/include/vectors.h:1.2 Mon Jan 15 00:35:23 2024
+++ src/sys/arch/news68k/include/vectors.h Mon Jan 15 19:54:53 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: vectors.h,v 1.2 2024/01/15 00:35:23 thorpej Exp $ */
+/* $NetBSD: vectors.h,v 1.3 2024/01/15 19:54:53 thorpej Exp $ */
/*-
* Copyright (c) 2024 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#include <m68k/vectors.h>
-#define MACHINE_AV0_HANDLER spurintr
+#define MACHINE_AV0_HANDLER intrstub_autovec
#define MACHINE_AV1_HANDLER lev1intr
#define MACHINE_AV2_HANDLER intrstub_autovec
#define MACHINE_AV3_HANDLER lev3intr
Index: src/sys/arch/news68k/news68k/locore.s
diff -u src/sys/arch/news68k/news68k/locore.s:1.80 src/sys/arch/news68k/news68k/locore.s:1.81
--- src/sys/arch/news68k/news68k/locore.s:1.80 Mon Jan 15 00:35:24 2024
+++ src/sys/arch/news68k/news68k/locore.s Mon Jan 15 19:54:53 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.80 2024/01/15 00:35:24 thorpej Exp $ */
+/* $NetBSD: locore.s,v 1.81 2024/01/15 19:54:53 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -651,13 +651,6 @@ Lbrkpt3:
* Interrupt handlers.
*/
-ENTRY_NOPROFILE(spurintr) /* Level 0 */
- addql #1,_C_LABEL(intrcnt)+0
- INTERRUPT_SAVEREG
- CPUINFO_INCREMENT(CI_NINTR)
- INTERRUPT_RESTOREREG
- rte
-
ENTRY_NOPROFILE(lev1intr) /* Level 1: AST interrupt */
addql #1,_C_LABEL(idepth)
INTERRUPT_SAVEREG