summaryrefslogtreecommitdiffstats
path: root/Copyrights
diff options
context:
space:
mode:
authorMichael Brown2007-09-28 02:23:06 +0200
committerMichael Brown2007-09-28 02:23:06 +0200
commit56550e400eace8edffc0e147b9f674e9d266e1de (patch)
tree96b8931de9c6ff22193fbd00f0ac01b7d39b2031 /Copyrights
parentQuick and very dirty hack to get r8169 driver working again, prior to (diff)
downloadipxe-56550e400eace8edffc0e147b9f674e9d266e1de.tar.gz
ipxe-56550e400eace8edffc0e147b9f674e9d266e1de.tar.xz
ipxe-56550e400eace8edffc0e147b9f674e9d266e1de.zip
Redefine bzimage_exec_context::mem_limit to be the highest permissible
byte, rather than the number of permissible bytes (i.e. subtract one from the value under the previous definition to get the value under the new definition). This avoids integer overflow on 64-bit kernels, where bzhdr.initrd_addr_max may be 0xffffffffffffffff; under the old behaviour we set mem_limit equal to initrd_addr_max+1, which meant it ended up as zero. Kernel loads would fail with ENOBUFS.
Diffstat (limited to 'Copyrights')
0 files changed, 0 insertions, 0 deletions