/* Free a software acknowledge hardware resource by clearing its Pending bit. This will return a reply to the sender. If the message has timed out, a reply has already been sent by the hardware but the resource has not been released. In that case our clear of the Timeout bit (as well) will free the resource. No reply will be sent (the hardware will only do one reply per message).  */
static void uv_reply_to_message(int resource, struct bau_payload_queue_entry *msg, struct bau_msg_status *msp)
/* Free a software acknowledge hardware resource by clearing its Pending bit. This will return a reply to the sender. If the message has timed out, a reply has already been sent by the hardware but the resource has not been released. In that case our clear of the Timeout bit (as well) will free the resource. No reply will be sent (the hardware will only do one reply per message).  */
static void uv_reply_to_message(int resource, struct bau_payload_queue_entry *msg, struct bau_msg_status *msp)
{
	unsigned long dw;
	dw = (1 << (resource + UV_SW_ACK_NPENDING)) | (1 << resource);
	msg->replied_to = 1;
	msg->sw_ack_vector = 0;
	if (msp)
		msp->seen_by.bits = 0;
	uv_write_local_mmr(UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE_ALIAS, dw);
}