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, May 13, 6:25 AM
Unknown Object (File)
Mon, May 4, 9:34 AM
Unknown Object (File)
Mon, May 4, 8:48 AM
Unknown Object (File)
Sun, May 3, 7:08 PM
Unknown Object (File)
Wed, Apr 29, 11:09 PM
Unknown Object (File)
Wed, Apr 29, 10:27 AM
Unknown Object (File)
Wed, Apr 29, 10:22 AM
Unknown Object (File)
Thu, Apr 16, 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