Skip to content

Commit 1f7d123

Browse files
authored
Merge pull request #2326 from hermit-os/uhyve-init-ioapic
fix(x86_64/apic): initialize I/O APIC on Uhyve
2 parents fc7a13d + b45fb8d commit 1f7d123

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/arch/x86_64/kernel/apic.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -581,11 +581,8 @@ pub fn init() {
581581
calibrate_timer();
582582
}
583583

584-
// currently, IO-APIC isn't supported by uhyve
585-
if !env::is_uhyve() {
586-
// initialize IO-APIC
587-
init_ioapic();
588-
}
584+
// initialize IO-APIC
585+
init_ioapic();
589586
}
590587

591588
fn init_ioapic() {

0 commit comments

Comments
 (0)