summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Scull <[email protected]>2022-04-21 16:11:08 +0000
committerTom Rini <[email protected]>2022-05-03 15:50:45 -0400
commit398dc367c53dcff4f61116a3de66ba4e4e6b8586 (patch)
tree3224eda3a6f0c361a5c504de5ec0ed309170c091 /test
parentec8eba8c2d4e10e77699c56918d2078210aa1339 (diff)
pci: Range check address conversions
When converting between PCI bus and physical addresses, include a length parameter that can be used to check that the entire range fits within one of the PCI regions. This prevents an address being returned that might be only partially valid for the range it is going to be used for. Where the range check is not wanted, passing a length of 0 will have the same behaviour as before this change. Signed-off-by: Andrew Scull <[email protected]> Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions