[PATCH v4] mbi: use per segment a separate relocator chunk
Alexander Boettcher
2018-06-14 18:29:14 UTC
Alexander Boettcher
Genode Labs

http://www.genode-labs.com - http://www.genode.org

Genode Labs GmbH - Amtsgericht Dresden - HRB 28424 - Sitz Dresden
GeschÀftsfÌhrer: Dr.-Ing. Norman Feske, Christian Helmuth
Daniel Kiper
2018-06-20 10:28:46 UTC
Instead of setting up a all comprising relocator chunk for all segments,
use per segment a separate relocator chunk.
Currently, if the ELF is non-relocatable, a single relocator chunk will
comprise memory (between the segments) which gets overridden by the relst()
invocation of the movers code in grub_relocator16/32/64_boot().
The overridden memory may contain reserved ranges like VGA memory or ACPI
tables, which may lead to crashes or at least to strange boot behaviour.
LGTM. If there are no objections I will apply this patch by the end of this week.

Thank you for doing the work.


Continue reading on narkive: