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)
Wed, Nov 26, 10:45 AM
Unknown Object (File)
Wed, Nov 5, 9:10 PM
Unknown Object (File)
Wed, Nov 5, 2:28 PM
Unknown Object (File)
Mon, Nov 3, 5:50 AM
Unknown Object (File)
Thu, Oct 30, 12:59 AM
Unknown Object (File)
Oct 23 2025, 3:51 AM
Unknown Object (File)
Oct 22 2025, 9:49 PM
Unknown Object (File)
Oct 12 2025, 9:27 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