Closed sashimi-yzh closed 8 years ago
Oh, I see.
Commit 0b60c0bfabaab8de54c95a9218b1478129f76a47 (" kernel,smpboot.c: fix CPU booting state for APs") has been applied to master as 030e8173dd9379de5c2f065ba73e734ff7647ef8.
Since the PLIC driver has been rewritten in sifive/riscv-linux and is awaiting a merge, I am omitting the second commit of this PR.
plic_context actually should be a pointer whose value comes from the boot loader/SBI. The code's just incomplete, so the pointer isn't ever initialized.