[syslinux] Limiting memory used by syslinux
H. Peter Anvin
hpa at zytor.com
Sat Jun 2 10:06:14 PDT 2012
On 06/02/2012 09:28 AM, Gene Cumm wrote:
> On Jun 2, 2012 11:12 AM, "H. Peter Anvin" <hpa at zytor.com> wrote:
>>
>> On 06/01/2012 12:07 PM, jochen.desmet at emc.com wrote:
>
>>> The problem we're having is that syslinux is overwriting some of that
>>> memory (specifically, at first glance it looks like the com32 stack). Is
>>> there a way to tell syslinux to not use memory above a certain address ?
>
>> There isn't in the stock syslinux, but it wouldn't be hard to do; there
>> is actually a hard-coded limit of 0xfff00000 already (in two places, you
>> probably need to grep for it.) The problem with making this
>> configurable is that it would have to happen very early on, before a lot
>> of the configuration information is available.
>
> Wouldn't this be best done in the ADV or should it be configurable in the
> config file?
>
Those are problematic, since they both are too late in the memory setup.
The best would of course to mark the persistent memory as unavailable in
the e820 setup.
-hpa
More information about the Syslinux
mailing list