Hi, I'm new to risc-v. I've noticed that rv32ui-v tests call vm_boot at the beginning, and then vm_boot calls pop_tf. An sret instruction appears at the end of pop_tf, but the program should still be in M-mode, because there isn't an mret, isn't this an illegal instruction? I might have missed something. Really appreciated if anyone can help.
Hi, I'm new to risc-v. I've noticed that rv32ui-v tests call
vm_boot
at the beginning, and thenvm_boot
callspop_tf
. Ansret
instruction appears at the end ofpop_tf
, but the program should still be in M-mode, because there isn't anmret
, isn't this an illegal instruction? I might have missed something. Really appreciated if anyone can help.