pub fn new_contiguous(pages: usize, align_log2: usize) -> ZxResult<Arc<Self>> {
        let vmo = Arc::new(VmObject {
            base: KObjectBase::with_signal(Signal::VMO_ZERO_CHILDREN),
            resizable: false,
            _counter: CountHelper::new(),
            trait_: VMObjectPaged::new_contiguous(pages, align_log2)?,
            inner: Mutex::new(VmObjectInner::default()),
        });
        Ok(vmo)
    }
/// Create a VM object referring to a specific contiguous range of physical frame.  
Create a VM object referring to a specific contiguous range of physical frame.
Create a VM object referring to a specific contiguous range of physical frame .
pub fn new_contiguous(pages: usize, align_log2: usize) -> ZxResult<Arc<Self>> {
        let vmo = Arc::new(VmObject {
            base: KObjectBase::with_signal(Signal::VMO_ZERO_CHILDREN),
            resizable: false,
            _counter: CountHelper::new(),
            trait_: VMObjectPaged::new_contiguous(pages, align_log2)?,
            inner: Mutex::new(VmObjectInner::default()),
        });
        Ok(vmo)
    }
pub fn new_contiguous ( pages : usize , align_log2 : usize ) -> ZxResult < Arc < Self > > { let vmo = Arc :: new ( VmObject { base : KObjectBase :: with_signal ( Signal :: VMO_ZERO_CHILDREN ) , resizable : false , _counter : CountHelper :: new ( ) , trait_ : VMObjectPaged :: new_contiguous ( pages , align_log2 ) ? , inner : Mutex :: new ( VmObjectInner :: default ( ) ) , } ) ; Ok ( vmo ) }
Create a VM object referring to a specific contiguous range of physical frame.
Create a VM object referring to a specific contiguous range of physical frame .
pages
usize
align_log2
usize
pages
usize
align_log2
usize