|
L4Re - L4 Runtime Environment
|
Interface for kernel objects that allow to receive IPC from them. More...
Inheritance diagram for L4::Rcv_endpoint:
Collaboration diagram for L4::Rcv_endpoint:Public Member Functions | |
| l4_msgtag_t | bind_thread (Ipc::Opt< Ipc::Cap< Thread > > t, l4_umword_t label) |
| Bind a thread to an IPC receive endpoint. More... | |
Public Member Functions inherited from L4::Kobject | |
| l4_msgtag_t | dec_refcnt (l4_mword_t diff, l4_utcb_t *utcb=l4_utcb()) |
| Decrement the in kernel reference counter for the object. More... | |
Additional Inherited Members | |
Protected Types inherited from L4::Kobject_t< Rcv_endpoint, Kobject, L4_PROTO_KOBJECT, Type_info::Demand_t< 1 > > | |
| typedef Rcv_endpoint | Class |
| The target interface type (inheriting from Kobject_t) | |
| typedef Typeid::Iface< PROTO, Rcv_endpoint > | __Iface |
| The interface description for the derived class. | |
| typedef Typeid::Merge_list< Typeid::Iface_list< __Iface >, typename Kobject ::__Iface_list > | __Iface_list |
| The list of all RPC interfaces provided directly or through inheritance. | |
Protected Member Functions inherited from L4::Kobject_t< Rcv_endpoint, Kobject, L4_PROTO_KOBJECT, Type_info::Demand_t< 1 > > | |
| L4::Cap< Class > | c () const |
| Get the capability to ourselves. | |
Protected Member Functions inherited from L4::Kobject | |
| l4_cap_idx_t | cap () const throw () |
| Return capability selector. More... | |
Static Protected Member Functions inherited from L4::Kobject_t< Rcv_endpoint, Kobject, L4_PROTO_KOBJECT, Type_info::Demand_t< 1 > > | |
| static void | __check_protocols__ () |
| Helper to check for protocol conflicts. | |
Interface for kernel objects that allow to receive IPC from them.
Such an object is for example an Ipc_gate (with server rights) or an Irq_sender. Those objects allow to bind a thread that shall receive IPC from these object via bind_thread().
Definition at line 40 of file rcv_endpoint.
| l4_msgtag_t L4::Rcv_endpoint::bind_thread | ( | Ipc::Opt< Ipc::Cap< Thread > > | t, |
| l4_umword_t | label | ||
| ) |
Bind a thread to an IPC receive endpoint.
| t | Thread object that shall be bound to this receive endpoint. |
| label | Label to assign to this receive endpoint. The two least significant bits should usually be set to zero. |
| L4_EOK | Operation successful. |
| -L4_EINVAL | t is not a thread object or other arguments were malformed. |
| -L4_EPERM | t is missing L4_CAP_FPAGE_S right. |
Referenced by L4Re::Util::Event_buffer_consumer_t< PAYLOAD >::process().
Here is the caller graph for this function: