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)
Apr 27 2026, 4:01 PM
Unknown Object (File)
Apr 20 2026, 7:01 PM
Unknown Object (File)
Apr 6 2026, 5:10 PM
Unknown Object (File)
Apr 6 2026, 12:23 PM
Unknown Object (File)
Apr 6 2026, 9:49 AM
Unknown Object (File)
Apr 5 2026, 6:31 AM
Unknown Object (File)
Mar 2 2026, 6:45 AM
Unknown Object (File)
Mar 1 2026, 3:54 PM
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.