rust: Add comment

This commit is contained in:
Wladimir J. van der Laan 2020-06-19 15:43:29 +00:00
parent dd801e6ecc
commit 1e3cf00aed

View File

@ -336,6 +336,7 @@ pub extern "Rust" fn mp_hook() -> bool {
#[entry]
fn main() -> ! {
if mhartid::read() == 1 {
// Running on second core
unsafe {
// Clear pending IPI that activated core 1
clear_ipi(1);