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
@@ -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.
///