summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/ffi.cpp
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-07-09 18:20:47 -0700
committerMark Rowe <mark@vector35.com>2025-07-10 16:13:22 -0700
commita2ccfa22aa3f04484cba5dd8e58aeda51d518287 (patch)
treebb800fccf3da77be1fd88627c74eac0cb6d6a3e6 /view/sharedcache/core/ffi.cpp
parentebac408aec4bbeab7db3d6336520f5ea2a033a2c (diff)
[DSC] Fix GetRegionAt / optimize GetRegionContaining
`GetRegionAt` was really providing the semantics of `GetRegionContaining` due to `m_regions` being an `AddressRangeMap` and using transparent comparators to allow `find` to work with any address in the range. `GetRegionAt` is updated to verify that the start address of the region that was found matches the requested address. `GetRegionContaining` is updated to use `AddressRangeMap::find` rather than doing a linear search over all regions.
Diffstat (limited to 'view/sharedcache/core/ffi.cpp')
0 files changed, 0 insertions, 0 deletions