Deleted ddb_inb and ddb_outb functions that provide I/O access
routines as function for DDB. The inb and outb are provided as functions in machdep.c when DDB is defined.
This commit is contained in:
parent
849e394f6b
commit
c252025416
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: pc98.c,v 1.20 1997/03/25 10:04:50 kato Exp $
|
||||
* $Id: pc98.c,v 1.21 1997/03/29 02:43:49 kato Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -107,11 +107,6 @@ u_int intr_mask[ICU_LEN];
|
||||
u_int* intr_mptr[ICU_LEN];
|
||||
int intr_unit[ICU_LEN];
|
||||
|
||||
#ifdef DDB
|
||||
unsigned int ddb_inb __P((unsigned int addr));
|
||||
void ddb_outb __P((unsigned int addr, unsigned char dt));
|
||||
#endif
|
||||
|
||||
static inthand_t *fastintr[ICU_LEN] = {
|
||||
&IDTVEC(fastintr0), &IDTVEC(fastintr1),
|
||||
&IDTVEC(fastintr2), &IDTVEC(fastintr3),
|
||||
@ -1146,15 +1141,3 @@ unregister_intr(intr, handler)
|
||||
write_eflags(ef);
|
||||
return (0);
|
||||
}
|
||||
|
||||
#ifdef DDB
|
||||
unsigned int ddb_inb(unsigned int addr)
|
||||
{
|
||||
return inb(addr);
|
||||
}
|
||||
|
||||
void ddb_outb(unsigned int addr, unsigned char dt)
|
||||
{
|
||||
outb(addr, dt);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user