pub fn new(pages: usize) -> Arc<Self> {
        VMObjectPaged::wrap(
            VMObjectPagedInner {
                owner: new_owner_id(),
                type_: VMOType::Origin,
                parent: None,
                parent_offset: 0usize,
                parent_limit: 0usize,
                size: pages * PAGE_SIZE,
                frames: HashMap::new(),
                mappings: Vec::new(),
                cache_policy: CachePolicy::Cached,
                contiguous: false,
                self_ref: Default::default(),
                pin_count: 0,
            },
            None,
        )
    }
/// Create a new VMO backing on physical memory allocated in pages.
Create a new VMO backing on physical memory allocated in pages.
Create a new VMO backing on physical memory allocated in pages .
pub fn new(pages: usize) -> Arc<Self> {
        VMObjectPaged::wrap(
            VMObjectPagedInner {
                owner: new_owner_id(),
                type_: VMOType::Origin,
                parent: None,
                parent_offset: 0usize,
                parent_limit: 0usize,
                size: pages * PAGE_SIZE,
                frames: HashMap::new(),
                mappings: Vec::new(),
                cache_policy: CachePolicy::Cached,
                contiguous: false,
                self_ref: Default::default(),
                pin_count: 0,
            },
            None,
        )
    }
pub fn new ( pages : usize ) -> Arc < Self > { VMObjectPaged :: wrap ( VMObjectPagedInner { owner : new_owner_id ( ) , type_ : VMOType :: Origin , parent : None , parent_offset : 0usize , parent_limit : 0usize , size : pages * PAGE_SIZE , frames : HashMap :: new ( ) , mappings : Vec :: new ( ) , cache_policy : CachePolicy :: Cached , contiguous : false , self_ref : Default :: default ( ) , pin_count : 0 , } , None , ) }
Create a new VMO backing on physical memory allocated in pages.
Create a new VMO backing on physical memory allocated in pages .
pages
usize
pages
usize