grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 01/14] loader/bsd: Fix loading after unaligned module


From: Vladimir 'phcoder' Serbinenko
Subject: [PATCH 01/14] loader/bsd: Fix loading after unaligned module
Date: Mon, 11 Dec 2023 03:38:00 +0100

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>

Attachment: 0001-loader-bsd-Fix-loading-after-unaligned-module.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]