Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2001 13:40:17 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Peter Wemm <peter@wemm.org>
Cc:        John Baldwin <jhb@FreeBSD.org>, Doug Rabson <dfr@FreeBSD.org>, <cvs-all@FreeBSD.org>, <cvs-committers@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/boot/efi/libefi efifs.c Makefile efiboot 
Message-ID:  <20010908133819.L406-100000@salmon.nlsystems.com>
In-Reply-To: <20010908115656.Q406-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Sep 2001, Doug Rabson wrote:

> On Fri, 7 Sep 2001, Peter Wemm wrote:
>
> > Doug Rabson wrote:
> > > On Fri, 7 Sep 2001, John Baldwin wrote:
> > >
> > > >
> > > > On 07-Sep-01 Doug Rabson wrote:
> > > > > dfr         2001/09/07 01:51:48 PDT
> > > > >
> > > > >   Modified files:
> > > > >     sys/boot/efi/libefi  Makefile efiboot.h
> > > > >   Added files:
> > > > >     sys/boot/efi/libefi  efifs.c
> > > > >   Log:
> > > > >   Add a libstand filesystem for accessing EFI native filesystems.
> > > >
> > > > Woot!  So how far along are you know?  Can you read a kernel into memory no
> >     w?
> > >
> > > Of course not :-). I can open the file and read some bytes from it.
> >
> > When I briefly looked at this before, it looked a lot like we were loading
> > the kernel and the loader into the same memory (region 7) at the same
> > addresses..
>
> I haven't payed much attention to addresses yet. EFI seems to run without
> address translation and the loader loads somewhere fairly low in physical
> memory. I don't get any choice about where the loader is loaded - it has
> to self-relocate to wherever it happens to find itself.

From my investigations so far, The firmware seems to load the loader in
high memory, far away from where we want to load the kernel. At the
moment, the kernel wants to be at 0x500000 physical and in my machines
memory map, there is a nice convenient clear section of conventional
memory running from 0x100000 to 0x3e979000 where the loader starts.

-- 
Doug Rabson				Mail:  dfr@nlsystems.com
					Phone: +44 20 8348 6160



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010908133819.L406-100000>