Page MenuHomeFreeBSD

x86: add AMD RAPL MSR definitions to specialreg.h
Needs ReviewPublic

Authored by afscoelho_gmail.com on Fri, Jul 3, 6:00 PM.

Details

Summary

specialreg.h is the tree's MSR registry and already carries the Intel
RAPL group. Add the AMD RAPL package/core energy and unit MSRs here so
the hwpmc RAPL class can reference them without a private driver copy.
Use the names Linux's msr-index.h gives these registers.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74509
Build 71392: arc lint + arc unit