From patchwork Thu Jul 14 09:41:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tsuneo Saito X-Patchwork-Id: 104650 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A6915B6F68 for ; Thu, 14 Jul 2011 19:56:59 +1000 (EST) Received: from localhost ([::1]:57326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhIfA-0004Ak-0E for incoming@patchwork.ozlabs.org; Thu, 14 Jul 2011 05:56:56 -0400 Received: from eggs.gnu.org ([140.186.70.92]:47780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhIR7-0001EH-Cm for qemu-devel@nongnu.org; Thu, 14 Jul 2011 05:42:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhIR5-0002x8-6z for qemu-devel@nongnu.org; Thu, 14 Jul 2011 05:42:24 -0400 Received: from mail-iw0-f173.google.com ([209.85.214.173]:47869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhIR4-0002vm-KL for qemu-devel@nongnu.org; Thu, 14 Jul 2011 05:42:22 -0400 Received: by mail-iw0-f173.google.com with SMTP id 3so42896iwn.4 for ; Thu, 14 Jul 2011 02:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=J/viIBwPpH90j9/A0W7kOf5sa1E2c6C9XTZpeUbyPK4=; b=I3jiJAZ0pbAjuRFY7xlZK/kaHuieDsnfKPNmB8Lv9LD1aYuoHv38DmSozereAeQnx8 WIdU2NE5ZPK6V19VGPDXCb0TTnw8zYse3PSIrtDQ+OSwLQaL0rnvw0SKZLWXavi1aJY/ bH0FQJlxbnLL3tJyVUfql8qPwuYSpBBHMtBqM= Received: by 10.42.243.2 with SMTP id lk2mr2431280icb.252.1310636542287; Thu, 14 Jul 2011 02:42:22 -0700 (PDT) Received: from localhost.localdomain (tetkyo149119.tkyo.te.ftth2.ppp.infoweb.ne.jp [202.219.195.119]) by mx.google.com with ESMTPS id hq1sm92469icc.2.2011.07.14.02.42.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Jul 2011 02:42:22 -0700 (PDT) From: Tsuneo Saito To: qemu-devel@nongnu.org Date: Thu, 14 Jul 2011 18:41:43 +0900 Message-Id: <1310636503-8956-9-git-send-email-tsnsaito@gmail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1310636503-8956-1-git-send-email-tsnsaito@gmail.com> References: <1310636503-8956-1-git-send-email-tsnsaito@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.173 Cc: Tsuneo Saito Subject: [Qemu-devel] [PATCH v2 8/8] SPARC64: C99 comment fix for block-transfer ASIs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Fixed C99 comments on block-tranfer ASIs. Signed-off-by: Tsuneo Saito --- target-sparc/op_helper.c | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index 2a28d5f..15af27b 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -3337,10 +3337,10 @@ void helper_ldf_asi(target_ulong addr, int asi, int size, int rd) addr = asi_address_mask(env, asi, addr); switch (asi) { - case 0xf0: // Block load primary - case 0xf1: // Block load secondary - case 0xf8: // Block load primary LE - case 0xf9: // Block load secondary LE + case 0xf0: /* UA2007/JPS1 Block load primary */ + case 0xf1: /* UA2007/JPS1 Block load secondary */ + case 0xf8: /* UA2007/JPS1 Block load primary LE */ + case 0xf9: /* UA2007/JPS1 Block load secondary LE */ if (rd & 7) { raise_exception(TT_ILL_INSN); return; @@ -3357,8 +3357,8 @@ void helper_ldf_asi(target_ulong addr, int asi, int size, int rd) case 0x17: /* UA2007 Block load secondary, user privilege */ case 0x1e: /* UA2007 Block load primary LE, user privilege */ case 0x1f: /* UA2007 Block load secondary LE, user privilege */ - case 0x70: // Block load primary, user privilege - case 0x71: // Block load secondary, user privilege + case 0x70: /* JPS1 Block load primary, user privilege */ + case 0x71: /* JPS1 Block load secondary, user privilege */ case 0x78: /* JPS1 Block load primary LE, user privilege */ case 0x79: /* JPS1 Block load secondary LE, user privilege */ if (rd & 7) { @@ -3408,12 +3408,12 @@ void helper_stf_asi(target_ulong addr, int asi, int size, int rd) addr = asi_address_mask(env, asi, addr); switch (asi) { - case 0xe0: // UA2007 Block commit store primary (cache flush) - case 0xe1: // UA2007 Block commit store secondary (cache flush) - case 0xf0: // Block store primary - case 0xf1: // Block store secondary - case 0xf8: // Block store primary LE - case 0xf9: // Block store secondary LE + case 0xe0: /* UA2007/JPS1 Block commit store primary (cache flush) */ + case 0xe1: /* UA2007/JPS1 Block commit store secondary (cache flush) */ + case 0xf0: /* UA2007/JPS1 Block store primary */ + case 0xf1: /* UA2007/JPS1 Block store secondary */ + case 0xf8: /* UA2007/JPS1 Block store primary LE */ + case 0xf9: /* UA2007/JPS1 Block store secondary LE */ if (rd & 7) { raise_exception(TT_ILL_INSN); return; @@ -3430,8 +3430,8 @@ void helper_stf_asi(target_ulong addr, int asi, int size, int rd) case 0x17: /* UA2007 Block load secondary, user privilege */ case 0x1e: /* UA2007 Block load primary LE, user privilege */ case 0x1f: /* UA2007 Block load secondary LE, user privilege */ - case 0x70: // Block store primary, user privilege - case 0x71: // Block store secondary, user privilege + case 0x70: /* JPS1 Block store primary, user privilege */ + case 0x71: /* JPS1 Block store secondary, user privilege */ case 0x78: /* JPS1 Block load primary LE, user privilege */ case 0x79: /* JPS1 Block load secondary LE, user privilege */ if (rd & 7) {