From 16ff930f94a1c5cfa4a98a42a96c9b230024286b Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Thu, 1 Feb 2024 17:04:23 +0100 Subject: make device_io a arch independent interface. In arm we will be using MMIO instead of the IO instructions. However the peripherals should use the same interface for IOs. --- src/machine/cgascr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/machine/cgascr.rs') diff --git a/src/machine/cgascr.rs b/src/machine/cgascr.rs index 0983b66..634373c 100644 --- a/src/machine/cgascr.rs +++ b/src/machine/cgascr.rs @@ -1,4 +1,4 @@ -use crate::arch::x86_64::io_port::*; +use crate::machine::device_io::*; use crate::arch::x86_64::misc::*; use core::{fmt, ptr, slice, str}; -- cgit v1.2.3-70-g09d2