Skip to content

Commit 90c95e0

Browse files
jackpot51IsaacWoods
authored andcommitted
Do not panic on unknown interrupt controllers
1 parent 6f1581d commit 90c95e0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/platform/interrupt.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,13 @@ impl<A: Allocator + Clone> InterruptModel<A> {
5858
return Self::from_apic_model_in(madt.get(), allocator);
5959
}
6060

61-
MadtEntry::IoSapic(_) | MadtEntry::LocalSapic(_) | MadtEntry::PlatformInterruptSource(_) => {
62-
unimplemented!();
63-
}
61+
MadtEntry::IoSapic(_) | MadtEntry::LocalSapic(_) | MadtEntry::PlatformInterruptSource(_) => {}
6462

6563
MadtEntry::Gicc(_)
6664
| MadtEntry::Gicd(_)
6765
| MadtEntry::GicMsiFrame(_)
6866
| MadtEntry::GicRedistributor(_)
69-
| MadtEntry::GicInterruptTranslationService(_) => {
70-
unimplemented!();
71-
}
67+
| MadtEntry::GicInterruptTranslationService(_) => {}
7268

7369
MadtEntry::NmiSource(_) => (),
7470
MadtEntry::MultiprocessorWakeup(_) => (),

0 commit comments

Comments
 (0)