[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] ARM920T CPU ID
From: |
Daniel Silverstone |
Subject: |
[Qemu-devel] [PATCH] ARM920T CPU ID |
Date: |
Mon, 13 Oct 2008 11:32:46 +0100 |
Hi,
Attached is a patch which supplies the ARM920T CPU ID for ARM emulation.
This is another step along the way to supporting Simtec Electronics'
development boards, and other Samsung ARM9 SoC based systems such as the
Openmoko GTA02.
Regards,
Daniel.
--
Daniel Silverstone http://www.simtec.co.uk/
PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895
ARM CPU ID: ARM920T
Simply put, this patch adds the ARM920T CPU ID as an option. This will
later be needed by the Samsung S3C24xx ARM9 SOCs.
Signed-off-by: Daniel Silverstone <address@hidden>
cpu.h | 1 +
helper.c | 3 +++
2 files changed, 4 insertions(+)
=== modified file 'target-arm/cpu.h'
--- target-arm/cpu.h 2008-07-01 20:01:19 +0000
+++ target-arm/cpu.h 2008-10-13 10:16:21 +0000
@@ -356,6 +356,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
=== modified file 'target-arm/helper.c'
--- target-arm/helper.c 2008-10-11 17:55:29 +0000
+++ target-arm/helper.c 2008-10-13 10:16:21 +0000
@@ -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;
@@ -268,6 +270,7 @@
{ ARM_CPUID_ARM926, "arm926"},
{ ARM_CPUID_ARM946, "arm946"},
{ ARM_CPUID_ARM1026, "arm1026"},
+ { ARM_CPUID_ARM920T, "arm920t"},
{ ARM_CPUID_ARM1136, "arm1136"},
{ ARM_CPUID_ARM1136_R2, "arm1136-r2"},
{ ARM_CPUID_ARM11MPCORE, "arm11mpcore"},
- [Qemu-devel] [PATCH] ARM920T CPU ID,
Daniel Silverstone <=