Page MenuHomeFreeBSD

asmc: Fix asmc_dumpall to enumerate all SMC keys
ClosedPublic

Authored by guest-seuros on Jan 12 2026, 9:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 6, 5:10 PM
Unknown Object (File)
Mon, Apr 6, 12:23 PM
Unknown Object (File)
Mon, Apr 6, 9:49 AM
Unknown Object (File)
Sun, Apr 5, 6:31 AM
Unknown Object (File)
Mar 2 2026, 6:45 AM
Unknown Object (File)
Mar 1 2026, 3:54 PM
Unknown Object (File)
Feb 9 2026, 9:52 PM
Unknown Object (File)
Jan 30 2026, 4:33 AM
Subscribers
None

Details

Reviewers
adrian
ngie
markj
Summary

D54436 added bootverbose output showing the SMC key count, but asmc_dumpall() remained hardcoded to only dump 256 keys.
Now it use ASMC_NKEYS to read the actual count.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

guest-seuros created this revision.
This revision is now accepted and ready to land.Jan 14 2026, 1:12 AM

Tabs are stripped on this patch too.