Page MenuHomeFreeBSD

hwpstate_amd(4): Revamp the softc
ClosedPublic

Authored by olce on Jan 31 2026, 11:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 23, 2:20 PM
Unknown Object (File)
Thu, May 21, 6:53 PM
Unknown Object (File)
Thu, May 21, 1:27 AM
Unknown Object (File)
Wed, May 20, 9:27 PM
Unknown Object (File)
Wed, May 20, 5:22 AM
Unknown Object (File)
Tue, May 19, 6:39 PM
Unknown Object (File)
Sun, May 17, 4:02 AM
Unknown Object (File)
Sun, May 17, 3:26 AM
Subscribers

Details

Summary

As the new CPPC and old P-states modes are exclusive, put their
respective data in a union.

Rename the field containing the content of the CPPC_REQUEST register.
It it now to be accessed using 'cppc.request'.

Use an 'unsigned int' instead of 'uint32_t' for 'flags'. This is an
internal field whose width could be changed at will. We only have one
flag at the moment.

No functional change intended.

Diff Detail

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