Overview   API Reference  

dataspace Struct Reference

Class managing an L4 dataspace more comfortably. More...

#include <dataspace.hpp>

Inheritance diagram for dataspace:

Inheritance graph
[legend]
Collaboration diagram for dataspace:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 dataspace (const std::string &name="", const l4_size_t size=0)
 dataspace (const std::string &name, const l4dm_dataspace_t &id, const l4_size_t size)
 dataspace (const std::string &name, const l4dm_dataspace_t &id, const l4_size_t size, void *base)
dataspaceoperator() (const std::string &name, const l4dm_dataspace_t &id, const l4_size_t size, void *base=nullptr)
const char * name (void) const
bool is_open (void) const
bool is_attached (void) const
uint8_t * data (void) const
virtual int share (l4_threadid_t client, uint32_t flags=L4DM_RW)
virtual int attach (uint32_t flags=L4DM_RW)
virtual int detach (void)
virtual int detach_close (void)

Public Attributes

std::string ds_name
 Dataspace name.
l4dm_dataspace_t id
 Dataspace L4 ID.
l4_size_t size
 Dataspace size in byte.
uint8_t * base
 Virtual address the dataspace is attached to.


Detailed Description

Class managing an L4 dataspace more comfortably.
The documentation for this struct was generated from the following files:

L4vmm Reference Manual, written by Mario Schwalbe  © 2006-2008