All of lore.kernel.org
 help / color / mirror / Atom feed
* Physical memory access (when not running with a manager)
@ 2006-10-11 15:34 David Frascone
  2006-10-11 19:18 ` David Frascone
  0 siblings, 1 reply; 2+ messages in thread
From: David Frascone @ 2006-10-11 15:34 UTC (permalink / raw)
  To: Grub-devel

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

                              Oxymoron: Reinvent.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Physical memory access (when not running with a manager)
  2006-10-11 15:34 Physical memory access (when not running with a manager) David Frascone
@ 2006-10-11 19:18 ` David Frascone
  0 siblings, 0 replies; 2+ messages in thread
From: David Frascone @ 2006-10-11 19:18 UTC (permalink / raw)
  To: The development of GRUB 2

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-11 19:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-11 15:34 Physical memory access (when not running with a manager) David Frascone
2006-10-11 19:18 ` David Frascone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.