From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GXjap-0003Cb-Fb for mharc-grub-devel@gnu.org; Wed, 11 Oct 2006 15:18:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GXjan-0003As-Tp for grub-devel@gnu.org; Wed, 11 Oct 2006 15:18:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GXjam-00038q-Ed for grub-devel@gnu.org; Wed, 11 Oct 2006 15:18:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXjam-00038S-BA for grub-devel@gnu.org; Wed, 11 Oct 2006 15:18:12 -0400 Received: from [64.62.209.30] (helo=bender-mail.tigertech.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GXjiq-0001Ey-5w for grub-devel@gnu.org; Wed, 11 Oct 2006 15:26:32 -0400 Received: from localhost (localhost [127.0.0.1]) by bender.tigertech.net (Postfix) with ESMTP id 8A3DD7E07 for ; Wed, 11 Oct 2006 12:18:08 -0700 (PDT) Received: from [64.100.131.208] (dfrascon-lnx.cisco.com [64.100.131.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bender.tigertech.net (Postfix) with ESMTP id B39507DFB for ; Wed, 11 Oct 2006 12:18:05 -0700 (PDT) Message-ID: <452D436C.7050201@frascone.com> Date: Wed, 11 Oct 2006 15:18:04 -0400 From: David Frascone User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: The development of GRUB 2 References: <452D0EF0.6080809@frascone.com> In-Reply-To: <452D0EF0.6080809@frascone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at tigertech.net Subject: Re: Physical memory access (when not running with a manager) 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: Wed, 11 Oct 2006 19:18:14 -0000 The answer is: use the #define GRUB_UTIL. -Dave David Frascone wrote: > I'm sure this has an easy answer, but it's been eluding me: > > I need grub, when booting, to grab some values from a particular > memory address (in flash). My code runs fine, on the platform . . > > BUT -- I use the same code to *install* grub from linux, where it can > not access the physical memory address. So -- is there any way to > have stage2 only access the location when not running under an OS > (i.e. when booting)? > > -Dave > -- David Frascone Waiter, there's no fly in my soup! - Kermit