Added include of intr_machdep.h to eliminate compiler warning for APIC_IO.
This commit is contained in:
parent
248fcb669b
commit
9d37772f68
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27895
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.172 1997/07/17 06:01:15 dyson Exp $
|
||||
* $Id: sio.c,v 1.1 1997/08/04 17:58:18 smp Exp smp $
|
||||
*/
|
||||
|
||||
#include "opt_comconsole.h"
|
||||
@ -82,13 +82,14 @@
|
||||
#include <pccard/slot.h>
|
||||
#endif
|
||||
|
||||
#if defined(APIC_IO)
|
||||
#ifdef APIC_IO
|
||||
/*
|
||||
* INTs are masked in the (global) IO APIC,
|
||||
* but the IRR register is in each LOCAL APIC,
|
||||
* so we HAVE to unmask the INT to be able to "see INT pending"
|
||||
* BUT how do we clear them???
|
||||
*/
|
||||
#include <i386/isa/intr_machdep.h>
|
||||
#define isa_irq_pending icu_irq_pending
|
||||
#endif /* APIC_IO */
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.172 1997/07/17 06:01:15 dyson Exp $
|
||||
* $Id: sio.c,v 1.1 1997/08/04 17:58:18 smp Exp smp $
|
||||
*/
|
||||
|
||||
#include "opt_comconsole.h"
|
||||
@ -82,13 +82,14 @@
|
||||
#include <pccard/slot.h>
|
||||
#endif
|
||||
|
||||
#if defined(APIC_IO)
|
||||
#ifdef APIC_IO
|
||||
/*
|
||||
* INTs are masked in the (global) IO APIC,
|
||||
* but the IRR register is in each LOCAL APIC,
|
||||
* so we HAVE to unmask the INT to be able to "see INT pending"
|
||||
* BUT how do we clear them???
|
||||
*/
|
||||
#include <i386/isa/intr_machdep.h>
|
||||
#define isa_irq_pending icu_irq_pending
|
||||
#endif /* APIC_IO */
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.172 1997/07/17 06:01:15 dyson Exp $
|
||||
* $Id: sio.c,v 1.1 1997/08/04 17:58:18 smp Exp smp $
|
||||
*/
|
||||
|
||||
#include "opt_comconsole.h"
|
||||
@ -82,13 +82,14 @@
|
||||
#include <pccard/slot.h>
|
||||
#endif
|
||||
|
||||
#if defined(APIC_IO)
|
||||
#ifdef APIC_IO
|
||||
/*
|
||||
* INTs are masked in the (global) IO APIC,
|
||||
* but the IRR register is in each LOCAL APIC,
|
||||
* so we HAVE to unmask the INT to be able to "see INT pending"
|
||||
* BUT how do we clear them???
|
||||
*/
|
||||
#include <i386/isa/intr_machdep.h>
|
||||
#define isa_irq_pending icu_irq_pending
|
||||
#endif /* APIC_IO */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user