mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 11:53:24 +00:00
Lock-free cursor creation
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
0ef55a396f
commit
b2b00bdfd2
@ -176,7 +176,7 @@ where
|
||||
/// The caller must ensure that the physical address is valid and points to
|
||||
/// a forgotten page table node. A forgotten page table node can only be
|
||||
/// restored once. The level must match the level of the page table node.
|
||||
unsafe fn from_raw_parts(paddr: Paddr, level: PagingLevel) -> Self {
|
||||
pub(super) unsafe fn from_raw_parts(paddr: Paddr, level: PagingLevel) -> Self {
|
||||
Self {
|
||||
raw: paddr,
|
||||
level,
|
||||
|
Reference in New Issue
Block a user