Rename aster-frame to ostd

This commit is contained in:
Jianfeng Jiang
2024-06-19 08:18:39 +00:00
committed by Tate, Hongliang Tian
parent fb59fa7a55
commit 59350a8578
300 changed files with 425 additions and 427 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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,