aboutsummaryrefslogtreecommitdiff
path: root/target/mips/cpu-qom.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/mips/cpu-qom.h')
-rw-r--r--target/mips/cpu-qom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/mips/cpu-qom.h b/target/mips/cpu-qom.h
index c70b4a34be..5822dfb1d2 100644
--- a/target/mips/cpu-qom.h
+++ b/target/mips/cpu-qom.h
@@ -31,6 +31,9 @@
OBJECT_DECLARE_CPU_TYPE(MIPSCPU, MIPSCPUClass, MIPS_CPU)
+#define MIPS_CPU_TYPE_SUFFIX "-" TYPE_MIPS_CPU
+#define MIPS_CPU_TYPE_NAME(model) model MIPS_CPU_TYPE_SUFFIX
+
/**
* MIPSCPUClass:
* @parent_realize: The parent class' realize handler.