xiaoxiang781216 commented on a change in pull request #5529: URL: https://github.com/apache/incubator-nuttx/pull/5529#discussion_r809108104
########## File path: arch/risc-v/src/qemu-rv/qemu_rv_irq_dispatch.c ########## @@ -67,6 +67,11 @@ void *riscv_dispatch_irq(uintptr_t vector, uintptr_t *regs) uintptr_t irq = (vector >> RV_IRQ_MASK) | (vector & 0xf); uintptr_t *mepc = regs; + if (vector < RISCV_IRQ_ECALLM) + { + riscv_fault((int)irq, regs); Review comment: don't need cast ########## File path: boards/risc-v/qemu-rv/rv-virt/README.txt ########## @@ -22,14 +22,14 @@ 4. Run the nuttx with qemu - $ qemu-system-riscv32 -M virt -cpu rv32 -bios none -kernel nuttx -nographic + $ qemu-system-riscv32 -M virt -cpu rv32 -smp 8 -bios none -kernel nuttx -nographic or - $ qemu-system-riscv64 -M virt -cpu rv64 -bios none -kernel nuttx -nographic + $ qemu-system-riscv64 -M virt -cpu rv64 -smp 8-bios none -kernel nuttx -nographic 5. TODO - Support FPU + Support FPU (Done) Review comment: remove -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org