Page MenuHomeFreeBSD

kboot: Support reading the smbios vis sysfs
ClosedPublic

Authored by andrew on Jul 18 2025, 3:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 13 2026, 6:25 AM
Unknown Object (File)
May 4 2026, 9:34 AM
Unknown Object (File)
May 4 2026, 8:48 AM
Unknown Object (File)
May 3 2026, 7:08 PM
Unknown Object (File)
Apr 29 2026, 11:09 PM
Unknown Object (File)
Apr 29 2026, 10:27 AM
Unknown Object (File)
Apr 29 2026, 10:22 AM
Unknown Object (File)
Apr 16 2026, 4:40 AM
Subscribers

Details

Summary

When reading the smbios on Linux we try to access it via /dev/mem. On
some systems we can't do this as /dev/mem is locked down. To handle
this try reading the sysfs file first, and if that fails fall back to
/dev/mem.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable