summaryrefslogtreecommitdiff
path: root/test/py/tests/test_fs/test_basic.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-03-15 14:25:42 +0000
committerTom Rini <trini@konsulko.com>2025-04-03 11:41:55 -0600
commit8bd563707d909d7bb414de2c0ff4ab66eb8009db (patch)
tree2c2c62b064691532cc3f4721072d7ff3ab04533e /test/py/tests/test_fs/test_basic.py
parent5ee60f3afa146e45752e1e99c382f18dd7f8200e (diff)
x86: Add functions to convert between mtrr size and mask
Rather than repeating the same code in several places, add some functions which can do the conversion. Use the cpu_phys_address_size() function to obtain the physical-address size, since it is more reliable with kvm, where the host CPU may have a different value from the emulation CPU. 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