L4Re - L4 Runtime Environment
L4::Basic_registry Class Reference

This registry returns the corresponding server object based on the label of an Ipc_gate. More...

+ Inheritance diagram for L4::Basic_registry:
+ Collaboration diagram for L4::Basic_registry:

Static Public Member Functions

static Value * find (l4_umword_t label)
 Get the server object for an Ipc_gate label. More...
 
static l4_msgtag_t dispatch (l4_msgtag_t tag, l4_umword_t label, l4_utcb_t *utcb)
 The dispatch function called by the server loop. More...
 

Detailed Description

This registry returns the corresponding server object based on the label of an Ipc_gate.

Definition at line 509 of file ipc_epiface.

Member Function Documentation

◆ dispatch()

static l4_msgtag_t L4::Basic_registry::dispatch ( l4_msgtag_t  tag,
l4_umword_t  label,
l4_utcb_t utcb 
)
inlinestatic

The dispatch function called by the server loop.

This function forwards the message to the server object identified by the given label.

Parameters
tagThe message tag used for the invocation.
labelThe label used to find the object including the rights bits of the invoked capability.
utcbThe UTCB used for the invocation.
Returns
The return code from the object's dispatch function or -L4_ENOENT if the object does not exist.

Definition at line 534 of file ipc_epiface.

◆ find()

static Value* L4::Basic_registry::find ( l4_umword_t  label)
inlinestatic

Get the server object for an Ipc_gate label.

Parameters
labelThe label usually stored in an Ipc_gate.
Returns
A pointer to the Epiface identified by the given label.

Definition at line 518 of file ipc_epiface.


The documentation for this class was generated from the following file: