src/include: add more msr defines

This change adds some MSRs that are needed in a subsequent change to add
support for Continuous Performance Control.

Change-Id: Id4ecff1bc5eedaa90b41de526b9a2e61992ac296
Signed-off-by: Matt Delco <delco@chromium.org>
Reviewed-on: https://review.coreboot.org/28067
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Matt Delco 2018-08-13 13:42:05 -07:00 committed by Duncan Laurie
parent b425bc8cd0
commit 4988fe2986
1 changed files with 7 additions and 1 deletions

View File

@ -11,7 +11,13 @@
#define EFER_SCE (1 << 0) #define EFER_SCE (1 << 0)
/* Page attribute type MSR */ /* Page attribute type MSR */
#define MSR_IA32_PAT 0x277 #define MSR_IA32_PAT 0x277
#define MSR_IA32_MPERF 0xe7
#define MSR_IA32_APERF 0xe8
#define MSR_IA32_PM_ENABLE 0x770
#define MSR_IA32_HWP_CAPABILITIES 0x771
#define MSR_IA32_HWP_REQUEST 0x774
#define MSR_IA32_HWP_STATUS 0x777
#if defined(__ROMCC__) #if defined(__ROMCC__)