The initrd_addr_max field represents the highest byte address that may be used to hold initrd images, and is therefore almost certainly not aligned to a page boundary: a typical value might be 0x7fffffff. Fix the address calculations to ensure that the initrd images are always aligned to a page boundary. Reported-by: Sitsofe Wheeler <sitsofe@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
522 |
|
522 |
|
523 |
|
523 |
|
524 |
|
524 |
|
525 |
|
|
|
526 |
|
|
|
|
525 |
|
|
|
526 |
|
|
|
527 |
|
|
|
528 |
|
|
527 |
|
529 |
|
528 |
|
|
|
|
530 |
|
|
529 |
|
531 |
|
530 |
|
532 |
|
531 |
|
533 |
|