2019-05-08 10:22:53 +00:00
|
|
|
// Copyright © 2019 Intel Corporation
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2019-04-18 17:32:41 +00:00
|
|
|
|
2019-09-11 16:07:33 +00:00
|
|
|
#[cfg(feature = "pci_support")]
|
2019-04-18 17:32:41 +00:00
|
|
|
mod pci_common_config;
|
2019-09-11 16:07:33 +00:00
|
|
|
#[cfg(feature = "pci_support")]
|
2019-04-18 17:32:41 +00:00
|
|
|
mod pci_device;
|
2019-09-11 16:07:33 +00:00
|
|
|
#[cfg(feature = "pci_support")]
|
2019-04-18 17:32:41 +00:00
|
|
|
pub use pci_common_config::VirtioPciCommonConfig;
|
2019-09-11 16:07:33 +00:00
|
|
|
#[cfg(feature = "pci_support")]
|
2019-04-18 17:32:41 +00:00
|
|
|
pub use pci_device::VirtioPciDevice;
|
2019-09-11 16:20:12 +00:00
|
|
|
|
|
|
|
#[cfg(feature = "mmio_support")]
|
|
|
|
mod mmio;
|
|
|
|
#[cfg(feature = "mmio_support")]
|
|
|
|
pub use mmio::MmioDevice;
|
|
|
|
#[cfg(feature = "mmio_support")]
|
|
|
|
pub const NOTIFY_REG_OFFSET: u32 = 0x50;
|