mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-21 17:06:19 +04:00
rust: Add comment
This commit is contained in:
parent
dd801e6ecc
commit
1e3cf00aed
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user