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.tags/v0.9.3
|
|
||
141 |
|
141 |
|
142 |
|
142 |
|
143 |
|
143 |
|
|
144 |
|
|
144 |
|
145 |
|
145 |
|
146 |
|
146 |
|
147 |
|
|
|
||
266 |
|
267 |
|
267 |
|
268 |
|
268 |
|
269 |
|
269 |
|
|
|
|
270 |
|
|
270 |
|
271 |
|
271 |
|
272 |
|
272 |
|
273 |
|
|
|
||
315 |
|
316 |
|
316 |
|
317 |
|
317 |
|
318 |
|
318 |
|
|
|
|
319 |
|
|
319 |
|
320 |
|
320 |
|
|
|
|
321 |
|
|
321 |
|
322 |
|
322 |
|
323 |
|
323 |
|
324 |
|