qemu/target/nios2
Igor Mammedov da9cbe02bc nios2: replace cpu_nios2_init() with cpu_generic_init()
cpu_nios2_init() always falls back to TYPE_NIOS2_CPU object
regardless of cpu_model. Put fallback logic into
nios2_cpu_class_by_name() which would translate any cpu_model
into TYPE_NIOS2_CPU class and replace cpu_nios2_init()
with cpu_generic_init()

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1503592308-93913-14-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-09-01 11:54:24 -03:00
..
Makefile.objs nios2: Add architecture emulation support 2017-01-24 13:10:35 -08:00
cpu.c nios2: replace cpu_nios2_init() with cpu_generic_init() 2017-09-01 11:54:24 -03:00
cpu.h nios2: replace cpu_nios2_init() with cpu_generic_init() 2017-09-01 11:54:24 -03:00
helper.c nios2: Add architecture emulation support 2017-01-24 13:10:35 -08:00
helper.h nios2: Add architecture emulation support 2017-01-24 13:10:35 -08:00
mmu.c nios2: Add architecture emulation support 2017-01-24 13:10:35 -08:00
mmu.h nios2: Add architecture emulation support 2017-01-24 13:10:35 -08:00
monitor.c nios2: Add architecture emulation support 2017-01-24 13:10:35 -08:00
op_helper.c target/nios2: take BQL around interrupt check 2017-03-14 13:26:37 +01:00
translate.c tcg: Pass generic CPUState to gen_intermediate_code() 2017-07-19 14:45:16 -07:00