Skip to content
Snippets Groups Projects
Commit b9793deb authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Disable secondary processors with hlt

parent 473a7b68
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,8 @@ pub extern fn kmain(cpus: usize) { ...@@ -153,7 +153,8 @@ pub extern fn kmain(cpus: usize) {
pub extern fn kmain_ap(_id: usize) { pub extern fn kmain_ap(_id: usize) {
// Disable APs for now // Disable APs for now
loop { loop {
unsafe { interrupt::enable_and_halt(); } unsafe { interrupt::disable(); }
unsafe { interrupt::halt(); }
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment