Expand description
Interface for objects and object handles.
Structs§
- Create
TieFlags - Flags controlling how a particular object tie operates.
- Create
TieSpec - A specification of ties to create. (see the book for more information on ties).
- FotEntry
- FotFlags
- MapFlags
- Flags for mapping objects.
- MetaExt
- A meta extension entry.
- Meta
ExtTag - A tag for a meta extension entry.
- Meta
Flags - Flags for objects.
- Meta
Info - The core metadata that all objects share.
- Nonce
- A nonce for avoiding object ID collision.
- ObjID
- An object ID.
- Object
Create - Full object creation specification, minus ties.
- Object
Create Flags - Flags to pass to the object create system call.
- Object
Handle - An object handle, granting access to object memory. An object handle can be in two modes:
- Object
Source - Specifications for an object-copy from a source object. The specified ranges are
source:[src_start, src_start + len) copied to
<some unspecified destination object>:[dest_start, dest_start + len). Each range must start within an object, and end within the object. - Protections
- Mapping protections for mapping objects into the address space.
Enums§
- Backing
Type - The backing memory type for this object. Currently doesn’t do anything.
- Lifetime
Type - The base lifetime type of the object. Note that this does not ensure that the object is stored in a specific type of memory, the kernel is allowed to migrate objects with the Normal BackingType as it sees fit. For more information on object lifetime, see the book.
- Object
Cmd
Constants§
- MAX_
SIZE - The maximum size of an object, including null page and meta page(s).
- MEXT_
EMPTY - MEXT_
SIZED - NULLPAGE_
SIZE - The size of the null page.
Functions§
- twz_
rt_ get_ object_ handle - twz_
rt_ insert_ fot - twz_
rt_ map_ object - Map an object given by ID
idwith the given flags. - twz_
rt_ map_ two_ objects Deprecated - twz_
rt_ release_ handle - Release a handle. Should be only called by the ObjectHandle drop call.
- twz_
rt_ resolve_ fot - twz_
rt_ resolve_ fot_ local - twz_
rt_ update_ handle - Update a handle.