Page MenuHomeFreeBSD

stand: Parse BIOS revision from SMBIOS
ClosedPublic

Authored by kd on Sep 1 2022, 2:13 PM.
Tags
None
Referenced Files
F148385125: D36413.id110076.diff
Tue, Mar 17, 12:43 PM
Unknown Object (File)
Sun, Mar 8, 9:15 AM
Unknown Object (File)
Fri, Mar 6, 1:53 AM
Unknown Object (File)
Mon, Feb 23, 9:53 AM
Unknown Object (File)
Sat, Feb 21, 12:21 PM
Unknown Object (File)
Tue, Feb 17, 10:55 AM
Unknown Object (File)
Jan 3 2026, 4:13 AM
Unknown Object (File)
Dec 10 2025, 9:24 PM
Subscribers

Details

Summary

Add a smbios.bios.revision kenv, which contains the system BIOS revision as defined in SMBIOS specification, section 3.3.1.
Since the revision is stored in two separate byte fields, the smbios_setenv helper can't be used.
Read and construct the kenv manually instead.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kd requested review of this revision.Sep 1 2022, 2:13 PM
imp requested changes to this revision.Sep 1 2022, 2:37 PM
imp added inline comments.
stand/libsa/smbios.c
313

snprintf

This revision now requires changes to proceed.Sep 1 2022, 2:37 PM
stand/libsa/smbios.c
313

Same comment, otherwise good for me.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 2 2022, 11:20 AM
This revision was automatically updated to reflect the committed changes.