Gene Cumm
2011-Feb-08 17:13 UTC
[syslinux] [PATCH][git-pull] MEMDISK: Process "mem=" parameter and apply to e820 ranges
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
Robert McLay
2011-Feb-08 21:23 UTC
[syslinux] [PATCH][git-pull] MEMDISK: Process "mem=" parameter and apply to e820 ranges
Hi Gene,> 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.I mentioned that some colleagues and friends would test this for you, just like to mention that we tested this on a Dell Poweredge 4600 with 16GB of RAM, limited down to 1020MB and it did the business. I'd just like to take this opportunity to thank everyone on the list and IRC who helped me out. Cheers, Robert