From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpKja-0003LL-CP for qemu-devel@nongnu.org; Mon, 13 Oct 2008 06:33:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpKjZ-0003Ku-1t for qemu-devel@nongnu.org; Mon, 13 Oct 2008 06:33:05 -0400 Received: from [199.232.76.173] (port=43602 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpKjY-0003Kr-St for qemu-devel@nongnu.org; Mon, 13 Oct 2008 06:33:04 -0400 Received: from batfish.pepperfish.net ([87.237.62.180]:40962 helo=flounder.pepperfish.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpKjU-000203-Im for qemu-devel@nongnu.org; Mon, 13 Oct 2008 06:33:04 -0400 Received: from cpc2-asht1-0-0-cust815.manc.cable.ntl.com ([80.5.55.48] helo=[10.19.3.101]) by flounder.pepperfish.net with esmtpsa (Exim 4.68 #1 (Debian)) id 1KpKjH-0005VS-Fe for ; Mon, 13 Oct 2008 11:32:47 +0100 From: Daniel Silverstone Content-Type: multipart/mixed; boundary="=-qkwO3r+AIRrZuALStqSU" Date: Mon, 13 Oct 2008 11:32:46 +0100 Message-Id: <1223893966.30000.27.camel@petitemort> Mime-Version: 1.0 Subject: [Qemu-devel] [PATCH] ARM920T CPU ID Reply-To: dsilvers@simtec.co.uk, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=-qkwO3r+AIRrZuALStqSU Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 --=-qkwO3r+AIRrZuALStqSU Content-Description: ARM920T CPU ID Patch Content-Disposition: inline; filename=arm920t.patch Content-Type: text/x-patch; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 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"}, --=-qkwO3r+AIRrZuALStqSU--