Barrelfish
Functions
memobj_pinned.c File Reference

memory object that only supports pinned memory. It does not track the frames that are mapped in so they cannot be unpinned. This can only be mapped into one vregion. More...

Functions

errval_t memobj_create_pinned (struct memobj_pinned *pinned, size_t size, memobj_flags_t flags)
 Initialize a memory object of type anon. More...
 

Detailed Description

memory object that only supports pinned memory. It does not track the frames that are mapped in so they cannot be unpinned. This can only be mapped into one vregion.

This memory region is used for meta data for some lists maintained by vspace and memobjs.

Function Documentation

errval_t memobj_create_pinned ( struct memobj_pinned *  pinned,
size_t  size,
memobj_flags_t  flags 
)

Initialize a memory object of type anon.

Parameters
memobjThe memory object
sizeSize of the memory region
flagsMemory object specific flags

This object handles multiple frames. The frames are mapped in on demand.