qemu-e2k/hw/xtensa
Igor Mammedov 8e36271b92 xtensa: replace cpu_xtensa_init() with cpu_generic_init()
call xtensa_irq_init() at realize time which makes
cpu_xtensa_init() like generic cpu creation function.
As result we can replace it with cpu_generic_init()
which does the same job, reducing code duplication a bit.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1503592308-93913-16-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-09-01 11:54:24 -03:00
..
Makefile.objs hw/xtensa: remove extraneous xtensa_ prefix from file names 2014-06-29 02:32:41 +04:00
bootparam.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
pic_cpu.c target/xtensa: refactor CCOUNT/CCOMPARE 2017-01-15 13:01:55 -08:00
sim.c xtensa: replace cpu_xtensa_init() with cpu_generic_init() 2017-09-01 11:54:24 -03:00
xtfpga.c xtensa: replace cpu_xtensa_init() with cpu_generic_init() 2017-09-01 11:54:24 -03:00