qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/16] ARM Add ARM 920T identifiers


From: Vincent Sanders
Subject: [Qemu-devel] [PATCH 1/16] ARM Add ARM 920T identifiers
Date: Thu, 23 Apr 2009 18:45:13 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Add ARM 920T CPU ID

Signed-off-by: Vincent Sanders <address@hidden>
---
 cpu.h    |    1 +
 helper.c |    3 +++
 2 files changed, 4 insertions(+)


diff -urN qemusvnclean/target-arm/cpu.h qemusvnpatches/target-arm/cpu.h
--- qemusvnclean/target-arm/cpu.h       2009-04-20 20:26:52.000000000 +0100
+++ qemusvnpatches/target-arm/cpu.h     2009-04-20 21:16:58.000000000 +0100
@@ -370,6 +370,7 @@
 #define ARM_CPUID_ARM1026     0x4106a262
 #define ARM_CPUID_ARM926      0x41069265
 #define ARM_CPUID_ARM946      0x41059461
+#define ARM_CPUID_ARM920T     0x41129200
 #define ARM_CPUID_TI915T      0x54029152
 #define ARM_CPUID_TI925T      0x54029252
 #define ARM_CPUID_PXA250      0x69052100
diff -urN qemusvnclean/target-arm/helper.c qemusvnpatches/target-arm/helper.c
--- qemusvnclean/target-arm/helper.c    2009-04-20 20:26:52.000000000 +0100
+++ qemusvnpatches/target-arm/helper.c  2009-04-20 21:16:49.000000000 +0100
@@ -37,6 +37,8 @@
 {
     env->cp15.c0_cpuid = id;
     switch (id) {
+    case ARM_CPUID_ARM920T:
+       break;
     case ARM_CPUID_ARM926:
         set_feature(env, ARM_FEATURE_VFP);
         env->vfp.xregs[ARM_VFP_FPSID] = 0x41011090;
@@ -276,6 +278,7 @@
 };
 
 static const struct arm_cpu_t arm_cpu_names[] = {
+    { ARM_CPUID_ARM920T, "arm920t"},
     { ARM_CPUID_ARM926, "arm926"},
     { ARM_CPUID_ARM946, "arm946"},
     { ARM_CPUID_ARM1026, "arm1026"},

-- 
Regards Vincent
http://www.kyllikki.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]