diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-05-15 23:11:48 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-05-15 23:11:48 +0000 |
| commit | 4966b0e91c762cfadf93c01ac326f41708cf62ac (patch) | |
| tree | 8a09836f446e28165b7353fd59d86a5aa57fc11a | |
| parent | a94058679c9dd42323e41c12b6adafe86a015f76 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/isa/icu.h | 2 | ||||
| -rw-r--r-- | sys/i386/isa/icu.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/isa/icu.h b/sys/amd64/isa/icu.h index 6423551784f5..1c87d3f58b07 100644 --- a/sys/amd64/isa/icu.h +++ b/sys/amd64/isa/icu.h @@ -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 */ diff --git a/sys/i386/isa/icu.h b/sys/i386/isa/icu.h index 6423551784f5..1c87d3f58b07 100644 --- a/sys/i386/isa/icu.h +++ b/sys/i386/isa/icu.h @@ -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 */ |
