diff options
| author | Tianhao Wang <wth@riseup.net> | 2024-02-01 17:04:23 +0100 |
|---|---|---|
| committer | Tianhao Wang <shrik3@mailbox.org> | 2024-06-11 15:13:37 +0200 |
| commit | 16ff930f94a1c5cfa4a98a42a96c9b230024286b (patch) | |
| tree | 3bff5b41d787cef7c01f502871a358849d209ebd /src/machine/cgascr.rs | |
| parent | 5c820128d39a2e8e37baa03f57a216aa7300232d (diff) | |
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.
Diffstat (limited to 'src/machine/cgascr.rs')
| -rw-r--r-- | src/machine/cgascr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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}; |
