Skip to content

Commit

Permalink
feat(virtio-spec): make volatile module public
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
  • Loading branch information
mkroening committed May 29, 2024
1 parent c51ca8c commit 23ed526
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions virtio-spec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
#[macro_use]
mod bitflags;
#[macro_use]
mod volatile;
pub mod volatile;
mod features;
pub mod net;
pub mod pci;

pub use endian_num::{be128, be16, be32, be64, le128, le16, le32, le64};

pub use self::features::{FeatureBits, F};
pub use self::volatile::WideVolatilePtr;

pub mod fs {
//! File System Device
Expand Down
3 changes: 2 additions & 1 deletion virtio-spec/src/pci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
use volatile::access::{ReadOnly, ReadWrite, RestrictAccess};
use volatile::{VolatileFieldAccess, VolatilePtr};

use crate::{le16, le32, DeviceStatus, WideVolatilePtr};
use crate::volatile::WideVolatilePtr;
use crate::{le16, le32, DeviceStatus};

/// Common configuration structure
///
Expand Down

0 comments on commit 23ed526

Please sign in to comment.