Clarify the usage of ostd::arch

This commit is contained in:
Zejun Zhao
2025-04-06 20:29:34 +08:00
committed by Tate, Hongliang Tian
parent 4baff8e17b
commit 3aa1079ca6
18 changed files with 24 additions and 37 deletions

View File

@ -2,7 +2,7 @@
use core::sync::atomic::{AtomicU8, Ordering::Relaxed};
use ostd::arch::x86::device::cmos::{century_register, CMOS_ADDRESS, CMOS_DATA};
use ostd::arch::device::cmos::{century_register, CMOS_ADDRESS, CMOS_DATA};
use crate::SystemTime;
use super::Driver;

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MPL-2.0
use ostd::{arch::riscv::timer::GOLDFISH_IO_MEM, mm::VmIoOnce};
use ostd::{arch::timer::GOLDFISH_IO_MEM, mm::VmIoOnce};
use chrono::{DateTime, Datelike, Timelike};
use crate::{SystemTime, rtc::Driver};