* [Qemu-devel] [PATCH] ARM920T CPU ID
@ 2008-10-13 10:32 Daniel Silverstone
2008-10-13 12:52 ` Paul Brook
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Silverstone @ 2008-10-13 10:32 UTC (permalink / raw)
To: qemu-devel
[-- 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"},
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] ARM920T CPU ID
2008-10-13 10:32 [Qemu-devel] [PATCH] ARM920T CPU ID Daniel Silverstone
@ 2008-10-13 12:52 ` Paul Brook
2008-10-13 14:02 ` Daniel Silverstone
0 siblings, 1 reply; 3+ messages in thread
From: Paul Brook @ 2008-10-13 12:52 UTC (permalink / raw)
To: qemu-devel, dsilvers
On Monday 13 October 2008, Daniel Silverstone wrote:
> 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.
This at least needs a comment saying that what we implement doesn't look
anything like a real ARM920, but most software doesn't care.
Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] ARM920T CPU ID
2008-10-13 12:52 ` Paul Brook
@ 2008-10-13 14:02 ` Daniel Silverstone
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Silverstone @ 2008-10-13 14:02 UTC (permalink / raw)
To: qemu-devel
On Mon, 2008-10-13 at 13:52 +0100, Paul Brook wrote:
> > 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.
> This at least needs a comment saying that what we implement doesn't look
> anything like a real ARM920, but most software doesn't care.
Where would such a comment best reside? I'm not sure where the
documentation for this kind of thing is meant to go.
(I agree that it's worthwhile to note this information though)
Regards,
D.
--
Daniel Silverstone http://www.simtec.co.uk/
PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-13 14:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-13 10:32 [Qemu-devel] [PATCH] ARM920T CPU ID Daniel Silverstone
2008-10-13 12:52 ` Paul Brook
2008-10-13 14:02 ` Daniel Silverstone
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).