mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
de0bbc9fab
This simplifies the code that wants to access per-BAR properties like size and type; rather than recalculating it from PCI register contents, it can directly access the data that is already in the desired Rust types. BUG=None TEST=cargo test -p devices pci Change-Id: I073d39c605899053ad3497c4d0140432b343b793 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2308075 Reviewed-by: Tomasz Jeznach <tjeznach@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |