L4Re Operating System Framework
Interface and Usage Documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
thread.h
Go to the documentation of this file.
1
5/*
6 * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
7 * Alexander Warg <warg@os.inf.tu-dresden.de>,
8 * Björn Döbel <doebel@os.inf.tu-dresden.de>,
9 * Torsten Frenzel <frenzel@os.inf.tu-dresden.de>
10 * economic rights: Technische Universität Dresden (Germany)
11 *
12 * License: see LICENSE.spdx (in this directory or the directories above)
13 */
14#pragma once
15
16#include <l4/sys/types.h>
17#include <l4/sys/utcb.h>
18#include <l4/sys/ipc.h>
19
86
95 l4_umword_t flags, l4_utcb_t *utcb) L4_NOTHROW;
96
131 l4_umword_t *flags) L4_NOTHROW;
132
141 l4_umword_t *flags, l4_utcb_t *utcb) L4_NOTHROW;
142
143
144
190L4_INLINE void
192
197L4_INLINE void
198l4_thread_control_start_u(l4_utcb_t *utcb) L4_NOTHROW;
199
209L4_INLINE void
211
216L4_INLINE void
217l4_thread_control_pager_u(l4_cap_idx_t pager, l4_utcb_t *utcb) L4_NOTHROW;
218
228L4_INLINE void
230
235L4_INLINE void
236l4_thread_control_exc_handler_u(l4_cap_idx_t exc_handler,
237 l4_utcb_t *utcb) L4_NOTHROW;
238
261L4_INLINE void
264
269L4_INLINE void
270l4_thread_control_bind_u(l4_utcb_t *thread_utcb,
271 l4_cap_idx_t task, l4_utcb_t *utcb) L4_NOTHROW;
272
296L4_INLINE void
298
303L4_INLINE void
304l4_thread_control_alien_u(l4_utcb_t *utcb, int on) L4_NOTHROW;
305
306
307
308
324
330l4_thread_control_commit_u(l4_cap_idx_t thread, l4_utcb_t *utcb) L4_NOTHROW;
331
340
351
357l4_thread_switch_u(l4_cap_idx_t to_thread, l4_utcb_t *utcb) L4_NOTHROW;
358
359
360
372
378l4_thread_stats_time_u(l4_cap_idx_t thread, l4_kernel_clock_t *us,
379 l4_utcb_t *utcb) L4_NOTHROW;
380
381
394
400l4_thread_vcpu_resume_start_u(l4_utcb_t *utcb) L4_NOTHROW;
401
452
458l4_thread_vcpu_resume_commit_u(l4_cap_idx_t thread,
459 l4_msgtag_t tag, l4_utcb_t *utcb) L4_NOTHROW;
460
461
483
493 l4_utcb_t *utcb) L4_NOTHROW;
494
528
538 l4_utcb_t *utcb) L4_NOTHROW;
539
540
564
570l4_thread_register_del_irq_u(l4_cap_idx_t thread, l4_cap_idx_t irq,
571 l4_utcb_t *utcb) L4_NOTHROW;
572
596
602l4_thread_modify_sender_start_u(l4_utcb_t *u) L4_NOTHROW;
603
628L4_INLINE int
630 l4_umword_t match,
631 l4_umword_t del_bits,
632 l4_umword_t add_bits,
634
639L4_INLINE int
640l4_thread_modify_sender_add_u(l4_umword_t match_mask,
641 l4_umword_t match,
642 l4_umword_t del_bits,
643 l4_umword_t add_bits,
645
662
668l4_thread_modify_sender_commit_u(l4_cap_idx_t thread, l4_msgtag_t tag,
670
671
693
699l4_thread_register_doorbell_irq_u(l4_cap_idx_t thread, l4_cap_idx_t irq,
701
702
727
749
768
781
782
783/* IMPLEMENTATION -----------------------------------------------------------*/
784
785#include <l4/sys/ipc.h>
786#include <l4/sys/types.h>
787
790 l4_umword_t flags, l4_utcb_t *utcb) L4_NOTHROW
791{
792 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
793 v->mr[0] = L4_THREAD_EX_REGS_OP | flags;
794 v->mr[1] = ip;
795 v->mr[2] = sp;
796 return l4_ipc_call(thread, utcb, l4_msgtag(L4_PROTO_THREAD, 3, 0, 0), L4_IPC_NEVER);
797}
798
801 l4_umword_t *flags, l4_utcb_t *utcb) L4_NOTHROW
802{
803 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
804 l4_msgtag_t ret = l4_thread_ex_regs_u(thread, *ip, *sp, *flags, utcb);
805 if (l4_error_u(ret, utcb))
806 return ret;
807
808 *flags = v->mr[0];
809 *ip = v->mr[1];
810 *sp = v->mr[2];
811 return ret;
812}
813
814L4_INLINE void
815l4_thread_control_start_u(l4_utcb_t *utcb) L4_NOTHROW
816{
817 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
819}
820
821L4_INLINE void
822l4_thread_control_pager_u(l4_cap_idx_t pager, l4_utcb_t *utcb) L4_NOTHROW
823{
824 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
827}
828
829L4_INLINE void
830l4_thread_control_exc_handler_u(l4_cap_idx_t exc_handler,
831 l4_utcb_t *utcb) L4_NOTHROW
832{
833 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
836}
837
838L4_INLINE void
839l4_thread_control_bind_u(l4_utcb_t *thread_utcb, l4_cap_idx_t task,
840 l4_utcb_t *utcb) L4_NOTHROW
841{
842 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
847}
848
849L4_INLINE void
850l4_thread_control_alien_u(l4_utcb_t *utcb, int on) L4_NOTHROW
851{
852 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
855}
856
858l4_thread_control_commit_u(l4_cap_idx_t thread, l4_utcb_t *utcb) L4_NOTHROW
859{
860 int items = 0;
862 items = 1;
863 return l4_ipc_call(thread, utcb, l4_msgtag(L4_PROTO_THREAD, 6, items, 0), L4_IPC_NEVER);
864}
865
866
869{
871 return l4_msgtag(0, 0, 0, 0);
872}
873
874/* Preliminary, to be changed */
876l4_thread_switch_u(l4_cap_idx_t to_thread, l4_utcb_t *utcb) L4_NOTHROW
877{
878 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
879 v->mr[0] = L4_THREAD_SWITCH_OP;
880 return l4_ipc_call(to_thread, utcb, l4_msgtag(L4_PROTO_THREAD, 1, 0, 0), L4_IPC_NEVER);
881}
882
883
885l4_thread_stats_time_u(l4_cap_idx_t thread, l4_kernel_clock_t *us,
886 l4_utcb_t *utcb) L4_NOTHROW
887{
888 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
889 l4_msgtag_t res;
890
891 v->mr[0] = L4_THREAD_STATS_OP;
892
893 res = l4_ipc_call(thread, utcb, l4_msgtag(L4_PROTO_THREAD, 1, 0, 0), L4_IPC_NEVER);
894
895 if (l4_msgtag_has_error(res))
896 return res;
897
898 *us = v->mr64[l4_utcb_mr64_idx(0)];
899
900 return res;
901}
902
904l4_thread_vcpu_resume_start_u(l4_utcb_t *utcb) L4_NOTHROW
905{
906 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
908 return l4_msgtag(L4_PROTO_THREAD, 1, 0, 0);
909}
910
912l4_thread_vcpu_resume_commit_u(l4_cap_idx_t thread,
914{
915 return l4_ipc_call(thread, utcb, tag, L4_IPC_NEVER);
916}
917
921{
922 return l4_thread_ex_regs_u(thread, ip, sp, flags, l4_utcb());
923}
924
927 l4_umword_t *flags) L4_NOTHROW
928{
929 return l4_thread_ex_regs_ret_u(thread, ip, sp, flags, l4_utcb());
930}
931
932L4_INLINE void
934{
935 l4_thread_control_start_u(l4_utcb());
936}
937
938L4_INLINE void
940{
941 l4_thread_control_pager_u(pager, l4_utcb());
942}
943
944L4_INLINE void
946{
947 l4_thread_control_exc_handler_u(exc_handler, l4_utcb());
948}
949
950
951L4_INLINE void
953{
954 l4_thread_control_bind_u(thread_utcb, task, l4_utcb());
955}
956
957L4_INLINE void
959{
960 l4_thread_control_alien_u(l4_utcb(), on);
961}
962
965{
966 return l4_thread_control_commit_u(thread, l4_utcb());
967}
968
969
970
971
974{
975 return l4_thread_switch_u(to_thread, l4_utcb());
976}
977
978
979
980
983{
984 return l4_thread_stats_time_u(thread, us, l4_utcb());
985}
986
989{
990 return l4_thread_vcpu_resume_start_u(l4_utcb());
991}
992
996{
997 return l4_thread_vcpu_resume_commit_u(thread, tag, l4_utcb());
998}
999
1000
1002l4_thread_register_del_irq_u(l4_cap_idx_t thread, l4_cap_idx_t irq,
1004{
1005 l4_msg_regs_t *m = l4_utcb_mr_u(u);
1007 m->mr[1] = l4_map_obj_control(0,0);
1008 m->mr[2] = l4_obj_fpage(irq, 0, L4_CAP_FPAGE_RWS).raw;
1009 return l4_ipc_call(thread, u, l4_msgtag(L4_PROTO_THREAD, 1, 1, 0), L4_IPC_NEVER);
1010
1011}
1012
1015{
1016 return l4_thread_register_del_irq_u(thread, irq, l4_utcb());
1017}
1018
1019
1022 l4_utcb_t *utcb) L4_NOTHROW
1023{
1024 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
1026 v->mr[1] = vcpu_state;
1027 return l4_ipc_call(thread, utcb, l4_msgtag(L4_PROTO_THREAD, 2, 0, 0), L4_IPC_NEVER);
1028}
1029
1032{ return l4_thread_vcpu_control_u(thread, vcpu_state, l4_utcb()); }
1033
1034
1037 l4_utcb_t *utcb) L4_NOTHROW
1038{
1039 l4_msg_regs_t *v = l4_utcb_mr_u(utcb);
1040 v->mr[0] = L4_THREAD_VCPU_CONTROL_EXT_OP;
1041 v->mr[1] = ext_vcpu_state;
1042 return l4_ipc_call(thread, utcb, l4_msgtag(L4_PROTO_THREAD, 2, 0, 0), L4_IPC_NEVER);
1043}
1044
1047{ return l4_thread_vcpu_control_ext_u(thread, ext_vcpu_state, l4_utcb()); }
1048
1050l4_thread_modify_sender_start_u(l4_utcb_t *u) L4_NOTHROW
1051{
1052 l4_msg_regs_t *m = l4_utcb_mr_u(u);
1054 return l4_msgtag(L4_PROTO_THREAD, 1, 0, 0);
1055}
1056
1057L4_INLINE int
1058l4_thread_modify_sender_add_u(l4_umword_t match_mask,
1059 l4_umword_t match,
1060 l4_umword_t del_bits,
1061 l4_umword_t add_bits,
1063{
1064 l4_msg_regs_t *m = l4_utcb_mr_u(u);
1065 unsigned w = l4_msgtag_words(*tag);
1066 if (w >= L4_UTCB_GENERIC_DATA_SIZE - 4)
1067 return -L4_ENOMEM;
1068
1069 m->mr[w] = match_mask;
1070 m->mr[w+1] = match;
1071 m->mr[w+2] = del_bits;
1072 m->mr[w+3] = add_bits;
1073
1074 *tag = l4_msgtag(l4_msgtag_label(*tag), w + 4, 0, 0);
1075
1076 return 0;
1077}
1078
1080l4_thread_modify_sender_commit_u(l4_cap_idx_t thread, l4_msgtag_t tag,
1082{
1083 return l4_ipc_call(thread, u, tag, L4_IPC_NEVER);
1084}
1085
1088{
1089 return l4_thread_modify_sender_start_u(l4_utcb());
1090}
1091
1092L4_INLINE int
1094 l4_umword_t match,
1095 l4_umword_t del_bits,
1096 l4_umword_t add_bits,
1098{
1099 return l4_thread_modify_sender_add_u(match_mask, match,
1100 del_bits, add_bits, tag, l4_utcb());
1101}
1102
1105{
1106 return l4_thread_modify_sender_commit_u(thread, tag, l4_utcb());
1107}
1108
1109
1111l4_thread_register_doorbell_irq_u(l4_cap_idx_t thread, l4_cap_idx_t irq,
1113{
1114 l4_msg_regs_t *m = l4_utcb_mr_u(u);
1116 m->mr[1] = l4_map_obj_control(0,0);
1117 m->mr[2] = l4_obj_fpage(irq, 0, L4_CAP_FPAGE_RWS).raw;
1118 return l4_ipc_call(thread, u, l4_msgtag(L4_PROTO_THREAD, 1, 1, 0),
1119 L4_IPC_NEVER);
1120}
1121
1125{
1126 return l4_thread_register_doorbell_irq_u(thread, irq, l4_utcb());
1127}
unsigned long l4_umword_t
Unsigned machine word.
Definition l4int.h:40
unsigned long l4_addr_t
Address type.
Definition l4int.h:34
l4_uint64_t l4_kernel_clock_t
Kernel clock type.
Definition l4int.h:53
unsigned long l4_cap_idx_t
Capability selector type.
Definition types.h:335
@ L4_INVALID_CAP
Invalid capability selector.
Definition consts.h:157
@ L4_ENOMEM
No memory.
Definition err.h:39
l4_fpage_t l4_obj_fpage(l4_cap_idx_t obj, unsigned int order, unsigned char rights) L4_NOTHROW
Create a kernel-object flexpage.
Definition __l4_fpage.h:696
@ L4_CAP_FPAGE_RWS
Read, interface specific 'W', and 'S' rights for capability flexpages.
Definition __l4_fpage.h:206
l4_msgtag_t l4_ipc_receive(l4_cap_idx_t object, l4_utcb_t *utcb, l4_timeout_t timeout) L4_NOTHROW
Wait for a message from a specific source.
Definition ipc.h:602
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).
Definition ipc.h:565
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.
Definition __l4_fpage.h:730
@ L4_ITEM_MAP
Identify a message item as map item.
Definition consts.h:218
unsigned l4_msgtag_has_error(l4_msgtag_t t) L4_NOTHROW
Test for error indicator flag.
Definition types.h:439
l4_msgtag_t l4_msgtag(long label, unsigned words, unsigned items, unsigned flags) L4_NOTHROW
Create a message tag from the specified values.
Definition types.h:404
unsigned l4_msgtag_words(l4_msgtag_t t) L4_NOTHROW
Get the number of untyped words.
Definition types.h:426
long l4_msgtag_label(l4_msgtag_t t) L4_NOTHROW
Get the protocol of tag.
Definition types.h:416
@ L4_PROTO_THREAD
Protocol for messages to a thread object.
Definition types.h:53
L4_thread_ops
Operations on thread objects.
Definition thread.h:710
@ L4_THREAD_OPCODE_MASK
Mask for opcodes.
Definition thread.h:725
@ L4_THREAD_AMD64_GET_SEGMENT_INFO_OP
Get segment information.
Definition thread.h:724
@ L4_THREAD_REGISTER_DOORBELL_IRQ_OP
Register direct IRQ injection doorbell IRQ.
Definition thread.h:720
@ L4_THREAD_AMD64_SET_SEGMENT_BASE_OP
Set segment base.
Definition thread.h:723
@ L4_THREAD_X86_GDT_OP
Gdt.
Definition thread.h:721
@ L4_THREAD_EX_REGS_OP
Exchange registers operation.
Definition thread.h:712
@ L4_THREAD_STATS_OP
Thread statistics.
Definition thread.h:714
@ L4_THREAD_VCPU_CONTROL_OP
Enable / disable VCPU feature.
Definition thread.h:718
@ L4_THREAD_MODIFY_SENDER_OP
Modify all senders IDs that match the given pattern.
Definition thread.h:717
@ L4_THREAD_CONTROL_OP
Control operation.
Definition thread.h:711
@ L4_THREAD_ARM_TPIDRURO_OP
Set TPIDRURO register.
Definition thread.h:722
@ L4_THREAD_VCPU_RESUME_OP
VCPU resume.
Definition thread.h:715
@ L4_THREAD_REGISTER_DELETE_IRQ_OP
Register an IPC-gate deletion IRQ.
Definition thread.h:716
@ L4_THREAD_SWITCH_OP
Do a thread switch.
Definition thread.h:713
l4_msgtag_t l4_thread_modify_sender_start(void) L4_NOTHROW
Start a thread sender modification sequence.
Definition thread.h:1087
l4_msgtag_t l4_thread_vcpu_control_ext_u(l4_cap_idx_t thread, l4_addr_t ext_vcpu_state, l4_utcb_t *utcb) L4_NOTHROW
Enable the extended vCPU feature for the thread.
Definition thread.h:1036
l4_msgtag_t l4_thread_ex_regs(l4_cap_idx_t thread, l4_addr_t ip, l4_addr_t sp, l4_umword_t flags) L4_NOTHROW
Exchange basic thread registers.
Definition thread.h:919
L4_thread_ex_regs_flags
Flags for the thread ex-regs operation.
Definition thread.h:775
int l4_thread_modify_sender_add(l4_umword_t match_mask, l4_umword_t match, l4_umword_t del_bits, l4_umword_t add_bits, l4_msgtag_t *tag) L4_NOTHROW
Add a modification pattern to a sender modification sequence.
Definition thread.h:1093
l4_msgtag_t l4_thread_vcpu_control_ext(l4_cap_idx_t thread, l4_addr_t ext_vcpu_state) L4_NOTHROW
Enable the extended vCPU feature for the thread.
Definition thread.h:1046
l4_msgtag_t l4_thread_ex_regs_ret_u(l4_cap_idx_t thread, l4_addr_t *ip, l4_addr_t *sp, l4_umword_t *flags, l4_utcb_t *utcb) L4_NOTHROW
Exchange basic thread registers and return previous values.
Definition thread.h:800
l4_msgtag_t l4_thread_yield(void) L4_NOTHROW
Yield current time slice.
Definition thread.h:868
l4_msgtag_t l4_thread_vcpu_resume_start(void) L4_NOTHROW
vCPU return from event handler.
Definition thread.h:988
L4_thread_control_flags
Flags for the thread control operation.
Definition thread.h:739
l4_msgtag_t l4_thread_ex_regs_ret(l4_cap_idx_t thread, l4_addr_t *ip, l4_addr_t *sp, l4_umword_t *flags) L4_NOTHROW
Exchange basic thread registers and return previous values.
Definition thread.h:926
l4_msgtag_t l4_thread_stats_time(l4_cap_idx_t thread, l4_kernel_clock_t *us) L4_NOTHROW
Get consumed time of thread in µs.
Definition thread.h:982
l4_msgtag_t l4_thread_vcpu_control_u(l4_cap_idx_t thread, l4_addr_t vcpu_state, l4_utcb_t *utcb) L4_NOTHROW
Enable the vCPU feature for the thread.
Definition thread.h:1021
l4_msgtag_t l4_thread_ex_regs_u(l4_cap_idx_t thread, l4_addr_t ip, l4_addr_t sp, l4_umword_t flags, l4_utcb_t *utcb) L4_NOTHROW
Exchange basic thread registers.
Definition thread.h:789
l4_msgtag_t l4_thread_register_del_irq(l4_cap_idx_t thread, l4_cap_idx_t irq) L4_NOTHROW
Register an IRQ that will trigger upon deletion events.
Definition thread.h:1014
l4_msgtag_t l4_thread_vcpu_resume_commit(l4_cap_idx_t thread, l4_msgtag_t tag) L4_NOTHROW
Commit vCPU resume.
Definition thread.h:994
l4_msgtag_t l4_thread_modify_sender_commit(l4_cap_idx_t thread, l4_msgtag_t tag) L4_NOTHROW
Apply (commit) a sender modification sequence.
Definition thread.h:1104
l4_msgtag_t l4_thread_register_doorbell_irq(l4_cap_idx_t thread, l4_cap_idx_t irq) L4_NOTHROW
Register an IRQ that will trigger when a forwarded virtual interrupt is pending.
Definition thread.h:1123
l4_msgtag_t l4_thread_switch(l4_cap_idx_t to_thread) L4_NOTHROW
Switch to another thread (and donate the remaining time slice).
Definition thread.h:973
l4_msgtag_t l4_thread_vcpu_control(l4_cap_idx_t thread, l4_addr_t vcpu_state) L4_NOTHROW
Enable the vCPU feature for the thread.
Definition thread.h:1031
L4_thread_control_mr_indices
Indices for the values in the message register for thread control.
Definition thread.h:760
@ L4_THREAD_EX_REGS_CANCEL
Cancel ongoing IPC in the thread.
Definition thread.h:776
@ L4_THREAD_EX_REGS_ARCH_MASK
Arch specific flags.
Definition thread.h:779
@ L4_THREAD_EX_REGS_TRIGGER_EXCEPTION
Trigger artificial exception in thread.
Definition thread.h:777
@ L4_THREAD_CONTROL_SET_PAGER
The pager will be given.
Definition thread.h:741
@ L4_THREAD_CONTROL_BIND_TASK
The task to bind the thread to will be given.
Definition thread.h:743
@ L4_THREAD_CONTROL_ALIEN
Alien state of the thread is set.
Definition thread.h:745
@ L4_THREAD_CONTROL_SET_EXC_HANDLER
The exception handler of the thread will be given.
Definition thread.h:747
@ L4_THREAD_CONTROL_MR_IDX_FLAG_VALS
Index for feature values.
Definition thread.h:764
@ L4_THREAD_CONTROL_MR_IDX_PAGER
Index for pager cap.
Definition thread.h:762
@ L4_THREAD_CONTROL_MR_IDX_BIND_TASK
Index for task flexpage for bind.
Definition thread.h:766
@ L4_THREAD_CONTROL_MR_IDX_EXC_HANDLER
Index for exception handler.
Definition thread.h:763
@ L4_THREAD_CONTROL_MR_IDX_FLAGS
Definition thread.h:761
@ L4_THREAD_CONTROL_MR_IDX_BIND_UTCB
Index for UTCB address for bind.
Definition thread.h:765
void l4_thread_control_bind(l4_utcb_t *thread_utcb, l4_cap_idx_t task) L4_NOTHROW
Bind the thread to a task.
Definition thread.h:952
l4_msgtag_t l4_thread_control_commit(l4_cap_idx_t thread) L4_NOTHROW
Commit the thread control parameters.
Definition thread.h:964
void l4_thread_control_alien(int on) L4_NOTHROW
Enable alien mode.
Definition thread.h:958
void l4_thread_control_exc_handler(l4_cap_idx_t exc_handler) L4_NOTHROW
Set the exception handler.
Definition thread.h:945
void l4_thread_control_start(void) L4_NOTHROW
Start a thread control API sequence.
Definition thread.h:933
void l4_thread_control_pager(l4_cap_idx_t pager) L4_NOTHROW
Set the pager.
Definition thread.h:939
unsigned l4_utcb_mr64_idx(unsigned idx) L4_NOTHROW
Get index into 64bit message registers alias from native-sized index.
Definition utcb.h:392
#define L4_IPC_BOTH_TIMEOUT_0
0 receive and send timeout
Definition __timeout.h:79
#define L4_IPC_NEVER
never timeout
Definition __timeout.h:76
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
Definition utcb.h:56
l4_utcb_t * l4_utcb(void) L4_NOTHROW L4_PURE
Get the UTCB address.
Definition utcb.h:346
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
Definition compiler.h:159
#define L4_INLINE
L4 Inline function attribute.
Definition compiler.h:51
Common L4 ABI Data Types.
Message tag data structure.
Definition types.h:153
l4_umword_t raw
Raw value.
Definition __l4_fpage.h:78
Encapsulation of the message-register block in the UTCB.
Definition utcb.h:68
l4_umword_t mr[L4_UTCB_GENERIC_DATA_SIZE]
Message registers.
Definition utcb.h:69
l4_uint64_t mr64[L4_UTCB_GENERIC_DATA_SIZE/(sizeof(l4_uint64_t)/sizeof(l4_umword_t))]
Message registers 64bit alias.
Definition utcb.h:70