Barrelfish
|
Client for interacting with the monitor. More...
Functions | |
errval_t | monitor_client_lmp_bind (struct monitor_lmp_binding *mcb, monitor_bind_continuation_fn *cont, void *st, struct waitset *ws, size_t lmp_buflen_words) |
Initiate a new LMP binding to the monitor. More... | |
errval_t | monitor_client_lmp_accept (struct monitor_lmp_binding *mcb, struct waitset *ws, size_t lmp_buflen_words) |
Accept a new LMP binding in a client from the monitor. More... | |
errval_t | monitor_client_new_binding (monitor_bind_continuation_fn *cont, void *st, struct waitset *ws, size_t lmp_buflen_words) |
Initiate a new (subsequent to boot) LMP binding to the monitor. More... | |
errval_t | monitor_client_blocking_rpc_init (void) |
Sets up binding to monitor's blocking rpc channel. | |
Client for interacting with the monitor.
errval_t monitor_client_lmp_accept | ( | struct monitor_lmp_binding * | mcb, |
struct waitset * | ws, | ||
size_t | lmp_buflen_words | ||
) |
Accept a new LMP binding in a client from the monitor.
Should only be used in the monitor.
mcb | Storage for binding state |
ws | Waitset for handling incoming messages |
buflen_words | Size of incoming buffer, in number of words |
errval_t monitor_client_lmp_bind | ( | struct monitor_lmp_binding * | mcb, |
monitor_bind_continuation_fn * | cont, | ||
void * | st, | ||
struct waitset * | ws, | ||
size_t | lmp_buflen_words | ||
) |
Initiate a new LMP binding to the monitor.
Must only be called once at startup time on any dispatcher.
mcb | Storage for binding state |
ws | Waitset for handling incoming messages |
cont | Continuation for when binding completes or fails |
st | State passed to continuation function |
buflen_words | Size of incoming buffer, in number of words |
errval_t monitor_client_new_binding | ( | monitor_bind_continuation_fn * | cont, |
void * | st, | ||
struct waitset * | ws, | ||
size_t | lmp_buflen_words | ||
) |
Initiate a new (subsequent to boot) LMP binding to the monitor.
May be called after initialisation to create another binding to the monitor. Must not be called in the monitor.
cont | Continuation for when binding completes or fails |
st | State passed to continuation function |
buflen_words | Size of incoming buffer, in number of words |
ws | Waitset for handling incoming messages |