diff options
author | jhb <jhb@FreeBSD.org> | 2016-12-02 21:35:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-12-02 21:35:14 +0000 |
commit | 935da3482c8eaebe4fa74d359e9ad89997489df4 (patch) | |
tree | 19bdbefea02224c782c6b061827f11c6f4dc44a1 /contrib/diff/src/ed.c | |
parent | 62979d8790f72bdc85fa7bbafd8034581f25c61d (diff) | |
download | FreeBSD-src-935da3482c8eaebe4fa74d359e9ad89997489df4.zip FreeBSD-src-935da3482c8eaebe4fa74d359e9ad89997489df4.tar.gz |
MFC 308005: Add powerd(8) support for several families of AMD CPUs.
Use the same logic to calculate the nominal CPU frequency from the P-state
MSRs on family 0x12, 0x15, and 0x16 CPUs as is used for family 0x10.
Family 0x14 was included in the original patch in the PR but I left that
out as the BIOS writer's guide for family 0x14 CPUs show a different layout
for the relevant MSR and include a different formulate for calculating the
frequency.
While here, simplify a few expressions and print out the family of
unsupported CPUs in hex rather than decimal.
PR: 212020
Diffstat (limited to 'contrib/diff/src/ed.c')
0 files changed, 0 insertions, 0 deletions