diff options
author | Daniel Verkamp <dverkamp@chromium.org> | 2019-11-15 11:25:09 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-23 20:11:06 +0000 |
commit | e43d300aef5fa4cc6eaf8539580acce1e2990a98 (patch) | |
tree | 387312e1e39a916746b5f2c48b4f570948ad203e /sys_util/src/lib.rs | |
parent | 42bff13009bfa0361ad1572997aba5f457cf38f3 (diff) | |
download | crosvm-e43d300aef5fa4cc6eaf8539580acce1e2990a98.tar crosvm-e43d300aef5fa4cc6eaf8539580acce1e2990a98.tar.gz crosvm-e43d300aef5fa4cc6eaf8539580acce1e2990a98.tar.bz2 crosvm-e43d300aef5fa4cc6eaf8539580acce1e2990a98.tar.lz crosvm-e43d300aef5fa4cc6eaf8539580acce1e2990a98.tar.xz crosvm-e43d300aef5fa4cc6eaf8539580acce1e2990a98.tar.zst crosvm-e43d300aef5fa4cc6eaf8539580acce1e2990a98.zip |
devices: xhci: use get_bar_addr() to find BAR 0
Don't store the BAR value, as it can potentially be updated by the guest. (This is not supported by our PCI device model just yet, but this is still the correct thing to do and matches other crosvm PCI devices.) BUG=None TEST=Add USB device on nami Change-Id: Ie42d08429e7ff124178c818877b4cee83003d66f Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1924782 Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'sys_util/src/lib.rs')
0 files changed, 0 insertions, 0 deletions