Page MenuHomeFreeBSD

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

Authored by tsoome on Nov 10 2019, 9:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 2:28 AM
Unknown Object (File)
Nov 21 2023, 3:35 AM
Unknown Object (File)
Nov 20 2023, 9:20 PM
Unknown Object (File)
Jul 8 2023, 4:16 PM
Unknown Object (File)
Mar 21 2023, 8:32 PM
Unknown Object (File)
Mar 4 2023, 10:43 AM
Subscribers
None

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 - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27434
Build 25672: arc lint + arc unit