pub fn new_physical(paddr: PhysAddr, pages: usize) -> Arc<Self> {
        Arc::new(VmObject {
            base: KObjectBase::with_signal(Signal::VMO_ZERO_CHILDREN),
            resizable: false,
            _counter: CountHelper::new(),
            trait_: VMObjectPhysical::new(paddr, pages),
            inner: Mutex::new(VmObjectInner::default()),
        })
    }
/// Create a new VMO representing a piece of contiguous physical memory.
Create a new VMO representing a piece of contiguous physical memory.
Create a new VMO representing a piece of contiguous physical memory .
pub fn new_physical(paddr: PhysAddr, pages: usize) -> Arc<Self> {
        Arc::new(VmObject {
            base: KObjectBase::with_signal(Signal::VMO_ZERO_CHILDREN),
            resizable: false,
            _counter: CountHelper::new(),
            trait_: VMObjectPhysical::new(paddr, pages),
            inner: Mutex::new(VmObjectInner::default()),
        })
    }
pub fn new_physical ( paddr : PhysAddr , pages : usize ) -> Arc < Self > { Arc :: new ( VmObject { base : KObjectBase :: with_signal ( Signal :: VMO_ZERO_CHILDREN ) , resizable : false , _counter : CountHelper :: new ( ) , trait_ : VMObjectPhysical :: new ( paddr , pages ) , inner : Mutex :: new ( VmObjectInner :: default ( ) ) , } ) }
Create a new VMO representing a piece of contiguous physical memory.
Create a new VMO representing a piece of contiguous physical memory .
paddr
PhysAddr
pages
usize
paddr
PhysAddr
pages
usize