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)
Thu, Oct 9, 2:17 AM
Unknown Object (File)
Fri, Oct 3, 5:41 AM
Unknown Object (File)
Thu, Oct 2, 5:44 PM
Unknown Object (File)
Thu, Oct 2, 6:29 AM
Unknown Object (File)
Wed, Sep 17, 12:27 AM
Unknown Object (File)
Aug 31 2025, 4:28 AM
Unknown Object (File)
Aug 14 2025, 11:23 PM
Unknown Object (File)
Aug 9 2025, 4:04 PM
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.