mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +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,11 @@
|
||||
//! Block device based on Virtio
|
||||
|
||||
use jinux_frame::sync::Mutex;
|
||||
use jinux_frame::{io_mem::IoMem, trap::TrapFrame};
|
||||
use jinux_pci::msix::MSIX;
|
||||
use jinux_util::safe_ptr::SafePtr;
|
||||
use jinux_virtio::{device::block::device::BLKDevice, PCIVirtioDevice, VirtioPciCommonCfg};
|
||||
use log::debug;
|
||||
use spin::Mutex;
|
||||
|
||||
use crate::{BlockDevice, BLK_COMPONENT};
|
||||
|
||||
|
Reference in New Issue
Block a user