Skip to content

Commit 3070021

Browse files
committed
Move system emulation code into a new C file
1 parent c6bcc56 commit 3070021

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/emulate.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ static void rv_trap_default_handler(riscv_t *rv)
7878
* the registered trap handler, PC by PC. Once the trap is handled,
7979
* resume the previous execution flow where cause the trap.
8080
*
81-
* Since the system emulation has not yet included in rv32emu, the page
82-
* fault is not practical in current test suite. Instead, we try to
83-
* emulate the misaligned handling in the test suite.
81+
* Now, rv32emu supports misaligned access and page fault handling.
8482
*/
8583
#if RV32_HAS(SYSTEM)
8684
static void trap_handler(riscv_t *rv);

0 commit comments

Comments
 (0)