forked from sysprog21/rv32emu
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Need to deal with check_unaligned_access and __riscv_copy_words_unaligned. They seem like a testing of CPU misalignment handling and do not trap into misalignment syscall handler and return via sret. Thus, simply PC + 4 to make CPU progress. Also, the Linux kernel requires FENCE SBI extension to SMP. The current SBI implementation lacks of FENCE SBI extension, so adding one. Otherwise, warning message during booting will come up, e.g., 'remote fence extension is not available in SBI v0.3'.
- Loading branch information
1 parent
e2bb7f0
commit a281c19
Showing
4 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters