Files
xemu/include/hw
Bernhard Beschow 9dfa6c2aec hw/riscv/sifive_e: Fix inheritance of SiFiveEState
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: 0869490b1c ("riscv: sifive_e: Manually define the machine")

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220922075232.33653-1-shentey@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-09-27 07:04:38 +10:00
..
…
…
2022-08-25 21:59:04 +02:00
…
…
…
2022-04-06 10:50:37 +02:00
2022-06-23 23:24:28 +02:00
…
2022-09-04 07:02:56 +01:00
…
…
2022-09-02 10:22:39 +08:00
2022-08-25 21:59:04 +02:00
…
…
…
…
…
…
…
…