diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-03-10 00:01:11 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-20 19:53:15 +0000 |
commit | 80bfddb85fcd705388b0fb9d955e07d8450dc15d (patch) | |
tree | 6aebd56001fc37a33c64216571bf6057809a0db9 /.clang-format | |
parent | da02a82f221897e75fe046f9a48eb45ba5409d05 (diff) |
soc/amd/mendocino: introduce and use pstate_msr bitfield struct
Add the pstate_msr union of a bitfield struct and a raw uint64_t to
allow easier access of the bitfields of the P state MSRs and use this
bitfield struct in get_pstate_core_freq and get_pstate_core_power. The
signature of those two function will be changed in a follow-up commit.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ic489b8e1332dde2511647c065ccbdef541bcbcc5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73645
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions