HF RL Explorer

Repair a verified behavior in rt-thread/rt-thread.

Repair a verified behavior in rt-thread/rt-thread.: a task in OriGent-RL-Data (Harbor dataset). The qemu-riscv-virt64 BSP and the libcpu/risc-v/virt64 CPU port it builds against currently support only RISC-V supervisor mode (S-Mode). Every privilege-mode-sensitive part is hardwired to S-Mode: the…

The task

The qemu-riscv-virt64 BSP and the libcpu/risc-v/virt64 CPU port it builds against currently support only RISC-V supervisor mode (S-Mode). Every privilege-mode-sensitive part is hardwired to S-Mode: the startup entry programs the S-mode trap and interrupt CSRs (stvec/sie/sip) and returns from traps with sret; context…

Part of henryen/OriGent-RL-Data.