]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.h
cpu: add CPU_RESOLVING_TYPE macro
authorIgor Mammedov <imammedo@redhat.com>
Wed, 7 Feb 2018 10:40:25 +0000 (11:40 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 19 Mar 2018 17:10:36 +0000 (14:10 -0300)
commit0dacec874fa3b3fd34b0d0670fa257efdcbbebd0
treec46a7027f5c16da620e2e79d095a2a38c0a09a07
parent9c5a87e49687c3a1fb54182aa5785cda4dfcccdd
cpu: add CPU_RESOLVING_TYPE macro

it will be used for providing to cpu name resolving class for
parsing cpu model for system and user emulation code.

Along with change add target to null-machine tests, so
that when switch to CPU_RESOLVING_TYPE happens,
it would ensure that null-machine usecase still works.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu> (m68k)
Acked-by: David Gibson <david@gibson.dropbear.id.au> (ppc)
Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> (tricore)
Message-Id: <1518000027-274608-4-git-send-email-imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
[ehabkost: Added macro to riscv too]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
21 files changed:
target/alpha/cpu.h
target/arm/cpu.h
target/cris/cpu.h
target/hppa/cpu.h
target/i386/cpu.h
target/lm32/cpu.h
target/m68k/cpu.h
target/microblaze/cpu.h
target/mips/cpu.h
target/moxie/cpu.h
target/nios2/cpu.h
target/openrisc/cpu.h
target/ppc/cpu.h
target/riscv/cpu.h
target/s390x/cpu.h
target/sh4/cpu.h
target/sparc/cpu.h
target/tilegx/cpu.h
target/tricore/cpu.h
target/unicore32/cpu.h
target/xtensa/cpu.h