hlt loop
This commit is contained in:
@ -158,9 +158,7 @@ pub extern "sysv64" fn main(boot_info: &nel_os_common::BootInfo) {
|
|||||||
info!("Interrupts enabled");
|
info!("Interrupts enabled");
|
||||||
|
|
||||||
let mut vcpu = vmm::get_vcpu(&mut bitmap_table).unwrap();
|
let mut vcpu = vmm::get_vcpu(&mut bitmap_table).unwrap();
|
||||||
vcpu.run().unwrap();
|
while vcpu.run().is_ok() {}
|
||||||
|
|
||||||
info!("VCpu initialized");
|
|
||||||
|
|
||||||
hlt_loop();
|
hlt_loop();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user