Defines | |
#define | L4DM_READ 0x00000001 |
#define | L4DM_WRITE 0x00000002 |
#define | L4DM_RO (L4DM_READ) |
#define | L4DM_RW (L4DM_READ | L4DM_WRITE) |
#define | L4DM_MAP_PARTIAL 0x00000800 |
#define | L4DM_MAP_MORE 0x00001000 |
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. |
#define L4DM_READ 0x00000001 |
Read access
Definition at line 39 of file dm_generic/include/consts.h.
#define L4DM_WRITE 0x00000002 |
Write access
Definition at line 42 of file dm_generic/include/consts.h.
#define L4DM_RO (L4DM_READ) |
read-only access
Definition at line 48 of file dm_generic/include/consts.h.
#define L4DM_RW (L4DM_READ | L4DM_WRITE) |
read-write access
Definition at line 51 of file dm_generic/include/consts.h.
#define L4DM_MAP_PARTIAL 0x00000800 |
Allow partial mappings
Definition at line 73 of file dm_generic/include/consts.h.
#define L4DM_MAP_MORE 0x00001000 |
Allow larger mappings than requested
Definition at line 76 of file dm_generic/include/consts.h.
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).
ds | Dataspace descriptor | |
offs | Offset in dataspace | |
size | Region size | |
rcv_addr | Receive window address | |
rcv_size2 | Receive window size (log2) | |
rcv_offs | Offset in receive window | |
flags | Flags:
|
fpage_addr | Map address of receive fpage | |
fpage_size | Size of receive fpage |
L4DM_MAP_MORE
see l4dm_map().
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.
ds | Dataspace descriptor | |
offs | Offset in dataspace | |
addr | Map address | |
size | Map size | |
flags | Flags:
|
L4_CV int l4dm_map | ( | const void * | ptr, | |
l4_size_t | size, | |||
l4_uint32_t | flags | |||
) |
Map VM area.
ptr | VM address | |
size | Area size | |
flags | Flags:
|
Flags: