change interrupt vector names to begin with "X" rather than "V", so we're

like every other BSD system on the planet...
This commit is contained in:
cgd 1993-07-03 12:32:25 +00:00
parent 7e940b55e0
commit 77219acd07
4 changed files with 10 additions and 10 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
* $Id: clock.c,v 1.9 1993/06/27 06:42:19 andrew Exp $
* $Id: clock.c,v 1.10 1993/07/03 12:32:38 cgd Exp $
*/
/*
@ -235,11 +235,11 @@ resettodr()
/*
* Wire clock interrupt in.
*/
#define V(s) __CONCAT(V, s)
extern V(clk)();
#define VEC(s) __CONCAT(X, s)
extern VEC(clk)();
void
enablertclock() {
setidt(ICU_OFFSET+0, &V(clk), SDT_SYS386IGT, SEL_KPL);
setidt(ICU_OFFSET+0, &VEC(clk), SDT_SYS386IGT, SEL_KPL);
INTREN(IRQ0);
}

View File

@ -186,9 +186,9 @@
icu_num, icu_enables, reg) \
.globl handler ; \
.text ; \
.globl _V/**/name ; \
.globl _X/**/name ; \
SUPERALIGN_TEXT ; \
_V/**/name: ; \
_X/**/name: ; \
FAST_INTR(unit, irq_num, id_num, handler, ENABLE_ICU/**/icu_enables)
#undef BUILD_VECTOR
@ -196,9 +196,9 @@ _V/**/name: ; \
icu_num, icu_enables, reg) \
.globl handler ; \
.text ; \
.globl _V/**/name ; \
.globl _X/**/name ; \
SUPERALIGN_TEXT ; \
_V/**/name: ; \
_X/**/name: ; \
INTR(unit,irq_num,id_num, mask, handler, IO_ICU/**/icu_num, \
ENABLE_ICU/**/icu_enables, reg,)

View File

@ -747,7 +747,7 @@ struct device *dp;
if(dp->d_irq==-2)
return ("NULL");
sprintf(buf, "V%.32s%d", dp->d_name, dp->d_unit);
sprintf(buf, "X%.32s%d", dp->d_name, dp->d_unit);
return buf;
}
#endif

View File

@ -747,7 +747,7 @@ struct device *dp;
if(dp->d_irq==-2)
return ("NULL");
sprintf(buf, "V%.32s%d", dp->d_name, dp->d_unit);
sprintf(buf, "X%.32s%d", dp->d_name, dp->d_unit);
return buf;
}
#endif