[syslinux] [PATCH][git-pull] MEMDISK: Process "mem=" parameter and apply to e820 ranges

Gene Cumm gene.cumm at gmail.com
Tue Feb 8 09:13:40 PST 2011


git://git.zytor.com/users/genec/syslinux.git

Branch memdisk-maxmem-for-hpa

The goal of the changes was to process a "mem=" parameter (ie
"mem=128M" or "mem=134217728"; same value) and alter the memory map
that MEMDISK returns in INT15h AXe820h by changing any type 1
(available) ranges above the "mem=" value to type 2 (reserved) and
splitting a type 1 that crosses this boundary if needed.  This reuses
code from com32/lib/ and copies suffix_number() from
com32/lib/syslinux/load_linux.c to com32/libutil/suffix_number.c.

This has shown useful for an end user when using a particular legacy
DOS application in a machine with 1024MiB or more of RAM.  Specifying
"mem=" without modifying MEMDISK was insufficient.

-- 
-Gene




More information about the Syslinux mailing list