From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIojM-0001K8-56 for qemu-devel@nongnu.org; Tue, 25 Oct 2011 17:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIojK-0002gM-Fk for qemu-devel@nongnu.org; Tue, 25 Oct 2011 17:40:20 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:36651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIojK-0002g8-8t for qemu-devel@nongnu.org; Tue, 25 Oct 2011 17:40:18 -0400 Received: by wwi36 with SMTP id 36so1403335wwi.10 for ; Tue, 25 Oct 2011 14:40:17 -0700 (PDT) Sender: Richard Henderson Message-ID: <4EA72CBC.5060702@twiddle.net> Date: Tue, 25 Oct 2011 14:40:12 -0700 From: Richard Henderson MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/9] Sparc: avoid AREG0 for softint op helpers and Leon cache control List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel On 10/25/2011 02:14 PM, Blue Swirl wrote: > Make softint op helpers and Leon cache irq manager take a parameter > for CPUState instead of relying on global env. Move the functions > to int{32,64}_helper.c. > > Signed-off-by: Blue Swirl > --- > target-sparc/cpu.h | 31 +++++++++++--- > target-sparc/helper.h | 6 +- > target-sparc/int32_helper.c | 47 +++++++++++++++++++++- > target-sparc/int64_helper.c | 40 ++++++++++++++++++ > target-sparc/op_helper.c | 94 ------------------------------------------- > target-sparc/translate.c | 6 +- > 6 files changed, 117 insertions(+), 107 deletions(-) Reviewed-by: Richard Henderson r~