seL4/libsel4/include/sel4
Adrian Danis 8108c811ed libsel4: Remove bitfield type unifying Guard and Badge construction
Using the bitfield generator to treat guards and badges as a union type can be convenient,
but it requires reserving a bit in the data for the bitfield run time type information.
This type information is not needed by the kernel as it knows implicitly whether the passed
data is a badge or a guard based on the kind of cap being operated on. However, with the
type information present we cannot pass a word sized piece of data to the kernel.

The solution here is to go back to using a plain seL4_Word as the type for invocations
that want a capdata and let the user either construct a badge as a plain word, or use
the seL4_CNode_CapData bitfield for constructing a guard, although they have to manually extract
the word representation out of it.
2017-10-27 12:15:09 +11:00
..
assert.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
benchmark_tracepoints_types.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
benchmark_track_types.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
benchmark_utilisation_types.h benchmark: support reading out idle cpu time on remote cpu 2017-09-04 12:50:42 +02:00
bootinfo.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
bootinfo_types.h x86: Provide copy of RSDP in bootinfo 2017-10-06 10:08:46 +11:00
constants.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
debug_assert.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
deprecated.h libsel4: Remove bitfield type unifying Guard and Badge construction 2017-10-27 12:15:09 +11:00
errors.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
faults.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
macros.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
messages.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
objecttype.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
sel4.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
shared_types.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
shared_types_32.bf Rename cnode_capdata to seL4_CNode_CapData 2017-10-27 12:14:44 +11:00
shared_types_64.bf Rename cnode_capdata to seL4_CNode_CapData 2017-10-27 12:14:44 +11:00
simple_types.h libsel4: fix licenses 2017-06-22 15:27:29 +10:00
syscalls.h manual: Expand parts of the x86 virtualisation documentation 2017-09-18 14:01:46 +10:00
types.h libsel4: Remove bitfield type unifying Guard and Badge construction 2017-10-27 12:15:09 +11:00