diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2017-09-06 18:13:26 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-09-27 15:57:16 +0000 |
commit | 33803aa04adfece6b7d576e2b2702d2131952928 (patch) | |
tree | 7c08ce88688ada69855aeafa9c461330942fbb76 /src/include | |
parent | 7c6e3399aec5e1b45e0bee684af67f15c08e0a20 (diff) |
cpu/amd/amdfam15: Add misc. SMM definitions
Add a #define for TSEG as well as some register field definitions.
Change-Id: Iad702bbdb459a09f9fef60d8280bb2684e365f4b
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/21500
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cpu/amd/amdfam15.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/amd/amdfam15.h b/src/include/cpu/amd/amdfam15.h index ad3189f268..33aa863192 100644 --- a/src/include/cpu/amd/amdfam15.h +++ b/src/include/cpu/amd/amdfam15.h @@ -18,8 +18,12 @@ #define MCI_STATUS 0x00000401 #define MSR_SMM_BASE 0xC0010111 +#define MSR_TSEG_BASE 0xC0010112 #define MSR_SMM_MASK 0xC0010113 +# define SMM_TSEG_VALID (1 << 1) +# define SMM_TSEG_WB (6 << 12) #define HWCR_MSR 0xC0010015 +# define SMM_LOCK (1 << 0) #define NB_CFG_MSR 0xC001001f #define PSTATE_0_MSR 0xC0010064 |