Introduction   User API Reference   DSMlib Reference   IDL Interface   File List   Index  

dm_generic.h File Reference

Generic dataspace manager interface, client API. More...

Go to the source code of this file.

Functions

L4_CV int l4dm_map_pages (const l4dm_dataspace_t *ds, l4_offs_t offs, l4_size_t size, l4_addr_t rcv_addr, int rcv_size2, l4_offs_t rcv_offs, l4_uint32_t flags, l4_addr_t *fpage_addr, l4_size_t *fpage_size)
 Map dataspace region (IDL wrapper).
L4_CV int l4dm_map_ds (const l4dm_dataspace_t *ds, l4_offs_t offs, l4_addr_t addr, l4_size_t size, l4_uint32_t flags)
 Map dataspace region.
L4_CV int l4dm_map (const void *ptr, l4_size_t size, l4_uint32_t flags)
 Map VM area.
L4_CV int l4dm_close (const l4dm_dataspace_t *ds)
 Close dataspace.
int l4dm_close_all (l4_threadid_t dsm_id, l4_threadid_t client, l4_uint32_t flags)
 Close all dataspaces of a client.
L4_CV int l4dm_share (const l4dm_dataspace_t *ds, l4_threadid_t client, l4_uint32_t rights)
 Grant dataspace access rights to a client.
int l4dm_revoke (const l4dm_dataspace_t *ds, l4_threadid_t client, l4_uint32_t rights)
 Revoke dataspace access rights.
L4_CV int l4dm_check_rights (const l4dm_dataspace_t *ds, l4_uint32_t rights)
 Check dataspace access rights.
L4_CV int l4dm_transfer (const l4dm_dataspace_t *ds, l4_threadid_t new_owner)
 Transfer dataspace ownership.
L4_CV int l4dm_copy (const l4dm_dataspace_t *ds, l4_uint32_t flags, const char *name, l4dm_dataspace_t *copy)
 Create dataspace copy, short form.
int l4dm_copy_long (const l4dm_dataspace_t *ds, l4_offs_t src_offs, l4_offs_t dst_offs, l4_size_t num, l4_uint32_t flags, const char *name, l4dm_dataspace_t *copy)
 Create dataspace copy, long form.
L4_CV int l4dm_ds_set_name (const l4dm_dataspace_t *ds, const char *name)
 Set dataspace name.
L4_CV int l4dm_ds_get_name (const l4dm_dataspace_t *ds, char *name)
 Get dataspace name.
L4_CV void l4dm_ds_show (const l4dm_dataspace_t *ds)
 Show information about dataspace on debugging console.
L4_CV int l4dm_ds_list (l4_threadid_t dsm_id, l4_threadid_t owner, l4_uint32_t flags)
 List dataspaces on debugging console.
L4_CV int l4dm_ds_list_all (l4_threadid_t dsm_id)
 List all dataspaces on debugging console.


Detailed Description

Generic dataspace manager interface, client API.

Date:
11/22/2001
Author:
Lars Reuther <reuther@os.inf.tu-dresden.de>

Definition in file dm_generic.h.


DMphys Reference Manual, written by Lars Reuther  © 2000-2003