mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 08:26:30 +00:00
Use Mutex and RwLock in jinux-frame for jinux-std
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
df7bd65e70
commit
6d101c5b6d
@ -1,11 +1,10 @@
|
||||
use core::sync::atomic::AtomicU8;
|
||||
use core::sync::atomic::Ordering::Relaxed;
|
||||
|
||||
use spin::Mutex;
|
||||
|
||||
use crate::SystemTime;
|
||||
|
||||
use jinux_frame::arch::x86::device::cmos::{get_century, CMOS_ADDRESS, CMOS_DATA};
|
||||
use jinux_frame::sync::Mutex;
|
||||
|
||||
pub(crate) static CENTURY_REGISTER: AtomicU8 = AtomicU8::new(0);
|
||||
|
||||
|
Reference in New Issue
Block a user