Page MenuHomeFreeBSD

kboot: Support reading the smbios vis sysfs
ClosedPublic

Authored by andrew on Jul 18 2025, 3:55 PM.
Tags
None
Referenced Files
F143927750: D51413.id158748.diff
Mon, Feb 2, 2:47 AM
F143923027: D51413.diff
Mon, Feb 2, 1:11 AM
Unknown Object (File)
Sun, Feb 1, 10:54 AM
Unknown Object (File)
Dec 1 2025, 5:12 PM
Unknown Object (File)
Nov 29 2025, 11:43 AM
Unknown Object (File)
Nov 26 2025, 10:45 AM
Unknown Object (File)
Nov 5 2025, 9:10 PM
Unknown Object (File)
Nov 5 2025, 2:28 PM
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