diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-09-19 18:06:00 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-09-20 18:18:01 +0000 |
commit | 8d8ed454dbc284bedb6a7bb7dfa7b2ade166b23c (patch) | |
tree | b2a34fe65b7d436515123a41039a5befa39e0780 /src/cpu/x86/pae | |
parent | 45343719c1be8e557156c8636f4baef3215cd133 (diff) |
cpu/x86/mtrr/debug: use MTRR_PHYS_MASK
Instead adding 1 to the result of MTRR_PHYS_BASE(index) to get the
variable MTRR's mask MSR number, use the MTRR_PHYS_MASK macro.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ieecc57feb25afa83f3a53384e5a286f2e4e82093
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78006
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/cpu/x86/pae')
0 files changed, 0 insertions, 0 deletions