A RISC-V bare-metal example with uart, exception, interrupt and kvmmap.
The tutorial is at https://mullerlee.cyou/2020/07/09/riscv-exception-interrupt/
- qemu
- riscv64-linux-gnu-*
mkdir build
make
make run
mkdir build
make
make debug
riscv64-linux-gnu-gdb -x debug.txt