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)
Sat, Mar 28, 11:50 AM
Unknown Object (File)
Sun, Mar 22, 7:14 PM
Unknown Object (File)
Mon, Mar 16, 8:59 AM
Unknown Object (File)
Mar 1 2026, 5:14 PM
Unknown Object (File)
Mar 1 2026, 5:24 AM
Unknown Object (File)
Feb 18 2026, 12:59 PM
Unknown Object (File)
Feb 7 2026, 11:38 PM
Unknown Object (File)
Feb 7 2026, 7:31 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.