mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13:23 +00:00
DFS lock protocol for the page table
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
d4afe3a035
commit
d873e121ff
@ -9,6 +9,7 @@ use super::{
|
||||
use crate::{mm::Paddr, sync::non_null::NonNullPtr};
|
||||
|
||||
/// A struct that can work as `&'a Frame<M>`.
|
||||
#[derive(Debug)]
|
||||
pub struct FrameRef<'a, M: AnyFrameMeta + ?Sized> {
|
||||
inner: ManuallyDrop<Frame<M>>,
|
||||
_marker: PhantomData<&'a Frame<M>>,
|
||||
|
Reference in New Issue
Block a user