summaryrefslogtreecommitdiffstats
path: root/target/moxie/cpu.h
diff options
context:
space:
mode:
authorIgor Mammedov2018-02-07 11:40:25 +0100
committerEduardo Habkost2018-03-19 18:10:36 +0100
commit0dacec874fa3b3fd34b0d0670fa257efdcbbebd0 (patch)
treec46a7027f5c16da620e2e79d095a2a38c0a09a07 /target/moxie/cpu.h
parenttests: add machine 'none' with -cpu test (diff)
downloadqemu-0dacec874fa3b3fd34b0d0670fa257efdcbbebd0.tar.gz
qemu-0dacec874fa3b3fd34b0d0670fa257efdcbbebd0.tar.xz
qemu-0dacec874fa3b3fd34b0d0670fa257efdcbbebd0.zip
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>
Diffstat (limited to 'target/moxie/cpu.h')
-rw-r--r--target/moxie/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/moxie/cpu.h b/target/moxie/cpu.h
index d85e1fc061..5e88c02dfb 100644
--- a/target/moxie/cpu.h
+++ b/target/moxie/cpu.h
@@ -123,6 +123,7 @@ int cpu_moxie_signal_handler(int host_signum, void *pinfo,
#define MOXIE_CPU_TYPE_SUFFIX "-" TYPE_MOXIE_CPU
#define MOXIE_CPU_TYPE_NAME(model) model MOXIE_CPU_TYPE_SUFFIX
+#define CPU_RESOLVING_TYPE TYPE_MOXIE_CPU
#define cpu_signal_handler cpu_moxie_signal_handler