diff options
Diffstat (limited to 'v')
-rw-r--r-- | v/entry.S | 2 | ||||
-rw-r--r-- | v/vm.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -73,7 +73,7 @@ pop_tf: LOAD x30,30*REGBYTES(a0) LOAD x31,31*REGBYTES(a0) LOAD a0,10*REGBYTES(a0) - mret + eret .global trap_entry trap_entry: @@ -160,7 +160,7 @@ static void restore_vector(trapframe_t* tf) void handle_trap(trapframe_t* tf) { - if (tf->cause == CAUSE_SCALL) + if (tf->cause == CAUSE_ECALL) { int n = tf->gpr[10]; |