Page MenuHomeFreeBSD

hwpstate_amd(4): Revamp the softc
ClosedPublic

Authored by olce on Sat, Jan 31, 11:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 2, 1:21 AM
Unknown Object (File)
Sun, Feb 1, 1:43 PM
Unknown Object (File)
Sun, Feb 1, 12:38 PM
Unknown Object (File)
Sun, Feb 1, 5:38 AM
Unknown Object (File)
Sun, Feb 1, 4:02 AM
Unknown Object (File)
Sun, Feb 1, 3:27 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