Switch to common::dma::Dma in ided.

This commit is contained in:
4lDO2
2023-07-18 13:48:38 +02:00
parent e4374ac60d
commit 44bbb302cf
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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)]