crosvm/devices
Daniel Verkamp b2d6ffac5e devices: pci: ignore writable_bits when adding caps
The add_capability() function was using the normal PCI configuration
write_byte() function, which enforces read-only regions.  This won't
work once the appropriate regions of config space are marked as read
only in the following commit, so add an internal-only helper function to
access bytes without applying writable_bits.

Change-Id: If61f79cd80950bf517d69c18aaf98c2e76841a56
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1240658
Reviewed-by: Dylan Reid <dgreid@chromium.org>
2018-10-01 11:30:02 -07:00
..
src devices: pci: ignore writable_bits when adding caps 2018-10-01 11:30:02 -07:00
Cargo.toml virtio: Implement the 9P device 2018-08-08 13:45:44 -07:00