Move the definition of HWI_MASK to the i386/isa/icu.h header right next to

the definition of ICU_LEN.
This commit is contained in:
jhb 2001-05-15 23:11:48 +00:00
parent 884812cc96
commit a4fd9131df
2 changed files with 4 additions and 0 deletions

View File

@ -118,10 +118,12 @@ extern unsigned imen; /* interrupt mask enable */
/* 32-47: ISA IRQ0-IRQ15, 48-55: IO APIC IRQ16-IRQ31 */
#define ICU_LEN 32
#define HWI_MASK 0xffffffff /* bits for h/w interrupts */
#else
#define ICU_LEN 16 /* 32-47 are ISA interrupts */
#define HWI_MASK 0xffff /* bits for h/w interrupts */
#endif /* APIC_IO */

View File

@ -118,10 +118,12 @@ extern unsigned imen; /* interrupt mask enable */
/* 32-47: ISA IRQ0-IRQ15, 48-55: IO APIC IRQ16-IRQ31 */
#define ICU_LEN 32
#define HWI_MASK 0xffffffff /* bits for h/w interrupts */
#else
#define ICU_LEN 16 /* 32-47 are ISA interrupts */
#define HWI_MASK 0xffff /* bits for h/w interrupts */
#endif /* APIC_IO */