From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JH01Q-0006aU-NJ for mharc-grub-devel@gnu.org; Mon, 21 Jan 2008 12:01:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JH01O-0006ZU-BV for grub-devel@gnu.org; Mon, 21 Jan 2008 12:01:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JH01M-0006YC-Me for grub-devel@gnu.org; Mon, 21 Jan 2008 12:01:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JH01M-0006Y2-Bn for grub-devel@gnu.org; Mon, 21 Jan 2008 12:01:16 -0500 Received: from smtp-vbr15.xs4all.nl ([194.109.24.35]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JH01M-0002l9-3g for grub-devel@gnu.org; Mon, 21 Jan 2008 12:01:16 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0LH1EOB040739 for ; Mon, 21 Jan 2008 18:01:15 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080115171747.GA14625@thorin> <1200418959.17542.6.camel@dv> <20080115180055.GA21551@thorin> Mail-Copies-To: mgerards@xs4all.nl Date: Mon, 21 Jan 2008 18:02:20 +0100 In-Reply-To: <20080115180055.GA21551@thorin> (Robert Millan's message of "Tue, 15 Jan 2008 19:00:55 +0100") Message-ID: <87prvv863n.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [PATCH] improve grub_mm_init_region() debug message X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 17:01:19 -0000 Robert Millan writes: > On Tue, Jan 15, 2008 at 12:42:39PM -0500, Pavel Roskin wrote: >> >> On Tue, 2008-01-15 at 18:17 +0100, Robert Millan wrote: >> > - grub_dprintf ("mem", "Using memory for heap: addr=%p, size=%u\n", >> > addr, (unsigned int) size); >> > + grub_dprintf ("mem", "Using memory for heap: start=%p, end=%p\n", >> > addr, addr + size); >> >> Maybe addr+size-1 would be better? Inclusive boundaries are more >> intuitive. Just run "cat /proc/iomem" to see what I mean. > > Sounds better to me. > > Does this change (with addr + size -1) sound fine to everyone else? Why not showing both the range and the size. Isn't the size useful sometimes? I hate calculating such things by hand... -- Marco