l4f specific fs/gs manipulation
More...
Go to the source code of this file.
l4f specific fs/gs manipulation
Definition in file segment.h.
◆ fiasco_amd64_set_fs()
Set the base address for the FS segment.
- Parameters
-
thread | Thread for which the FS base address shall be modified. |
base | Base address. |
utcb | UTCB of the caller. |
- Return values
-
L4_EOK | Success. |
-L4_EINVAL | Invalid base address (base ). |
-L4_ENOSYS | Operation not supported with current kernel configuration. |
- Note
- Calling this function is equivalent to calling
fiasco_amd64_set_segment_base(thread, L4_AMD64_SEGMENT_FS, base, utcb)
.
Definition at line 35 of file segment.h.
◆ fiasco_amd64_set_segment_base()
Set the base address for a segment.
- Parameters
-
thread | Thread for which the base address of the selected segment shall be modified. |
segr | Segment to modify (one of L4_sys_segment). |
base | Base address. |
utcb | UTCB of the caller. |
- Return values
-
L4_EOK | Success. |
-L4_EINVAL | Invalid segment (segr ) or base address (base ). |
-L4_ENOSYS | Operation not supported with current kernel configuration. |
Definition at line 43 of file segment.h.