mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 18:03:25 +00:00
Rename aster-frame to ostd
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
fb59fa7a55
commit
59350a8578
@ -13,8 +13,8 @@
|
||||
use alloc::sync::Arc;
|
||||
use core::{cmp::max, ops::Add, time::Duration};
|
||||
|
||||
use aster_frame::sync::RwLock;
|
||||
use aster_util::coeff::Coeff;
|
||||
use ostd::sync::RwLock;
|
||||
|
||||
use crate::NANOS_PER_SECOND;
|
||||
|
||||
|
@ -9,10 +9,10 @@ extern crate alloc;
|
||||
use alloc::sync::Arc;
|
||||
use core::{sync::atomic::Ordering::Relaxed, time::Duration};
|
||||
|
||||
use aster_frame::sync::Mutex;
|
||||
use clocksource::ClockSource;
|
||||
pub use clocksource::Instant;
|
||||
use component::{init_component, ComponentInitError};
|
||||
use ostd::sync::Mutex;
|
||||
use rtc::{get_cmos, is_updating, CENTURY_REGISTER};
|
||||
use spin::Once;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use core::sync::atomic::{AtomicU8, Ordering::Relaxed};
|
||||
|
||||
use aster_frame::arch::x86::device::cmos::{get_century_register, CMOS_ADDRESS, CMOS_DATA};
|
||||
use ostd::arch::x86::device::cmos::{get_century_register, CMOS_ADDRESS, CMOS_DATA};
|
||||
|
||||
pub(crate) static CENTURY_REGISTER: AtomicU8 = AtomicU8::new(0);
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
use alloc::sync::Arc;
|
||||
use core::sync::atomic::{AtomicU64, Ordering};
|
||||
|
||||
use aster_frame::arch::{
|
||||
use ostd::arch::{
|
||||
read_tsc,
|
||||
timer::{self, TIMER_FREQ},
|
||||
x86::tsc_freq,
|
||||
|
Reference in New Issue
Block a user