mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 18:56:49 +01:00
Obviously we want to use the GSI as interrupt vector as well...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41435 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e9d5569740
commit
7a8ce431b5
@ -326,7 +326,7 @@ ioapic_initialize_ioapic(struct ioapic& ioapic, uint64 targetAPIC)
|
||||
uint64 entry = (targetAPIC << IO_APIC_DESTINATION_FIELD_SHIFT)
|
||||
| (IO_APIC_INTERRUPT_MASKED << IO_APIC_INTERRUPT_MASK_SHIFT)
|
||||
| (IO_APIC_DESTINATION_MODE_PHYSICAL << IO_APIC_DESTINATION_MODE_SHIFT)
|
||||
| ((i + ARCH_INTERRUPT_BASE) << IO_APIC_INTERRUPT_VECTOR_SHIFT);
|
||||
| ((gsi + ARCH_INTERRUPT_BASE) << IO_APIC_INTERRUPT_VECTOR_SHIFT);
|
||||
|
||||
if (gsi == 0) {
|
||||
// make GSI 0 into an external interrupt
|
||||
|
Loading…
x
Reference in New Issue
Block a user