complete removal of soft interrupts from Henry Bent
This commit is contained in:
parent
3056c4f69a
commit
bfd5f301c3
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: autoconf.c,v 1.88 2006/03/29 04:16:48 thorpej Exp $ */
|
||||
/* $NetBSD: autoconf.c,v 1.89 2008/01/31 03:30:36 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
|
||||
@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.88 2006/03/29 04:16:48 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.89 2008/01/31 03:30:36 christos Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
|
||||
@ -71,13 +71,6 @@ void gencnslask __P((void));
|
||||
|
||||
struct cpu_dep *dep_call;
|
||||
|
||||
struct evcnt softnet_intrcnt =
|
||||
EVCNT_INITIALIZER(EVCNT_TYPE_INTR, NULL, "soft", "net");
|
||||
struct evcnt softserial_intrcnt =
|
||||
EVCNT_INITIALIZER(EVCNT_TYPE_INTR, NULL, "soft", "serial");
|
||||
struct evcnt softclock_intrcnt =
|
||||
EVCNT_INITIALIZER(EVCNT_TYPE_INTR, NULL, "soft", "clock");
|
||||
|
||||
#define MAINBUS 0
|
||||
|
||||
void
|
||||
@ -87,10 +80,6 @@ cpu_configure(void)
|
||||
if (config_rootfound("mainbus", NULL) == NULL)
|
||||
panic("mainbus not configured");
|
||||
|
||||
evcnt_attach_static(&softserial_intrcnt);
|
||||
evcnt_attach_static(&softnet_intrcnt);
|
||||
evcnt_attach_static(&softclock_intrcnt);
|
||||
|
||||
/*
|
||||
* We're ready to start up. Clear CPU cold start flag.
|
||||
* Soft cold-start flag will be cleared in configure().
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: intvec.S,v 1.13 2007/12/03 15:34:24 ad Exp $ */
|
||||
/* $NetBSD: intvec.S,v 1.14 2008/01/31 03:30:36 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1997 Ludd, University of Lule}, Sweden.
|
||||
@ -130,12 +130,12 @@ _C_LABEL(rpb):
|
||||
NOVEC; # Unused, 94
|
||||
NOVEC; # Unused, 98
|
||||
NOVEC; # Unused, 9C
|
||||
INTVEC(softclock,ISTACK) # Software clock interrupt (IPL 08)
|
||||
NOVEC; # Unused, A0
|
||||
NOVEC; # Unused, A4 (IPL 09)
|
||||
NOVEC; # Unused, A8 (IPL 10)
|
||||
NOVEC; # Unused, AC (IPL 11)
|
||||
INTVEC(softnet, ISTACK) # Software network interrupt (IPL 12)
|
||||
INTVEC(softserial, ISTACK) # Software serial interrupt (IPL 13)
|
||||
NOVEC; # Unused, B0
|
||||
NOVEC; # Unused, B4
|
||||
NOVEC; # Unused, B8 (IPL 14)
|
||||
INTVEC(ddbtrap, ISTACK) # Kernel debugger trap, BC (IPL 15)
|
||||
INTVEC(hardclock,ISTACK) # Interval Timer
|
||||
|
Loading…
Reference in New Issue
Block a user