Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix uninitialized cs_base value for RISC-V and MIPS targets
This results in QEMU being extremely slow since the TCG tb hash lookups now compare uninitialized values from the stack and are likely to fail. This brings the CheriBSD kernel init benchmark `~/cheri/output/sdk/bin/qemu-system-riscv64cheri.slow -M virt -m 2048 -nographic -kernel ~/cheri/output/kernel-riscv64-purecap.CHERI-QEMU-MFS-ROOT-NODEBUG.full -device virtio-net-device,netdev=net0 -netdev user,id=net0,ipv6=off,hostfwd=tcp::12345-:22 -append init_path=/sbin/startup-benchmark.sh` back down to 2.5 seconds instead of around 60 seconds.
- Loading branch information