diff options
author | Dylan Reid <dgreid@chromium.org> | 2018-07-09 15:39:34 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-01 11:29:59 -0700 |
commit | 0f579cb09c7a2e9cf176c2a689a51ba440398957 (patch) | |
tree | 275757e7698882b426e7a005933953b80783e28e /devices/src/lib.rs | |
parent | b605850bce94e476539a0843cae2092d91daff5a (diff) | |
download | crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.gz crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.bz2 crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.lz crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.xz crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.zst crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.zip |
move pci root creation to arch
passing everything in to the pci code is getting annoying. Instead build it up in arch which already has access to all the needed resources. Change-Id: If42f994443c4f11152fca8da16f27fa4cd80580d Reviewed-on: https://chromium-review.googlesource.com/1237357 Commit-Ready: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'devices/src/lib.rs')
-rw-r--r-- | devices/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/src/lib.rs b/devices/src/lib.rs index 1478849..46664fc 100644 --- a/devices/src/lib.rs +++ b/devices/src/lib.rs @@ -28,11 +28,11 @@ pub mod pl030; pub mod virtio; pub use self::bus::{Bus, BusDevice, BusRange}; +pub use self::bus::Error as BusError; pub use self::cmos::Cmos; pub use self::pl030::Pl030; pub use self::i8042::I8042Device; -pub use self::pci::{PciDevice, PciDeviceList, PciInterruptPin, PciRoot}; -pub use self::pci::PciRootError as PciRootError; +pub use self::pci::{PciDevice, PciDeviceError, PciInterruptPin, PciRoot}; pub use self::proxy::ProxyDevice; pub use self::proxy::Error as ProxyError; pub use self::serial::Serial; |