Switch to common::dma::Dma in ided.
This commit is contained in:
@@ -5,6 +5,7 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
block-io-wrapper = { path = "../block-io-wrapper" }
|
||||
common = { path = "../common" }
|
||||
log = "0.4"
|
||||
partitionlib = { git = "https://gitlab.redox-os.org/redox-os/partitionlib.git" }
|
||||
pcid = { path = "../pcid" }
|
||||
|
||||
+4
-1
@@ -4,11 +4,14 @@ use std::{
|
||||
thread,
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
|
||||
use syscall::{
|
||||
error::{Error, Result, EIO},
|
||||
io::{Dma, Io, Pio, PhysBox, ReadOnly, WriteOnly},
|
||||
io::{Io, Pio, ReadOnly, WriteOnly},
|
||||
};
|
||||
|
||||
use common::dma::{Dma, PhysBox};
|
||||
|
||||
static TIMEOUT: Duration = Duration::new(1, 0);
|
||||
|
||||
#[repr(u8)]
|
||||
|
||||
Reference in New Issue
Block a user