Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: riscv: Fix misconfiguration of XSCRATCH when XRET to kernel mode
When the program wants to XRET to kernel mode, the value of XSCRATCH must be cleared to zero. Signed-off-by: Alvin Chang <[email protected]>
- Loading branch information