qemu-patch-raspberry4/target-openrisc
Andreas Färber bd039ce009 target-openrisc: Detect attempt to instantiate non-CPU type in cpu_init()
Consolidate model checking into a new openrisc_cpu_class_by_name().

If the name matches an existing type, also check whether that type is
actually (a sub-type of) TYPE_OPENRISC_CPU.

This fixes, e.g., -cpu open_eth asserting.

Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-01-27 14:52:05 +01:00
..
cpu.c target-openrisc: Detect attempt to instantiate non-CPU type in cpu_init() 2013-01-27 14:52:05 +01:00
cpu.h fpu: move public header file to include/fpu 2012-12-19 08:32:46 +01:00
exception.c target-or32: Add exception support 2012-07-27 21:12:58 +00:00
exception.h target-or32: Add exception support 2012-07-27 21:12:58 +00:00
exception_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
fpu_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
helper.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
int_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
interrupt.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
interrupt_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
machine.c target-or32: Add target stubs and QOM cpu 2012-07-27 21:12:55 +00:00
Makefile.objs target-or32: Add system instructions 2012-07-27 21:13:03 +00:00
mmu.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
mmu_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
sys_helper.c target-openrisc: Clean up triple QOM casts 2013-01-27 14:34:26 +01:00
translate.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00