unicorn/qemu/target
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 cpu: add CPU_RESOLVING_TYPE macro 2018-03-20 11:28:13 -04:00
i386 pc: use generic cpu_model parsing 2018-03-20 13:22:05 -04:00
m68k cpu: add CPU_RESOLVING_TYPE macro 2018-03-20 11:28:13 -04:00
mips cpu: add CPU_RESOLVING_TYPE macro 2018-03-20 11:28:13 -04:00
sparc cpu: add CPU_RESOLVING_TYPE macro 2018-03-20 11:28:13 -04:00