27 #include <l4/sys/utcb.h> 125 unsigned num_fpages,
unsigned long map_mask)
L4_NOTHROW;
132 unsigned num_fpages,
unsigned long map_mask,
288 #include <l4/sys/ipc.h> 300 v->
mr[2] = snd_fpage.raw;
311 v->
mr[2] = fpage.
raw;
317 unsigned num_fpages,
unsigned long map_mask,
323 __builtin_memcpy(&v->
mr[2], fpages, num_fpages *
sizeof(
l4_fpage_t));
332 v->
mr[1] = cap & ~1UL;
341 v->
mr[1] = cap | 1UL;
362 v->
mr[1] = ku_mem.
raw;
372 return l4_task_map_u(dst_task, src_task, snd_fpage, snd_base,
l4_utcb());
379 return l4_task_unmap_u(task, fpage, map_mask,
l4_utcb());
384 unsigned num_fpages,
unsigned long map_mask)
L4_NOTHROW 386 return l4_task_unmap_batch_u(task, fpages, num_fpages, map_mask,
401 return l4_task_delete_obj_u(task, obj,
l4_utcb());
416 return l4_task_release_cap_u(task, cap,
l4_utcb());
422 return l4_task_cap_valid_u(task, cap,
l4_utcb());
428 return l4_task_cap_has_child_u(task, cap,
l4_utcb());
435 return l4_task_cap_equal_u(task, cap_a, cap_b,
l4_utcb());
441 return l4_task_add_ku_mem_u(task, ku_mem,
l4_utcb());
Encapsulation of the message-register block in the UTCB.
l4_msgtag_t l4_task_cap_has_child(l4_cap_idx_t task, l4_cap_idx_t cap) L4_NOTHROW
Test whether a capability has child mappings (in another task).
Flag that indicates that the unmap operation on a capability shall try to delete the corresponding ob...
l4_msgtag_t l4_task_cap_equal(l4_cap_idx_t task, l4_cap_idx_t cap_a, l4_cap_idx_t cap_b) L4_NOTHROW
Test whether two capabilities point to the same object with the same rights.
l4_msgtag_t l4_task_add_ku_mem(l4_cap_idx_t task, l4_fpage_t ku_mem) L4_NOTHROW
Add kernel-user memory.
l4_umword_t mr[L4_UTCB_GENERIC_DATA_SIZE]
Message registers.
Common L4 ABI Data Types.
l4_msgtag_t l4_task_delete_obj(l4_cap_idx_t task, l4_cap_idx_t obj) L4_NOTHROW
Release capability and delete object.
Read-write-execute flex page.
l4_msgtag_t l4_ipc_call(l4_cap_idx_t object, l4_utcb_t *utcb, l4_msgtag_t tag, l4_timeout_t timeout) L4_NOTHROW
Object call (usual invocation).
l4_msgtag_t l4_task_unmap(l4_cap_idx_t task, l4_fpage_t fpage, l4_umword_t map_mask) L4_NOTHROW
Revoke rights from the task.
unsigned long l4_cap_idx_t
L4 Capability selector Type.
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
L4_task_ops
Operations on task objects.
#define L4_IPC_NEVER
never timeout
l4_msgtag_t l4_task_unmap_batch(l4_cap_idx_t task, l4_fpage_t const *fpages, unsigned num_fpages, unsigned long map_mask) L4_NOTHROW
Revoke rights from a task.
Flag to tell the unmap operation to unmap all child mappings including the mapping in the invoked tas...
Protocol for messages to a task object.
unsigned long l4_umword_t
Unsigned machine word.
l4_msgtag_t l4_task_release_cap(l4_cap_idx_t task, l4_cap_idx_t cap) L4_NOTHROW
Release capability.
l4_umword_t raw
Raw value.
l4_umword_t l4_map_obj_control(l4_umword_t spot, unsigned grant) L4_NOTHROW
Create the first word for a map item for the object space.
l4_utcb_t * l4_utcb(void) L4_NOTHROW L4_PURE
Get the UTCB address.
l4_msgtag_t l4_msgtag(long label, unsigned words, unsigned items, unsigned flags) L4_NOTHROW
Create a message tag from the specified values.
l4_msgtag_t l4_task_map(l4_cap_idx_t dst_task, l4_cap_idx_t src_task, l4_fpage_t snd_fpage, l4_addr_t snd_base) L4_NOTHROW
Map resources available in the source task to a destination task.
l4_msgtag_t l4_task_cap_valid(l4_cap_idx_t task, l4_cap_idx_t cap) L4_NOTHROW
Check whether a capability is present (refers to an object).
Message tag data structure.
unsigned long l4_addr_t
Address type.
Full rights for capability flex-pages.
l4_fpage_t l4_obj_fpage(l4_cap_idx_t obj, unsigned int order, unsigned char rights) L4_NOTHROW
Create a kernel-object flex page.
#define L4_DEPRECATED(s)
Mark symbol deprecated.
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.