I've done some investigation and it appears that this bug is caused by
the following:
1. The flash memory of the virt platform is initialised as a
cfi.pflash01. It has a memory region with romd_mode = true and
rom_device = true
2. Some code stored in the flash memory is executed. This causes the
Public bug reported:
I am developing a piece of software called SimBench which is a
benchmarking system for full system simulators. I am currently porting
this to aarch64, using QEMU as a test platform.
I have encountered a 'bad ram pointer' crash. I've attempted to build a
minimum test case, but