diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2020-10-28 19:30:36 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-10 06:18:05 +0000 |
commit | eaaa549e4a176637198f50570b81ecd3a7cf9549 (patch) | |
tree | 0426227440ee1001999b18c612aad5f462b17d4d /src/cpu | |
parent | 94fe086a067ad635246f40a339748182ef7b943e (diff) |
cpu/x86/mtrr.h: Rename CORE2 alternative SMRR registers
It is too easy to confuse those with IA32_SMRR_PHYS_x registers.
Change-Id: Ice02ab6c0315a2be14ef110ede506262e3c0a4d5
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46896
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/intel/smm/gen1/smmrelocate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/intel/smm/gen1/smmrelocate.c b/src/cpu/intel/smm/gen1/smmrelocate.c index ae2440daab..36884a1b1c 100644 --- a/src/cpu/intel/smm/gen1/smmrelocate.c +++ b/src/cpu/intel/smm/gen1/smmrelocate.c @@ -59,8 +59,8 @@ static void write_smrr_alt(struct smm_relocation_params *relo_params) printk(BIOS_DEBUG, "Writing SMRR. base = 0x%08x, mask=0x%08x\n", relo_params->smrr_base.lo, relo_params->smrr_mask.lo); - wrmsr(MSR_SMRR_PHYS_BASE, relo_params->smrr_base); - wrmsr(MSR_SMRR_PHYS_MASK, relo_params->smrr_mask); + wrmsr(CORE2_SMRR_PHYS_BASE, relo_params->smrr_base); + wrmsr(CORE2_SMRR_PHYS_MASK, relo_params->smrr_mask); } static void fill_in_relocation_params(struct smm_relocation_params *params) |