unicorn/qemu/hw
Igor Mammedov 20f67e8f9a
pc: use generic cpu_model parsing
define default CPU type in generic way in pc_machine_class_init()
and let common machine code to handle cpu_model parsing

Patch also introduces TARGET_DEFAULT_CPU_TYPE define for 2 purposes:
* make foo_machine_class_init() look uniform on every target
* use define in [bsd|linux]-user targets to pick default
cpu type

Backports commit 311ca98d16bbb6a2a38b38ba898baa4a4d4ab9a7 from qemu
2018-03-20 13:22:05 -04:00
..
arm arm: virt: Parse cpu_model only once 2018-03-20 12:07:03 -04:00
core machine: use class base init generated name 2018-03-11 16:54:40 -04:00
i386 pc: use generic cpu_model parsing 2018-03-20 13:22:05 -04:00
intc qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
m68k cpu: Generify CPU init functions 2018-03-20 08:21:51 -04:00
mips Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
sparc cpu: Generify CPU init functions 2018-03-20 08:21:51 -04:00
sparc64 cpu: Generify CPU init functions 2018-03-20 08:21:51 -04:00
Makefile.objs import 2015-08-21 15:04:50 +08:00