Page MenuHomeFreeBSD

kboot: Support reading the smbios vis sysfs
ClosedPublic

Authored by andrew on Jul 18 2025, 3:55 PM.
Tags
None
Referenced Files
F132005364: D51413.id158748.diff
Sun, Oct 12, 9:27 PM
Unknown Object (File)
Fri, Oct 10, 10:37 PM
Unknown Object (File)
Fri, Oct 10, 10:36 PM
Unknown Object (File)
Fri, Oct 10, 10:36 PM
Unknown Object (File)
Fri, Oct 10, 4:32 PM
Unknown Object (File)
Sun, Oct 5, 1:52 PM
Unknown Object (File)
Thu, Sep 25, 7:50 PM
Unknown Object (File)
Wed, Sep 17, 12:42 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