[gPXE-devel] [PATCH v3][lkrn] add ramdisk support

Stefan Hajnoczi stefanha at gmail.com
Thu Jun 3 03:27:00 EDT 2010


On Thu, Jun 3, 2010 at 8:14 AM, Wu Fengguang <fengguang.wu at intel.com> wrote:
> ..when install has returned, the gpxe relocation has done.
> So we missed the chance to relocate to some place _outside of_ the
> ramdisk region.
>
> Normally it's very unlikely that the small ramdisk script get
> overwritten in gPXE relocation. So I can do this as long as you are OK
> with it.

You are right.  We need a clean way to pass the off-limits region to relocate().

Generic code can't access lkrnprefix.S symbols but it should be
possible to pass an (addr, size) pair or even a pointer to an array of
(addr, size) pairs.

Stefan


More information about the gPXE-devel mailing list