From patchwork Fri Oct 16 14:02:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 36229 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8FAF0B7BBA for ; Sat, 17 Oct 2009 01:45:51 +1100 (EST) Received: from localhost ([127.0.0.1]:48712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Myo3w-0003Rp-Ra for incoming@patchwork.ozlabs.org; Fri, 16 Oct 2009 10:45:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MynOF-00059K-RL for qemu-devel@nongnu.org; Fri, 16 Oct 2009 10:02:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MynOB-00054r-1f for qemu-devel@nongnu.org; Fri, 16 Oct 2009 10:02:41 -0400 Received: from [199.232.76.173] (port=42672 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MynOA-000542-Rf for qemu-devel@nongnu.org; Fri, 16 Oct 2009 10:02:38 -0400 Received: from narury.org ([84.20.150.76]:35738) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MynO9-0002P1-SC for qemu-devel@nongnu.org; Fri, 16 Oct 2009 10:02:38 -0400 Received: from kos.to (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by narury.org (Postfix) with ESMTP id 567DC327405D; Fri, 16 Oct 2009 17:02:32 +0300 (EEST) Received: by kos.to (Postfix, from userid 573) id EA579EE8317; Fri, 16 Oct 2009 17:02:31 +0300 (EEST) From: riku.voipio@iki.fi To: qemu-devel@nongnu.org Date: Fri, 16 Oct 2009 17:02:31 +0300 Message-Id: X-Mailer: git-send-email 1.6.2.1 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Cc: Riku Voipio Subject: [Qemu-devel] [PATCH 5/5] linux-user: Update ARM hwcaps X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Riku Voipio Update ARM hwcaps to match Linux kernel 2.6.31 state Signed-off-by: Riku Voipio --- linux-user/elfload.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 62a3f2a..682a813 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -330,11 +330,18 @@ enum ARM_HWCAP_ARM_FPA = 1 << 5, ARM_HWCAP_ARM_VFP = 1 << 6, ARM_HWCAP_ARM_EDSP = 1 << 7, + ARM_HWCAP_ARM_JAVA = 1 << 8, + ARM_HWCAP_ARM_IWMMXT = 1 << 9, + ARM_HWCAP_ARM_THUMBEE = 1 << 10, + ARM_HWCAP_ARM_NEON = 1 << 11, + ARM_HWCAP_ARM_VFPv3 = 1 << 12, + ARM_HWCAP_ARM_VFPv3D16 = 1 << 13, }; #define ELF_HWCAP (ARM_HWCAP_ARM_SWP | ARM_HWCAP_ARM_HALF \ | ARM_HWCAP_ARM_THUMB | ARM_HWCAP_ARM_FAST_MULT \ - | ARM_HWCAP_ARM_FPA | ARM_HWCAP_ARM_VFP) + | ARM_HWCAP_ARM_FPA | ARM_HWCAP_ARM_VFP \ + | ARM_HWCAP_ARM_NEON | ARM_HWCAP_ARM_VFPv3 ) #endif