[syslinux] [PATCH] mboot using module path

H. Peter Anvin hpa at zytor.com
Tue Jul 28 20:22:58 PDT 2009


On 07/28/2009 12:30 PM, Damien wrote:
> Hey,
> 
> Yes, it would help,
> the pxelinux code AFAIK, uses option 210 to get the path prefix, and
> this is what is used as the CurrentDirName. The mangling function uses
> PathPrefix when (IMHO) it should use CurrentDirName. The patches sent earlier
> changes that in the mangling function and implements chdir as a function to
> change CurrentDirName through syscall 0x22 - 0025h (a strcpy...). Iow,
> PathPrefix
> is safe, and can be restored anytime.
> I only jumped in because this 127 chars limit is blocking me. If
> someone can change that without the linker complaining that's fine too
> :)
> 
> Thanks for the ideas.
> 

Well, it turns out that simply rebalancing the bss sections make it
possible to increase the limit to 251 characters, so that is hopefully
sufficient for the time being, until Syslinux 4 is ready.

I have pushed this out as syslinux-3.83-pre2.  Please be so kind and
help test it out, as I will have very limited time to do so.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list