14#include <l4/sys/utcb.h>
34enum L4_thread_group_ops
36 L4_THREAD_GROUP_ADD_OP = 2UL,
37 L4_THREAD_GROUP_REMOVE_OP = 3UL,
40enum L4_thread_group_policy
42 L4_THREAD_GROUP_POLICY_STRICT_CORE_LOCAL = 0,
43 L4_THREAD_GROUP_POLICY_SOFT_CORE_LOCAL = 1,
85#include <l4/sys/ipc.h>
93 v->
mr[0] = L4_THREAD_GROUP_ADD_OP;
106 v->
mr[0] = L4_THREAD_GROUP_REMOVE_OP;
117 return l4_thread_group_add_u(tg, thread,
l4_utcb());
124 return l4_thread_group_remove_u(tg, thread,
l4_utcb());
unsigned long l4_cap_idx_t
Capability selector type.
l4_fpage_t l4_obj_fpage(l4_cap_idx_t obj, unsigned int order, unsigned char rights) L4_NOTHROW
Create a kernel-object flexpage.
@ L4_CAP_FPAGE_RWS
Read, interface specific 'W', and 'S' rights for capability flexpages.
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_umword_t l4_map_obj_control(l4_umword_t spot, unsigned grant) L4_NOTHROW
Create the first word for a map item that is a send item for the object space.
l4_msgtag_t l4_msgtag(long label, unsigned words, unsigned items, unsigned flags) L4_NOTHROW
Create a message tag from the specified values.
@ L4_PROTO_THREAD_GROUP
Protocol for messages to a thread group obj.
l4_msgtag_t l4_thread_group_remove(l4_cap_idx_t tg, l4_cap_idx_t thread) L4_NOTHROW
Remove thread from a thread group.
l4_msgtag_t l4_thread_group_add(l4_cap_idx_t tg, l4_cap_idx_t thread) L4_NOTHROW
Add thread to a thread group.
#define L4_IPC_NEVER
never timeout
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
l4_utcb_t * l4_utcb(void) L4_NOTHROW L4_PURE
Get the UTCB address.
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
#define L4_INLINE
L4 Inline function attribute.
Common L4 ABI Data Types.
Message tag data structure.
l4_umword_t raw
Raw value.
Encapsulation of the message-register block in the UTCB.
l4_umword_t mr[L4_UTCB_GENERIC_DATA_SIZE]
Message registers.