#include <sservice.h>
Public Member Functions |
virtual cap_sel | alloc_cap (unsigned count=1)=0 |
virtual void | dealloc_cap (cap_sel c)=0 |
virtual cap_sel | create_ec4pt (phy_cpu_no cpu, Utcb **utcb_out, cap_sel ec=~0u)=0 |
unsigned | alloc_crd () |
bool | register_service (const char *service_name, Hip &hip=Global::hip) |
| Registers the service with parent.
|
unsigned | open_session (Utcb &utcb, cap_sel pseudonym, bool &free_cap) |
unsigned | close_session (Utcb &utcb, cap_sel session_id) |
unsigned | handle_session (Utcb &utcb, cap_sel session_id, unsigned op, Utcb::Frame &input, bool &free_cap) |
Member Typedef Documentation
template<class Session, class A>
Member Function Documentation
template<class Session, class A>
template<class Session, class A>
template<class Session, class A>
template<class Session, class A>
template<class Session, class A>
template<class Session, class A>
template<class Session, class A>
virtual unsigned BaseSService< Session, A >::handle_request |
( |
Session * |
session, |
|
|
unsigned |
op, |
|
|
Utcb::Frame & |
input, |
|
|
Utcb & |
utcb, |
|
|
bool & |
free_cap |
|
) |
| |
|
protectedpure virtual |
template<class Session, class A>
template<class Session, class A>
virtual unsigned BaseSService< Session, A >::new_session |
( |
Session * |
session | ) |
|
|
protectedpure virtual |
template<class Session, class A>
template<class Session, class A>
bool BaseSService< Session, A >::register_service |
( |
const char * |
service_name, |
|
|
Hip & |
hip = Global::hip |
|
) |
| |
|
inline |
Registers the service with parent.
- Parameters
-
service_name | Service name to register |
hip | Specifies on which CPUs to start the service. |
- Returns
- true in case of success, false otherwise.
Member Data Documentation
template<class Session, class A>
template<class Session, class A>
template<class Session, class A>
The documentation for this class was generated from the following file: