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:
Kamil Koczurek
2024-09-27 23:31:03 +02:00
parent ea5ccbc84d
commit d2c82add9d
50 changed files with 421 additions and 59 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
use log::{debug, error, info, trace};
use syscall::io::{Io, Pio, ReadOnly, WriteOnly};
use common::io::{Io, Pio, ReadOnly, WriteOnly};
use std::fmt;