mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
a475cd4754
Rather than calling get_high_mmio_base_size() twice, once in the Arch create_system_allocator() callback and once in build_vm(), it would be cleaner to retrieve the MMIO regions from the existing system allocator. Add a couple of helper functions to AddressAllocator so we can get the original region back. This also helps in the next patch, which will pass additional information to get_high_mmio_base_size() that is messy to calculate twice. BUG=b:210727578 TEST=Boot crosvm on trogdor64 Change-Id: Ia5c7d7c7ff7edb406a9b4af482b277204f865474 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3373450 Reviewed-by: Dmitry Torokhov <dtor@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |