From patchwork Tue Dec 15 13:03:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 41186 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 727BEB6F0C for ; Wed, 16 Dec 2009 00:05:06 +1100 (EST) Received: from localhost ([127.0.0.1]:50154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKX5L-00079V-Dv for incoming@patchwork.ozlabs.org; Tue, 15 Dec 2009 08:05:03 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKX3t-00076u-V5 for qemu-devel@nongnu.org; Tue, 15 Dec 2009 08:03:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKX3o-0006zI-Ci for qemu-devel@nongnu.org; Tue, 15 Dec 2009 08:03:32 -0500 Received: from [199.232.76.173] (port=44812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKX3n-0006yw-QW for qemu-devel@nongnu.org; Tue, 15 Dec 2009 08:03:27 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:54563) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKX3n-0000mg-6h for qemu-devel@nongnu.org; Tue, 15 Dec 2009 08:03:27 -0500 Received: from flocke.weilnetz.de (p54ADF71A.dip.t-dialin.net [84.173.247.26]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Lv6gg-1O1wqS1Duc-010Uae; Tue, 15 Dec 2009 14:03:19 +0100 Received: from stefan by flocke.weilnetz.de with local (Exim 4.69) (envelope-from ) id 1NKX3d-0001vu-AP; Tue, 15 Dec 2009 14:03:17 +0100 From: Stefan Weil To: Nathan Froyd , Aurelien Jarno , QEMU Developers Date: Tue, 15 Dec 2009 14:03:03 +0100 Message-Id: <1260882183-7398-1-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.6.5 X-Provags-ID: V01U2FsdGVkX1+5SyFN3vxuywSuLHsd3YWROrk0DyUXxBdvs8p vsnVdTU9C5av/j/eAKjzGyoHuq+5Wh6g8firLM15klZW8WrFcR FfQIzbicK7FE/TDWucqKDvtTqUu8y96hyg4Hzi3QTRJ+kdSzdK fIw== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Subject: [Qemu-devel] [PATCH] mips: No MIPS16 support for 4Kc, 4KEc cores 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 Fix regression introduced by d19954f46dfc262612c30e9534e660e953049487. 4Kc and 4KEc don't support MIPS16. Signed-off-by: Stefan Weil --- target-mips/translate_init.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index 11bc47c..b710979 100644 --- a/target-mips/translate_init.c +++ b/target-mips/translate_init.c @@ -105,7 +105,7 @@ static const mips_def_t mips_defs[] = .CP0_Config1 = MIPS_CONFIG1 | (15 << CP0C1_MMU) | (0 << CP0C1_IS) | (3 << CP0C1_IL) | (1 << CP0C1_IA) | (0 << CP0C1_DS) | (3 << CP0C1_DL) | (1 << CP0C1_DA) | - (1 << CP0C1_CA), + (0 << CP0C1_CA), .CP0_Config2 = MIPS_CONFIG2, .CP0_Config3 = MIPS_CONFIG3, .CP0_LLAddr_rw_bitmask = 0, @@ -147,7 +147,7 @@ static const mips_def_t mips_defs[] = .CP0_Config1 = MIPS_CONFIG1 | (15 << CP0C1_MMU) | (0 << CP0C1_IS) | (3 << CP0C1_IL) | (1 << CP0C1_IA) | (0 << CP0C1_DS) | (3 << CP0C1_DL) | (1 << CP0C1_DA) | - (1 << CP0C1_CA), + (0 << CP0C1_CA), .CP0_Config2 = MIPS_CONFIG2, .CP0_Config3 = MIPS_CONFIG3, .CP0_LLAddr_rw_bitmask = 0, @@ -188,7 +188,7 @@ static const mips_def_t mips_defs[] = .CP0_Config1 = MIPS_CONFIG1 | (15 << CP0C1_MMU) | (0 << CP0C1_IS) | (3 << CP0C1_IL) | (1 << CP0C1_IA) | (0 << CP0C1_DS) | (3 << CP0C1_DL) | (1 << CP0C1_DA) | - (1 << CP0C1_CA), + (0 << CP0C1_CA), .CP0_Config2 = MIPS_CONFIG2, .CP0_Config3 = MIPS_CONFIG3 | (0 << CP0C3_VInt), .CP0_LLAddr_rw_bitmask = 0,