mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-19 20:46:35 +00:00
Clarify the usage of ostd::arch
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
4baff8e17b
commit
3aa1079ca6
@ -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;
|
||||
|
@ -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};
|
||||
|
Reference in New Issue
Block a user