Files | |
file | dm_generic.idl |
L4 generic dataspace manager interface. | |
Data Structures | |
interface | if_l4dm::generic |
Functions | |
long | if_l4dm::generic::map ([in] unsigned long ds_id,[in] unsigned long offset,[in] unsigned long size,[in] unsigned long rcv_size2,[in] unsigned long rcv_offs,[in] unsigned long flags,[out] fpage *page) |
Map dataspace pages (full version). | |
long | if_l4dm::generic::fault ([in] unsigned long ds_id,[in] unsigned long offset,[out] fpage *page) |
Handle dataspace fault. | |
long | if_l4dm::generic::close ([in] unsigned long ds_id) |
Close dataspace. | |
long | if_l4dm::generic::close_all ([in] l4_threadid_t client,[in] unsigned long flags) |
Close all dataspaces of a client. | |
long | if_l4dm::generic::share ([in] unsigned long ds_id,[in] l4_threadid_t client,[in] unsigned long flags) |
Grant access rights to dataspace to other clients. | |
long | if_l4dm::generic::revoke ([in] unsigned long ds_id,[in] l4_threadid_t client,[in] unsigned long flags) |
Revoke access rights to dataspace to other clients. | |
long | if_l4dm::generic::check_rights ([in] unsigned long ds_id,[in] unsigned long flags) |
Check access rights. | |
long | if_l4dm::generic::transfer ([in] unsigned long ds_id,[in] l4_threadid_t new_owner) |
Transfer ownership of a dataspace. | |
long | if_l4dm::generic::copy ([in] unsigned long ds_id,[in] unsigned long src_offs,[in] unsigned long dst_offs,[in] unsigned long num,[in] unsigned long flags,[in, string] char *name,[out] l4dm_dataspace_t *copy) |
Create a copy of a dataspace. | |
long | if_l4dm::generic::set_name ([in] unsigned long ds_id,[in, string] char *name) |
DEBUG: set dataspace name. | |
long | if_l4dm::generic::get_name ([in] unsigned long ds_id,[out, string, prealloc_client] char **name) |
DEBUG: get dataspace name. | |
long | if_l4dm::generic::show_ds ([in] unsigned long ds_id) |
DEBUG: show information about dataspace on debug console. | |
void | if_l4dm::generic::list ([in] l4_threadid_t owner,[in] unsigned long flags) |
DEBUG: List dataspaces of a client on debug console. |
long if_l4dm::generic::map | ( | [in] unsigned long | ds_id, | |
[in] unsigned long | offset, | |||
[in] unsigned long | size, | |||
[in] unsigned long | rcv_size2, | |||
[in] unsigned long | rcv_offs, | |||
[in] unsigned long | flags, | |||
[out] fpage * | page | |||
) | [inherited] |
Map dataspace pages (full version).
ds_id | Dataspace id | |
offset | Offset in dataspace | |
size | Map size | |
rcv_size2 | Receive window size (log2) | |
rcv_offs | Offset in receive window | |
flags | Access rights / flags |
page | Flexpage descriptor |
long if_l4dm::generic::fault | ( | [in] unsigned long | ds_id, | |
[in] unsigned long | offset, | |||
[out] fpage * | page | |||
) | [inherited] |
Handle dataspace fault.
ds_id | Dataspace id | |
offset | Offset in dataspace |
page | Flexpage descriptor |
long if_l4dm::generic::close | ( | [in] unsigned long | ds_id | ) | [inherited] |
Close dataspace.
ds_id | Dataspace id |
long if_l4dm::generic::close_all | ( | [in] l4_threadid_t | client, | |
[in] unsigned long | flags | |||
) | [inherited] |
Close all dataspaces of a client.
client | Client thread id | |
flags | Flags |
long if_l4dm::generic::share | ( | [in] unsigned long | ds_id, | |
[in] l4_threadid_t | client, | |||
[in] unsigned long | flags | |||
) | [inherited] |
Grant access rights to dataspace to other clients.
ds_id | Dataspace id | |
client | Client id | |
flags | Rights bit mask |
long if_l4dm::generic::revoke | ( | [in] unsigned long | ds_id, | |
[in] l4_threadid_t | client, | |||
[in] unsigned long | flags | |||
) | [inherited] |
Revoke access rights to dataspace to other clients.
ds_id | Dataspace id | |
client | Client id | |
flags | Rights bit mask |
long if_l4dm::generic::check_rights | ( | [in] unsigned long | ds_id, | |
[in] unsigned long | flags | |||
) | [inherited] |
Check access rights.
ds_id | Dataspace id | |
flags | Rights bit mask |
long if_l4dm::generic::transfer | ( | [in] unsigned long | ds_id, | |
[in] l4_threadid_t | new_owner | |||
) | [inherited] |
Transfer ownership of a dataspace.
ds_id | Dataspace id | |
new_owner | New owner |
long if_l4dm::generic::copy | ( | [in] unsigned long | ds_id, | |
[in] unsigned long | src_offs, | |||
[in] unsigned long | dst_offs, | |||
[in] unsigned long | num, | |||
[in] unsigned long | flags, | |||
[in, string] char * | name, | |||
[out] l4dm_dataspace_t * | copy | |||
) | [inherited] |
Create a copy of a dataspace.
ds_id | Source dataspace id | |
src_offs | Offset in source dataspace | |
dst_offs | Offset in destination dataspace | |
num | Number of bytes to copy | |
flags | Flags | |
name | Destination dataspace name |
copy | Dataspace id of copy |
long if_l4dm::generic::set_name | ( | [in] unsigned long | ds_id, | |
[in, string] char * | name | |||
) | [inherited] |
DEBUG: set dataspace name.
ds_id | Dataspace id | |
name | Dataspace name |
long if_l4dm::generic::get_name | ( | [in] unsigned long | ds_id, | |
[out, string, prealloc_client] char ** | name | |||
) | [inherited] |
DEBUG: get dataspace name.
ds_id | Dataspace id |
name | Dataspace name | |
size | Length of name |
long if_l4dm::generic::show_ds | ( | [in] unsigned long | ds_id | ) | [inherited] |
DEBUG: show information about dataspace on debug console.
ds_id | Dataspace id |
void if_l4dm::generic::list | ( | [in] l4_threadid_t | owner, | |
[in] unsigned long | flags | |||
) | [inherited] |
DEBUG: List dataspaces of a client on debug console.
owner | Owner of the dataspaces | |
flags | Flags |