Disable secondary processors with hlt
This commit is contained in:
@@ -153,7 +153,8 @@ pub extern fn kmain(cpus: usize) {
|
||||
pub extern fn kmain_ap(_id: usize) {
|
||||
// Disable APs for now
|
||||
loop {
|
||||
unsafe { interrupt::enable_and_halt(); }
|
||||
unsafe { interrupt::disable(); }
|
||||
unsafe { interrupt::halt(); }
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user