Move Io/Pio/Mmio from redox_syscall to common
* Fix Mmio repr from transparent to packed. * Rename Mmio::from to Mmio::new. * Remove dead imports around affected code. * Minor formatting.
This commit is contained in:
@@ -3,7 +3,7 @@ use std::fmt;
|
||||
use crate::driver_interface::PciBar;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use syscall::{Io, Mmio};
|
||||
use common::io::{Io, Mmio};
|
||||
|
||||
/// The address and data to use for MSI and MSI-X.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user