From patchwork Sat May 29 20:48:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artyom Tarasenko X-Patchwork-Id: 53987 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 4E4E8B7D48 for ; Sun, 30 May 2010 06:50:12 +1000 (EST) Received: from localhost ([127.0.0.1]:38539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OISyv-0008AC-3d for incoming@patchwork.ozlabs.org; Sat, 29 May 2010 16:50:09 -0400 Received: from [140.186.70.92] (port=56519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OISxN-0007Qj-4B for qemu-devel@nongnu.org; Sat, 29 May 2010 16:48:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OISxI-00068a-O3 for qemu-devel@nongnu.org; Sat, 29 May 2010 16:48:29 -0400 Received: from fg-out-1718.google.com ([72.14.220.153]:13115) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OISxI-00068R-Je for qemu-devel@nongnu.org; Sat, 29 May 2010 16:48:28 -0400 Received: by fg-out-1718.google.com with SMTP id 16so184159fgg.10 for ; Sat, 29 May 2010 13:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=ghxSUj4L2BHvV9STnjjrbz9PhjWEr+WAv96AVyKKMcU=; b=IdfgsfEo6ATeeGu0Ju1wGceBt8sIig0oliM0gQVb9RbHdC2swrJcslBNT5K0fmiTLx 4mBMOIo/w4jSll2VnBh1/qPwLWbHmCTz7i+ojRXwO72IpFd3dpJmKkYbn2x/VMiv/OTL C1Anhor3LKqSGcC9bmY94kwM60TrAmyTNDNNg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=PGxVvoypxqoGC2BRIKjO34mBT67jwH/CHtOZWcDHNgAcr/yMqDMT2TjFKXa4u4Ndz2 x3unU3QW2NSLY5vQs9v2hdr6gM3dc6OfHB3A3JMPHght/siSbnrNNoYvH+KoR/SRwtg6 NkxltotE30eOlMo9gcQ1aCDRPDBAp2sCCp6LU= Received: by 10.86.124.35 with SMTP id w35mr5588525fgc.49.1275166107485; Sat, 29 May 2010 13:48:27 -0700 (PDT) Received: from localhost (e180190118.adsl.alicedsl.de [85.180.190.118]) by mx.google.com with ESMTPS id 2sm5654977fks.42.2010.05.29.13.48.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 May 2010 13:48:27 -0700 (PDT) From: Artyom Tarasenko To: qemu-devel@nongnu.org Date: Sat, 29 May 2010 22:48:25 +0200 Message-Id: <1275166105-4277-1-git-send-email-atar4qemu@gmail.com> X-Mailer: git-send-email 1.6.2.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: blauwirbel@gmail.com, Artyom Tarasenko Subject: [Qemu-devel] [PATCH] sparc32 SuperSPARC MMU Breakpoint Action register (SS-20 OBP fix) 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 SuperSPARC MMU Breakpoint Action register is used by OBP at boot The patch allows booting Solaris and some other OS with SPARCStation-20 OBP. Signed-off-by: Artyom Tarasenko --- target-sparc/op_helper.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index aaacfc4..ef3504f 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -1745,6 +1745,7 @@ uint64_t helper_ld_asi(target_ulong addr, int asi, int size, int sign) case 0x31: // Turbosparc RAM snoop case 0x32: // Turbosparc page table descriptor diagnostic case 0x39: /* data cache diagnostic register */ + case 0x4c: /* SuperSPARC MMU Breakpoint Action register */ ret = 0; break; case 0x38: /* SuperSPARC MMU Breakpoint Control Registers */