mirror of
https://github.com/qemu/qemu.git
synced 2025-10-27 13:30:41 +00:00
SiFiveEState inherits from SysBusDevice while it's TypeInfo claims it to
inherit from TYPE_MACHINE. This is an inconsistency which can cause
undefined behavior such as memory corruption.
Change SiFiveEState to inherit from MachineState since it is registered
as a machine.
Fixes:
|
||
|---|---|---|
| .. | ||
| boot_opensbi.h | ||
| boot.h | ||
| microchip_pfsoc.h | ||
| numa.h | ||
| opentitan.h | ||
| riscv_hart.h | ||
| shakti_c.h | ||
| sifive_cpu.h | ||
| sifive_e.h | ||
| sifive_u.h | ||
| spike.h | ||
| virt.h | ||