Barrelfish
|
Low-level capability invocations. More...
Functions | |
STATIC_ASSERT (ObjType_Num< 0xFFFF,"retype invocation argument packing does not truncate enum objtype") | |
Retype (part of) a capability. More... | |
Low-level capability invocations.
STATIC_ASSERT | ( | ) |
Retype (part of) a capability.
Retypes (part of) CPtr 'cap' into 'objsize'd caps of type 'newtype' and places them into slots starting at slot 'slot' in the CNode, addressed by 'to', with 'bits' address bits of 'to' valid.
See also cap_retype(), which wraps this.
root | Capability of the Root CNode to invoke |
cap | Address of cap to retype. |
offset | Offset into cap to retype |
newtype | Kernel object type to retype to. |
objsize | Size of created objects, for variable-sized types |
count | Number of objects to create |
to | Address of CNode cap to place retyped caps into. |
slot | Slot in CNode cap to start placement. |
bits | Number of valid address bits in 'to'. |