diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-04-11 18:58:09 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-06-01 09:48:37 +0000 |
commit | 4ed22601369d074425a43d2077ff84ab4b328d51 (patch) | |
tree | 886d490b87d436c76f67765ebe63948f0bde870a /src/include/cpu/x86/mtrr.h | |
parent | d99a311a8a2517672395498a67d6b870a8f172b8 (diff) |
cpu/x86/mtrr: Allow for multiple TEMP MTRR ranges
Temporary MTRR setup usually covers the memory mapped flash. On recent
Intel hardware the mapping is not coherent. It uses an external window
for parts of the BIOS region that exceed 16M.
This now allows up to 10 temporary memory ranges.
TESTED: Qemu with multiple MTRR temporary MTRR ranges sets up a valid
and optimized temporary MTRR solution.
Change-Id: I23442bd2ab7602e4c5cbd37d187a31413cf27ecc
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63555
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/include/cpu/x86/mtrr.h')
0 files changed, 0 insertions, 0 deletions