diff options
author | Simon Glass <sjg@chromium.org> | 2025-03-15 14:25:46 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-03 11:41:55 -0600 |
commit | 66c9ade35b520510856511ed388aee138c5eb388 (patch) | |
tree | 1698498e4d017dfcc631c3175bc2e40bb429707d /test/py/tests/test_fs/test_basic.py | |
parent | a9d106421d48776569fe144c3431739e0fe81b65 (diff) |
x86: Allow adding non-aligned size for MTRR
At present mtrr_add_request() requires that the size is a power of two.
This is too limiting for machines with 4GB (or more) of RAM, since they
often must take account of a memory hole at 3GB.
Update the function to automatically deal with an unaligned size, using
more MTRRs as required.
The algorithm is taken from coreboot commit 60bce10750
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/tests/test_fs/test_basic.py')
0 files changed, 0 insertions, 0 deletions