qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Silverstone <dsilvers@simtec.co.uk>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] ARM920T CPU ID
Date: Mon, 13 Oct 2008 11:32:46 +0100	[thread overview]
Message-ID: <1223893966.30000.27.camel@petitemort> (raw)

[-- Attachment #1: Type: text/plain, Size: 407 bytes --]

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


[-- Attachment #2: ARM920T CPU ID Patch --]
[-- Type: text/x-patch, Size: 1399 bytes --]

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 <dsilvers@simtec.co.uk>

 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"},


             reply	other threads:[~2008-10-13 10:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13 10:32 Daniel Silverstone [this message]
2008-10-13 12:52 ` [Qemu-devel] [PATCH] ARM920T CPU ID Paul Brook
2008-10-13 14:02   ` Daniel Silverstone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1223893966.30000.27.camel@petitemort \
    --to=dsilvers@simtec.co.uk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).