grub/grub-core
Vladimir Serbinenko c129e44e7f loader/i386/bsdXX: Fix loading after unaligned module
Current code implicitly assumes that aligning chunk_size + *kern_end is
the same as aligning on curload which is not the case because
chunk_size starts at zero even if *kern_end is unaligned and ALIGN_PAGE
moved curload to an aligned position but not *kern_end + chunk_size.

This fixes booting of FreeBSD with zfs module.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-12-12 17:14:27 +01:00
..
2023-01-19 17:39:04 +01:00
2022-03-14 16:00:27 +01:00
2017-05-03 12:49:31 +02:00
2023-06-23 00:50:38 +02:00
2017-05-03 12:49:31 +02:00