Module Name: src
Committed By: thorpej
Date: Sun Jan 14 23:01:43 UTC 2024
Modified Files:
src/sys/arch/news68k/news68k: isr.c isr.h
Log Message:
G/C isrlink_custom(); just use vec_set_entry() directly.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/news68k/news68k/isr.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/news68k/news68k/isr.h
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/news68k/isr.c
diff -u src/sys/arch/news68k/news68k/isr.c:1.24 src/sys/arch/news68k/news68k/isr.c:1.25
--- src/sys/arch/news68k/news68k/isr.c:1.24 Sat Jan 13 23:59:47 2024
+++ src/sys/arch/news68k/news68k/isr.c Sun Jan 14 23:01:43 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: isr.c,v 1.24 2024/01/13 23:59:47 thorpej Exp $ */
+/* $NetBSD: isr.c,v 1.25 2024/01/14 23:01:43 thorpej Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isr.c,v 1.24 2024/01/13 23:59:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isr.c,v 1.25 2024/01/14 23:01:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -255,12 +255,6 @@ isrdispatch_vectored(int pc, int evec, v
printf("isrdispatch_vectored: vec 0x%x not claimed\n", vec);
}
-void
-isrlink_custom(int level, void *handler)
-{
- vec_set_entry(VECI_INTRAV0 + level, handler);
-}
-
const uint16_t ipl2psl_table[NIPL] = {
[IPL_NONE] = PSL_S | PSL_IPL0,
[IPL_SOFTCLOCK] = PSL_S | PSL_IPL2,
Index: src/sys/arch/news68k/news68k/isr.h
diff -u src/sys/arch/news68k/news68k/isr.h:1.8 src/sys/arch/news68k/news68k/isr.h:1.9
--- src/sys/arch/news68k/news68k/isr.h:1.8 Sat Jan 13 23:59:47 2024
+++ src/sys/arch/news68k/news68k/isr.h Sun Jan 14 23:01:43 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: isr.h,v 1.8 2024/01/13 23:59:47 thorpej Exp $ */
+/* $NetBSD: isr.h,v 1.9 2024/01/14 23:01:43 thorpej Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -61,4 +61,3 @@ void isrlink_vectored(int (*)(void *), v
void isrunlink_vectored(int);
void isrdispatch_autovec(int);
void isrdispatch_vectored(int, int, void *);
-void isrlink_custom(int, void *);