From patchwork Sat Jan 7 20:00:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 134861 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 F0C48B6F99 for ; Sun, 8 Jan 2012 07:00:47 +1100 (EST) Received: from localhost ([::1]:41561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjcRY-00024J-63 for incoming@patchwork.ozlabs.org; Sat, 07 Jan 2012 15:00:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjcRS-00024E-0Y for qemu-devel@nongnu.org; Sat, 07 Jan 2012 15:00:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjcRQ-0000V0-Ty for qemu-devel@nongnu.org; Sat, 07 Jan 2012 15:00:37 -0500 Received: from hall.aurel32.net ([88.191.126.93]:33621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjcRQ-0000Uw-Oc; Sat, 07 Jan 2012 15:00:36 -0500 Received: from [2001:470:d4ed:0:5e26:aff:fe2b:6f5b] (helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1RjcRP-0003YR-Sf; Sat, 07 Jan 2012 21:00:35 +0100 Received: from aurel32 by volta.aurel32.net with local (Exim 4.77) (envelope-from ) id 1RjcRO-00008b-Q3; Sat, 07 Jan 2012 21:00:34 +0100 From: Aurelien Jarno To: qemu-devel@nongnu.org Date: Sat, 7 Jan 2012 21:00:25 +0100 Message-Id: <1325966426-475-1-git-send-email-aurelien@aurel32.net> X-Mailer: git-send-email 1.7.7.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 88.191.126.93 Cc: qemu-trivial@nongnu.org, Aurelien Jarno Subject: [Qemu-devel] [PATCH] tcg-arm: fix a typo in comments 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 ARM still doesn't support 16GB buffers in 32-bit modes, replace the 16GB by 16MB in the comment. Signed-off-by: Aurelien Jarno Reviewed-by: Peter Maydell --- exec.c | 2 +- tcg/arm/tcg-target.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exec.c b/exec.c index b1d6602..7f9f730 100644 --- a/exec.c +++ b/exec.c @@ -511,7 +511,7 @@ static void code_gen_alloc(unsigned long tb_size) if (code_gen_buffer_size > (512 * 1024 * 1024)) code_gen_buffer_size = (512 * 1024 * 1024); #elif defined(__arm__) - /* Keep the buffer no bigger than 16GB to branch between blocks */ + /* Keep the buffer no bigger than 16MB to branch between blocks */ if (code_gen_buffer_size > 16 * 1024 * 1024) code_gen_buffer_size = 16 * 1024 * 1024; #elif defined(__s390x__) diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index 1d32798..5b233f5 100644 --- a/tcg/arm/tcg-target.c +++ b/tcg/arm/tcg-target.c @@ -843,7 +843,7 @@ static inline void tcg_out_st8(TCGContext *s, int cond, } /* The _goto case is normally between TBs within the same code buffer, - * and with the code buffer limited to 16GB we shouldn't need the long + * and with the code buffer limited to 16MB we shouldn't need the long * case. * * .... except to the prologue that is in its own buffer.