Page MenuHomeFreeBSD

libsa: smbios: Allow to run smbios_probe() multiple times
ClosedPublic

Authored by olce on Mar 7 2025, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 10, 2:40 AM
Unknown Object (File)
Thu, Nov 6, 11:48 PM
Unknown Object (File)
Thu, Oct 23, 1:21 PM
Unknown Object (File)
Wed, Oct 22, 1:46 AM
Unknown Object (File)
Sun, Oct 19, 3:02 AM
Unknown Object (File)
Sat, Oct 18, 11:24 PM
Unknown Object (File)
Oct 18 2025, 4:38 PM
Unknown Object (File)
Oct 9 2025, 2:17 AM
Subscribers

Details

Summary

This is in preparation for modifying the EFI loader to favor a v3 table
if present.

As an impact, caller smbios_match() has been changed so that it only
calls smbios_probe() with NULL (non-EFI discovery) once.

Diff Detail

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

Event Timeline

olce requested review of this revision.Mar 7 2025, 4:57 PM

This is good, though I'm thinking the XXX comment should maybe be expanded a word or five and the XXX removed. Up to you though.

This revision is now accepted and ready to land.Mar 7 2025, 5:52 PM
In D49289#1123977, @imp wrote:

This is good, though I'm thinking the XXX comment should maybe be expanded a word or five and the XXX removed. Up to you though.

Done in the final commit.