summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/boot/1447
blob: 11a1d1140a317e43fe84b17c45ce034997003c03 (plain) (blame)
1
2
3
4
5
6
7
8
riscv: reset_vec uses CSR even when disabled causing inability to boot
Steps to reproduce:
1. Run any rv32 binary with `./qemu-system-riscv32 -cpu rv32,d=off,f=off,Zicsr=off`

To view using GDB use `./qemu-system-riscv32 -cpu rv32,d=off,f=off,Zicsr=off -S -s`
`gdb-multiarch --ex="target remote localhost:1234" -ex "layout asm"`
then type `si` till $pc jumps to zero on `csrr   a0, mhartid`