mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
OpenTitanState is the 'machine' (or 'board') state: it isn't
a SysBus device, but inherits from the MachineState type.
Correct the instance size.
Doing so we avoid leaking an OpenTitanState pointer in
opentitan_machine_init().
Fixes:
|
||
|---|---|---|
| .. | ||
| boot.h | ||
| boot_opensbi.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 | ||