We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4edced7 commit 8165b3bCopy full SHA for 8165b3b
src/platform/x86_pc/ioapic.cpp
@@ -106,6 +106,12 @@ namespace x86
106
}
107
108
109
+ [[noreturn]] static void ioapic_panic(uint32_t entry) {
110
+ printf("Entry: %u\n", entry);
111
+ assert(0 && "Could not match I/O APIC to entry");
112
+ std::abort();
113
+ }
114
+
115
inline IOapic& get_ioapic_for(uint32_t entry)
116
{
117
uint32_t current = 0;
@@ -115,8 +121,7 @@ namespace x86
121
122
current += a.entries();
123
118
- printf("Entry: %u\n", entry);
119
- assert(0 && "Could not match I/O APIC to entry");
124
+ ioapic_panic(entry);
120
125
126
127
void IOAPIC::enable(uint8_t cpu, const ACPI::override_t& redir)
0 commit comments