Patchwork [059/111] m68k: add m68030 definition

login
register
mail settings
Submitter Bryce Lanham
Date Aug. 17, 2011, 8:47 p.m.
Message ID <1313614076-28878-60-git-send-email-blanham@gmail.com>
Download mbox | patch
Permalink /patch/110450/
State New
Headers show

Comments

Bryce Lanham - Aug. 17, 2011, 8:47 p.m.
From: Laurent Vivier <laurent@vivier.eu>

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 target-m68k/helper.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/target-m68k/helper.c b/target-m68k/helper.c
index 875ff45..1bb0cef 100644
--- a/target-m68k/helper.c
+++ b/target-m68k/helper.c
@@ -33,6 +33,7 @@ 
 enum m68k_cpuid {
     M68K_CPUID_M68000,
     M68K_CPUID_M68020,
+    M68K_CPUID_M68030,
     M68K_CPUID_M68040,
     M68K_CPUID_M68060,
     M68K_CPUID_M5206,
@@ -51,6 +52,7 @@  struct m68k_def_t {
 static m68k_def_t m68k_cpu_defs[] = {
     {"m68000", M68K_CPUID_M68000},
     {"m68020", M68K_CPUID_M68020},
+    {"m68030", M68K_CPUID_M68030},
     {"m68040", M68K_CPUID_M68040},
     {"m68060", M68K_CPUID_M68060},
     {"m5206", M68K_CPUID_M5206},
@@ -155,6 +157,7 @@  static int cpu_m68k_set_model(CPUM68KState *env, const char *name)
 
     switch (def->id) {
     case M68K_CPUID_M68020:
+    case M68K_CPUID_M68030:
     case M68K_CPUID_M68040:
         m68k_set_feature(env, M68K_FEATURE_QUAD_MULDIV);
     case M68K_CPUID_M68060: