Disable secondary processors with hlt

This commit is contained in:
Jeremy Soller
2017-02-13 22:15:42 -07:00
parent 473a7b6832
commit b9793deb59

View File

@@ -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(); }
}
/*