#include <l4_types.h>
Public Types | |
| enum | { Never = 0 } |
| Typical timout constants. More... | |
Public Member Functions | |
| L4_timeout (Mword snd_man, Mword snd_exp, Mword rcv_man, Mword rcv_exp, Mword snd_pflt, Mword rcv_pflt) | |
| Create the specified timeout. | |
| Mword | rcv_pfault () const |
| Get the receive page fault timeout. | |
| void | rcv_pfault (Mword pr) |
| Set the receive page fault timeout. | |
| Mword | snd_pfault () const |
| Get the send page fault timeout. | |
| void | snd_pfault (Mword ps) |
| Set the send page fault timeout. | |
| L4_timeout (Mword t=0) | |
| Create a timeout from it's binary representation. | |
| Mword | raw () |
| Get the binary representation of the timeout. | |
| Mword | rcv_exp () const |
| Get the receive exponent. | |
| void | rcv_exp (Mword er) |
| Set the exponent of the receive timeout. | |
| Mword | rcv_man () const |
| Get the receive timout's mantissa. | |
| void | rcv_man (Mword mr) |
| Set the mantissa of the receive timeout. | |
| Mword | snd_exp () const |
| Get tge send timeout exponent. | |
| void | snd_exp (Mword es) |
| Set the exponent of the send timeout. | |
| Mword | snd_man () const |
| Get the send timout's mantissa. | |
| void | snd_man (Mword ms) |
| Set the mantissa of the send timeout. | |
| Unsigned64 | rcv_microsecs_rel (Unsigned64 clock) const |
| Get the relative receive timeout in microseconds. | |
| Unsigned64 | snd_microsecs_rel (Unsigned64 clock) const |
| Get the relative send timeout in microseconds. | |
| Unsigned64 | rcv_microsecs_abs (Unsigned64 clock, bool c) const |
| Get the absolute receive timeout in microseconds. | |
| Unsigned64 | snd_microsecs_abs (Unsigned64 clock, bool c) const |
| Get the absolute send timeout in microseconds. | |
Private Types | |
| enum | { Rcv_exp_mask = 0xf, Rcv_exp_shift = 0, Snd_exp_mask = 0xf0, Snd_exp_shift = 4, Rcv_pfault_mask = 0xf00, Rcv_pfault_shift = 8, Snd_pfault_mask = 0xf000, Snd_pfault_shift = 12, Snd_man_mask = 0xff0000, Snd_man_shift = 16, Rcv_man_mask = 0xff000000, Rcv_man_shift = 24 } |
Private Attributes | |
| Mword | _t |
|
|
Typical timout constants.
|
|
|
|
|
||||||||||||||||||||||||||||
|
Create the specified timeout.
|
|
|
Create a timeout from it's binary representation.
|
|
|
Get the binary representation of the timeout.
|
|
|
Set the exponent of the receive timeout.
|
|
|
Get the receive exponent.
|
|
|
Set the mantissa of the receive timeout.
|
|
|
Get the receive timout's mantissa.
|
|
||||||||||||
|
Get the absolute receive timeout in microseconds.
|
|
|
Get the relative receive timeout in microseconds.
|
|
|
Set the receive page fault timeout.
|
|
|
Get the receive page fault timeout.
|
|
|
Set the exponent of the send timeout.
|
|
|
Get tge send timeout exponent.
|
|
|
Set the mantissa of the send timeout.
|
|
|
Get the send timout's mantissa.
|
|
||||||||||||
|
Get the absolute send timeout in microseconds.
|
|
|
Get the relative send timeout in microseconds.
|
|
|
Set the send page fault timeout.
|
|
|
Get the send page fault timeout.
|
|
|
|
1.4.2