Data Structures | |
struct | dsmlib_ds_desc |
Defines | |
#define | dsmlib_get_id(ds) ((ds)->id) |
Typedefs | |
typedef struct dsmlib_ds_desc | dsmlib_ds_desc_t |
Functions | |
L4_CV dsmlib_ds_desc_t * | dsmlib_create_dataspace (void) |
Create new dataspace. | |
L4_CV void | dsmlib_release_dataspace (dsmlib_ds_desc_t *ds) |
Release dataspace. | |
L4_CV dsmlib_ds_desc_t * | dsmlib_get_dataspace (l4_uint32_t id) |
Return dataspace descriptor. | |
L4_CV void | dsmlib_set_owner (dsmlib_ds_desc_t *ds, l4_threadid_t owner) |
Set dataspace owner. | |
L4_CV l4_threadid_t | dsmlib_get_owner (const dsmlib_ds_desc_t *ds) |
Return owner of the dataspace. | |
L4_CV int | dsmlib_is_owner (const dsmlib_ds_desc_t *ds, l4_threadid_t client) |
Check owner of dataspace. | |
L4_CV void | dsmlib_set_name (dsmlib_ds_desc_t *ds, const char *name) |
Set dataspace name. | |
L4_CV char * | dsmlib_get_name (dsmlib_ds_desc_t *ds) |
Get dataspace name. | |
L4_CV void | dsmlib_set_dsm_ptr (dsmlib_ds_desc_t *ds, void *ptr) |
Set dataspace manager data. | |
L4_CV void * | dsmlib_get_dsm_ptr (const dsmlib_ds_desc_t *ds) |
Get dataspace manager data. |
typedef struct dsmlib_ds_desc dsmlib_ds_desc_t |
Generic dataspace descriptor
L4_CV dsmlib_ds_desc_t* dsmlib_create_dataspace | ( | void | ) |
Create new dataspace.
L4_CV void dsmlib_release_dataspace | ( | dsmlib_ds_desc_t * | ds | ) |
Release dataspace.
ds | Dataspace descriptor |
L4_CV dsmlib_ds_desc_t* dsmlib_get_dataspace | ( | l4_uint32_t | id | ) |
Return dataspace descriptor.
id | Dataspace id |
L4_CV void dsmlib_set_owner | ( | dsmlib_ds_desc_t * | ds, | |
l4_threadid_t | owner | |||
) |
Set dataspace owner.
ds | Dataspace descriptor | |
owner | Dataspace owner |
L4_CV l4_threadid_t dsmlib_get_owner | ( | const dsmlib_ds_desc_t * | ds | ) |
Return owner of the dataspace.
ds | Dataspace descriptor |
L4_CV int dsmlib_is_owner | ( | const dsmlib_ds_desc_t * | ds, | |
l4_threadid_t | client | |||
) |
Check owner of dataspace.
ds | Dataspace descriptor | |
client | Client thread id |
L4_CV void dsmlib_set_name | ( | dsmlib_ds_desc_t * | ds, | |
const char * | name | |||
) |
Set dataspace name.
ds | Dataspace descriptor | |
name | Dataspace name |
L4_CV char* dsmlib_get_name | ( | dsmlib_ds_desc_t * | ds | ) |
Get dataspace name.
ds | Dataspace descriptor |
L4_CV void dsmlib_set_dsm_ptr | ( | dsmlib_ds_desc_t * | ds, | |
void * | ptr | |||
) |
Set dataspace manager data.
ds | Dataspace descriptor | |
ptr | Dataspace manager data |
L4_CV void* dsmlib_get_dsm_ptr | ( | const dsmlib_ds_desc_t * | ds | ) |
Get dataspace manager data.
ds | Dataspace descriptor |