Page MenuHomeFreeBSD

loader: bios loader should check the smap while loading the modules
Needs ReviewPublic

Authored by tsoome on Sun, Nov 10, 9:17 PM.

Details

Reviewers
imp
Summary

illumos issue: https://www.illumos.org/issues/8681

The BIOS memory above 1MB is assumed to be contiguous and we can just
load kernel and modules. Unfortunately it is not true (any more), at least
AMD Ryzen is known to have hole at about 30MB(ish) line.

This patch is not yet fully complete and perfect, I have done basic build/boot,
but I do not have Ryzen to test with; also most likely the metadata needs
attention.

Note: the UEFI will need similar solution, but it is a more complicated
there, so we introduce the concept with BIOS.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 27434
Build 25672: arc lint + arc unit