add recv_resp_noyield

Signed-off-by: Abhiram Balasubramanian's avatarAbhiram Balasubramanian <abhiram@cs.utah.edu>
parent bdc55f3d
Subproject commit 167428822a11ea1b74c9507c3b2e54cd893e7a1e
Subproject commit 7a28bf016381b9447faa0f43b0a33dd82e8a9a58
This diff is collapsed.
......@@ -215,10 +215,21 @@ int thc_ipc_send_request(struct thc_channel *chnl,
*
* Returns 0 on success, non-zero otherwise.
*/
int thc_ipc_recv_response_lcd(struct thc_channel *chnl,
uint32_t request_cookie,
struct fipc_message **response);
int thc_ipc_recv_response(struct thc_channel *chnl,
uint32_t request_cookie,
struct fipc_message **response);
int thc_ipc_recv_resp_noyield(struct thc_channel *chnl,
struct fipc_message **response);
int thc_ipc_recv_response_noyield_mwait(struct thc_channel *chnl,
struct fipc_message **response);
void thc_ipc_dump_stat(void);
/* thc_poll_recv
*
* Looks at the fipc channel, and does the following:
......@@ -239,6 +250,11 @@ int thc_ipc_recv_response(struct thc_channel *chnl,
*/
int thc_ipc_poll_recv(struct thc_channel *chnl,
struct fipc_message **out_msg);
int thc_ipc_poll_recv_klcd(struct thc_channel *chnl,
struct fipc_message **out_msg);
int thc_ipc_poll_recv_lcd(struct thc_channel *chnl,
struct fipc_message **out_msg);
/*
* thc_ipc_call
......@@ -254,6 +270,14 @@ int thc_ipc_poll_recv(struct thc_channel *chnl,
int thc_ipc_call(struct thc_channel *chnl,
struct fipc_message *request,
struct fipc_message **response);
int thc_ipc_call_lcd(struct thc_channel *chnl,
struct fipc_message *request,
struct fipc_message **response);
int thc_ipc_call_noyield_single_chnl(struct thc_channel *chnl,
struct fipc_message *request,
struct fipc_message **response);
/*
* thc_ipc_reply
......@@ -364,7 +388,17 @@ thc_channel_group_item_to_fipc(struct thc_channel_group_item *item)
*
* Returns 0 on success, non-zero otherwise.
*/
int thc_poll_recv_group_lcd(struct thc_channel_group* chan_group,
struct thc_channel_group_item** chan_group_item,
struct fipc_message** out_msg);
int thc_poll_recv_group(struct thc_channel_group* chan_group,
struct thc_channel_group_item** chan_group_item,
struct fipc_message** out_msg);
int thc_poll_recv_group_klcd(struct thc_channel_group* chan_group,
struct thc_channel_group_item** chan_group_item,
struct fipc_message** out_msg);
#endif
......@@ -17,6 +17,7 @@ struct predicate_payload
uint32_t expected_msg_id;
uint32_t actual_msg_id;
msg_type_t msg_type;
int fn_type;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment