NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
XlateSService< Session, A > Class Template Reference

Service that uses semaphores as identifiers for sessions. More...

#include <sservice.h>

Inheritance diagram for XlateSService< Session, A >:
BaseSService< Session, A >

Public Member Functions

unsigned get_crdt ()
unsigned portal_func (Utcb &utcb, Utcb::Frame &input, bool &free_cap, cap_sel pid)
- Public Member Functions inherited from BaseSService< Session, A >
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)

Private Types

typedef BaseSService< Session, A > Base

Additional Inherited Members

- Protected Types inherited from BaseSService< Session, A >
typedef ClientDataStorage
< Session, A > 
Sessions
- Protected Member Functions inherited from BaseSService< Session, A >
virtual unsigned new_session (Session *session)=0
virtual unsigned handle_request (Session *session, unsigned op, Utcb::Frame &input, Utcb &utcb, bool &free_cap)=0
mword get_portal_func_addr ()
- Protected Attributes inherited from BaseSService< Session, A >
Sessions _sessions
cap_sel _worker_ec_base
char * flag_revoke

Detailed Description

template<class Session, class A>
class XlateSService< Session, A >

Service that uses semaphores as identifiers for sessions.

This is the original way how parent/service protocol worked. Kernel has to perform translate operation during every call to the service.

Member Typedef Documentation

template<class Session , class A >
typedef BaseSService<Session, A> XlateSService< Session, A >::Base
private

Member Function Documentation

template<class Session , class A >
unsigned XlateSService< Session, A >::get_crdt ( )
inline
template<class Session , class A >
unsigned XlateSService< Session, A >::portal_func ( Utcb utcb,
Utcb::Frame input,
bool &  free_cap,
cap_sel  pid 
)
inline

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