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.
- rewrite MMIO handler. To adapt more MMIO in the future (e.g., VirtIO), the IIF(io) cannot be used since it supports only binary. Thus, rewrite using switch case can solve this. - suppress warning. In mmu-based read handler, warning 'non-void function does not return a value in all control paths' could be reached, so add __UNREACHABLE() to suppress it. - keyboard hacking should be defined only when Linux kernel emulation. - opt_trace only available when target RV32 file is ELF executable. - map_file might be not available on non POSIX compatible machine, thus adding a fault back implementation when HAVE_MMAP is not set.
- Loading branch information
1 parent
e2bb7f0
commit 62d101f
Showing
3 changed files
with
64 additions
and
35 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