[syslinux] [syslinux:firmware] load_linux: dynamically calculate the cmdline region

H. Peter Anvin hpa at zytor.com
Mon Jul 29 06:54:07 PDT 2013


On 07/29/2013 06:28 AM, Matt Fleming wrote:
>  
> Could you give an example memory map where this would be a problem? I
> not sure I understand what you mean. Perhaps something like,
> 
>      start       end      type
>   -----------------------------
>   0x090000  0x090400  SMT_FREE
>   0x090400  0x09f000  SMT_TERMINAL
> 

Omitted the example: let's say the cutoff is 0x94000, and the size of
the real-mode portion is 15K.  Not much of a heap/stack left.

Assuming we can reclaim SMT_TERMINAL seems pretty sane if we are forced
to load the real mode chunk high.

	-hpa




More information about the Syslinux mailing list