Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
board_reset.cpp: Hartid must be read with local interrupts disabled
We cannot allow the running task to switch to another CPU after reading hartid, otherwise we will use a stale value. Fix this by reading hartid after disabling local interrupts.
- Loading branch information