summary refs log tree commit diff
path: root/devices/src/lib.rs
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2018-05-24 19:45:09 +0000
committerchrome-bot <chrome-bot@chromium.org>2018-07-19 20:12:56 -0700
commit86fdb1dc50c62682ee20794a922be402bbe748a5 (patch)
tree6cf66500fea6457105f7a4d609f90e57f74288dd /devices/src/lib.rs
parent836466aeaddf348b2c7721b3fa56b5c5628d400a (diff)
downloadcrosvm-86fdb1dc50c62682ee20794a922be402bbe748a5.tar
crosvm-86fdb1dc50c62682ee20794a922be402bbe748a5.tar.gz
crosvm-86fdb1dc50c62682ee20794a922be402bbe748a5.tar.bz2
crosvm-86fdb1dc50c62682ee20794a922be402bbe748a5.tar.lz
crosvm-86fdb1dc50c62682ee20794a922be402bbe748a5.tar.xz
crosvm-86fdb1dc50c62682ee20794a922be402bbe748a5.tar.zst
crosvm-86fdb1dc50c62682ee20794a922be402bbe748a5.zip
devices: pci - Add a PCI root bridge
`PciRoot` represents the root PCI bridge for the system and manages PCI
devices attached to it. The root bridge has its own set of configuration
registers.

Change-Id: I2b15630cf5a0fc5938e66986a65782c6939fcf55
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1072577
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Diffstat (limited to 'devices/src/lib.rs')
-rw-r--r--devices/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/devices/src/lib.rs b/devices/src/lib.rs
index 3726a88..eaf6b4e 100644
--- a/devices/src/lib.rs
+++ b/devices/src/lib.rs
@@ -30,7 +30,8 @@ pub use self::bus::{Bus, BusDevice, BusRange};
 pub use self::cmos::Cmos;
 pub use self::pl030::Pl030;
 pub use self::i8042::I8042Device;
-pub use self::pci::{PciDevice, PciInterruptPin};
+pub use self::pci::{PciDevice, PciDeviceList, PciInterruptPin, PciRoot};
+pub use self::pci::PciRootError as PciRootError;
 pub use self::proxy::ProxyDevice;
 pub use self::proxy::Error as ProxyError;
 pub use self::serial::Serial;