Page MenuHomeFreeBSD

stand: Parse BIOS revision from SMBIOS
ClosedPublic

Authored by kd on Sep 1 2022, 2:13 PM.
Tags
None
Referenced Files
F102676103: D36413.diff
Fri, Nov 15, 5:32 PM
Unknown Object (File)
Sun, Nov 3, 2:09 PM
Unknown Object (File)
Fri, Oct 18, 7:47 PM
Unknown Object (File)
Oct 9 2024, 5:13 PM
Unknown Object (File)
Oct 1 2024, 8:35 PM
Unknown Object (File)
Sep 29 2024, 9:29 PM
Unknown Object (File)
Sep 29 2024, 7:28 PM
Unknown Object (File)
Sep 28 2024, 7:51 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.