Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 11:51:52 -0400
From:      Eric McCorkle <eric@shadowsun.net>
To:        freebsd-hackers@freebsd.org
Subject:   Re: GSoC Project: EFI on amd64/i386
Message-ID:  <4FB51E98.6050109@shadowsun.net>
In-Reply-To: <201205171036.45009.jhb@freebsd.org>
References:  <4FA95960.7090908@shadowsun.net> <201205151144.38123.jhb@freebsd.org> <4FB3AAA6.3090708@shadowsun.net> <201205171036.45009.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/17/12 10:36, John Baldwin wrote:

>> Do the kernel and modules actually do anything that depends on
>> being in a contiguous space in some way (ie some relocation
>> trick)?  Because it seems like it shouldn't really matter
>> otherwise.
> 
> They are statically linked at a fixed address.  Modules can be
> wherever, but the kernel has to be at the physical address it is
> linked for (unless you make the kernel relocatable).
> 

Hmm.  That would definitely be an issue.  Are there any reasons
inherent to the way the kernel runs that would prevent that from being
done?

Alternately, it seems you could set up page tables in the EFI loader,
though getting the handoff right would be trick to say the least.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQIcBAEBAgAGBQJPtR6YAAoJENSCzbQ+koZ7JS4P+wfFfj4U/1OVy4cIyYc39XDt
i+LDP1Eq/uSVnVB0Jj58yAMWR0ssrjA4/4DATN/59d5as42o4vN9alf6v+82o8CV
mTIiaqynFvTGXaEdZE/tXz1TDshjt5zUMXjoBSMfkrVxHLhTvJNImmk6Zlc5lfQm
GJ194X4rhiRK3BRyEWK0sHaGie88GYXcrZBr5iyLvi4MkqS6HnC5rV3ZaXQ4uqz3
po4eHbuIeU88INnL7qGULnGiZzGoTULaFdheDMxU7UtD++kGxpRfhqsCkJ3RbRb6
BxqI70CrKPBp/6CILSsaYqPKzn8Ew5xmG7qoxfBgmqLNOfoSyTsmybGXotRocxlO
EQIG0BEcEu51OGAh5eDADBnfNw347cyGwdtr0HI7rPegK4CNedc5uf/OMoHlNz2F
9guzJLkG7Ruk6oIIyP5wn3m5uB1S5mJ0c5jow9Vxfie20TVzzHhZSNn6ipryt8iT
FbN/sMReLudVlpEv5aQ2N1Y4YH2lt9Qqbg4h5qpQ6l89mGredGb4jOHJTKFchCLp
N9B185r2O5emFV2jS6C/Nkcdqmp69hg/4jxn8aOVR2dmt//gBMy3KYlflLaBSIzQ
r0Wzga+a/GOTX90ii1386q7HhQtAb0facBA3A0h0k9fb9BFra2LUO/vkXMLrxqUR
+z8kQiLx8O0gFAanF7gN
=sSDg
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB51E98.6050109>