diff options
author | Dylan Reid <dgreid@chromium.org> | 2018-05-24 19:45:09 +0000 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-19 20:12:56 -0700 |
commit | 86fdb1dc50c62682ee20794a922be402bbe748a5 (patch) | |
tree | 6cf66500fea6457105f7a4d609f90e57f74288dd /devices/src/pci/mod.rs | |
parent | 836466aeaddf348b2c7721b3fa56b5c5628d400a (diff) | |
download | crosvm-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/pci/mod.rs')
-rw-r--r-- | devices/src/pci/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devices/src/pci/mod.rs b/devices/src/pci/mod.rs index afcad2c..f5e5d1f 100644 --- a/devices/src/pci/mod.rs +++ b/devices/src/pci/mod.rs @@ -6,8 +6,11 @@ mod pci_configuration; mod pci_device; +mod pci_root; pub use self::pci_device::PciDevice; +pub use self::pci_root::Error as PciRootError; +pub use self::pci_root::{PciDeviceList, PciRoot}; /// PCI has four interrupt pins A->D. #[derive(Copy, Clone)] |