1#include_next <l4/sys/segment.h>
25#ifndef __L4_SYS__ARCH_AMD64__L4API_L4F__SEGMENT_H__
26#define __L4_SYS__ARCH_AMD64__L4API_L4F__SEGMENT_H__
38 l4_utcb_mr_u(utcb)->
mr[1] = base;
47 l4_utcb_mr_u(utcb)->
mr[1] = base;
53 unsigned int entry_number_start,
l4_utcb_t *utcb)
56 l4_utcb_mr_u(utcb)->
mr[1] = entry_number_start;
57 __builtin_memcpy(&l4_utcb_mr_u(utcb)->mr[2], desc, size);
L4_sys_segment
Constants for identifying segments.
@ L4_AMD64_SEGMENT_FS
Constant identifying the FS segment.
long fiasco_amd64_set_segment_base(l4_cap_idx_t thread, enum L4_sys_segment segr, l4_umword_t base, l4_utcb_t *utcb)
Set the base address for a segment.
long fiasco_amd64_set_fs(l4_cap_idx_t thread, l4_umword_t base, l4_utcb_t *utcb)
Set the base address for the FS segment.
L4 compiler related defines.
long fiasco_gdt_set(l4_cap_idx_t thread, void *desc, unsigned int size, unsigned int entry_number_start, l4_utcb_t *utcb)
Set GDT segment descriptors.
unsigned long l4_umword_t
Unsigned machine word.
unsigned long l4_cap_idx_t
Capability selector type.
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_msgtag(long label, unsigned words, unsigned items, unsigned flags) L4_NOTHROW
Create a message tag from the specified values.
@ L4_PROTO_THREAD
Protocol for messages to a thread object.
@ L4_THREAD_AMD64_SET_SEGMENT_BASE_OP
Set segment base.
@ L4_THREAD_X86_GDT_OP
Gdt.
#define L4_IPC_NEVER
never timeout
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
#define L4_INLINE
L4 Inline function attribute.
l4_umword_t mr[L4_UTCB_GENERIC_DATA_SIZE]
Message registers.