Remove Xwild; it's no longer used.
This commit is contained in:
parent
e075f8c13d
commit
79a1309e3c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: intr.c,v 1.25 1994/11/04 19:13:50 mycroft Exp $ */
|
||||
/* $NetBSD: intr.c,v 1.26 1994/11/18 22:22:40 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994 Charles Hannum.
|
||||
@ -122,26 +122,17 @@ void
|
||||
isa_strayintr(irq)
|
||||
int irq;
|
||||
{
|
||||
static u_long strays, wilds;
|
||||
static u_long strays;
|
||||
|
||||
/*
|
||||
* Stray interrupts on irq 7 occur when an interrupt line is raised
|
||||
* and then lowered before the CPU acknowledges it. This generally
|
||||
* means either the device is screwed or something is cli'ing too
|
||||
* long and it's timing out.
|
||||
*
|
||||
* -1 is passed by the generic handler for out of range exceptions,
|
||||
* since we don't really want 208 little vectors just to get the
|
||||
* message right. (It wouldn't be all that much code, but why bother?)
|
||||
*/
|
||||
if (irq == -1) {
|
||||
++wilds;
|
||||
log(LOG_ERR, "wild interrupt\n");
|
||||
} else {
|
||||
if (++strays <= 5)
|
||||
log(LOG_ERR, "stray interrupt %d%s\n", irq,
|
||||
strays >= 5 ? "; stopped logging" : "");
|
||||
}
|
||||
if (++strays <= 5)
|
||||
log(LOG_ERR, "stray interrupt %d%s\n", irq,
|
||||
strays >= 5 ? "; stopped logging" : "");
|
||||
}
|
||||
|
||||
int fastvec;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vector.s,v 1.23 1994/11/04 00:00:36 mycroft Exp $ */
|
||||
/* $NetBSD: vector.s,v 1.24 1994/11/18 22:22:41 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993, 1994 Charles Hannum. All rights reserved.
|
||||
@ -119,19 +119,6 @@
|
||||
|
||||
.globl _isa_strayintr
|
||||
|
||||
/*
|
||||
* Handle exceptions on vectors we don't expect.
|
||||
*/
|
||||
IDTVEC(wild)
|
||||
sti
|
||||
pushl $0 /* fake interrupt frame */
|
||||
pushl $0
|
||||
INTRENTRY
|
||||
pushl $-1
|
||||
call _isa_strayintr
|
||||
addl $4,%esp
|
||||
INTRFASTEXIT
|
||||
|
||||
/*
|
||||
* Fast vectors.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user