Data Structures | |
| struct | l4_timeout_s |
| Basic timeout specification. More... | |
| union | l4_timeout_t |
| For IPC there are usually a send and a receive timeout. More... | |
Functions | |
| l4_timeout_s | l4_timeout_rel (unsigned man, unsigned exp) |
| Get relative timeout consisting of mantissa and exponent. | |
| l4_timeout_s | l4_timeout_abs (l4_kernel_clock_t pint, enum l4_timeout_abs_validity v) |
| Get absolute timeout. | |
| l4_timeout_t | l4_timeout (l4_timeout_s snd, l4_timeout_s rcv) |
| Combine send and receive timeout in a timeout. | |
| void | l4_snd_timeout (l4_timeout_s snd, l4_timeout_t *to) |
| Set send timeout in given to timeout. | |
| void | l4_rcv_timeout (l4_timeout_s rcv, l4_timeout_t *to) |
| Set receive timeout in given to timeout. | |
| l4_kernel_clock_t | l4_timeout_rel_get (l4_timeout_s to) |
| Get clock value of out timeout. | |
| l4_kernel_clock_t | l4_timeout_abs_get (l4_kernel_clock_t cur, l4_timeout_s to) |
| Get clock value for a clock + an absolute timeout. | |
| unsigned | l4_timeout_is_absolute (l4_timeout_s to) |
| Return whether the given timeout is absolute or not. | |
| l4_kernel_clock_t | l4_timeout_get (l4_kernel_clock_t cur, l4_timeout_s to) |
| Get clock value for a clock + a timeout. | |
| l4_timeout_s l4_timeout_rel | ( | unsigned | man, | |
| unsigned | exp | |||
| ) | [inline] |
Get relative timeout consisting of mantissa and exponent.
| man | Mantissa of timeout | |
| exp | Exponent of timeout |
Definition at line 258 of file __timeout.h.
| l4_timeout_s l4_timeout_abs | ( | l4_kernel_clock_t | pint, | |
| enum l4_timeout_abs_validity | v | |||
| ) | [inline] |
Get absolute timeout.
| pint | Point in time in clocks | |
| v | Granularity |
Definition at line 241 of file __timeout.h.
References l4_timeout_s::t.
| l4_timeout_t l4_timeout | ( | l4_timeout_s | snd, | |
| l4_timeout_s | rcv | |||
| ) | [inline] |
Combine send and receive timeout in a timeout.
| snd | Send timeout | |
| rcv | Receive timeout |
Definition at line 217 of file __timeout.h.
References l4_timeout_t::p, l4_timeout_t::rcv, and l4_timeout_t::snd.
| void l4_snd_timeout | ( | l4_timeout_s | snd, | |
| l4_timeout_t * | to | |||
| ) | [inline] |
Set send timeout in given to timeout.
| snd | Send timeout |
| to | L4 timeout |
Definition at line 227 of file __timeout.h.
References l4_timeout_t::p, and l4_timeout_t::snd.
| void l4_rcv_timeout | ( | l4_timeout_s | rcv, | |
| l4_timeout_t * | to | |||
| ) | [inline] |
Set receive timeout in given to timeout.
| rcv | Receive timeout |
| to | L4 timeout |
Definition at line 234 of file __timeout.h.
References l4_timeout_t::p, and l4_timeout_t::rcv.
| l4_kernel_clock_t l4_timeout_rel_get | ( | l4_timeout_s | to | ) | [inline] |
Get clock value of out timeout.
| to | L4 timeout |
Definition at line 265 of file __timeout.h.
References l4_timeout_s::t.
Referenced by l4_timeout_get().
| l4_kernel_clock_t l4_timeout_abs_get | ( | l4_kernel_clock_t | cur, | |
| l4_timeout_s | to | |||
| ) | [inline] |
Get clock value for a clock + an absolute timeout.
| cur | Clock value | |
| to | L4 timeout |
Definition at line 274 of file __timeout.h.
References l4_timeout_s::t.
Referenced by l4_timeout_get().
| unsigned l4_timeout_is_absolute | ( | l4_timeout_s | to | ) | [inline] |
Return whether the given timeout is absolute or not.
| to | L4 timeout |
Definition at line 289 of file __timeout.h.
References l4_timeout_s::t.
Referenced by l4_timeout_get().
| l4_kernel_clock_t l4_timeout_get | ( | l4_kernel_clock_t | cur, | |
| l4_timeout_s | to | |||
| ) | [inline] |
Get clock value for a clock + a timeout.
| cur | Clock value | |
| to | L4 timeout |
Definition at line 296 of file __timeout.h.
References l4_timeout_abs_get(), l4_timeout_is_absolute(), and l4_timeout_rel_get().