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

Print out more useful information about AP and BSP, create kmain_ap

parent 996996b0
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,14 @@ pub mod tests; ...@@ -109,6 +109,14 @@ pub mod tests;
pub extern fn kmain() { pub extern fn kmain() {
loop { loop {
unsafe { interrupt::enable_and_halt(); } unsafe { interrupt::enable_and_halt(); }
print!("HALT\n"); print!("INT BSP\n");
}
}
#[no_mangle]
pub extern fn kmain_ap() {
loop {
unsafe { interrupt::enable_and_halt() }
print!("INT AP\n");
} }
} }
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