diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-03-10 00:00:47 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-20 19:52:27 +0000 |
commit | da02a82f221897e75fe046f9a48eb45ba5409d05 (patch) | |
tree | 07a727bcc2c539c87ad0c953835f9005ae77dd91 /src/soc/amd/mendocino/include | |
parent | 659e154d68a5dd706e1d99513a9a7947ab3b87fc (diff) |
soc/amd/cezanne: 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: If92a4773c669ac2df45396eee52f6de780adbdca
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73644
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/mendocino/include')
0 files changed, 0 insertions, 0 deletions