/* Initialize a memory queue to be empty and valid. 
where H is the pointer to Head link-element (oldest element). where T is the pointer to Tail link-element (newest element). where I means the initial link-element, whose mem pointer is DontCare. where A means the A'th link-element, whose mem pointer is b. */
memq_link_t* memq_init(memq_link_t *link, memq_link_t **head, memq_link_t **tail)
/* Initialize a memory queue to be empty and valid. 
where H is the pointer to Head link-element (oldest element). where T is the pointer to Tail link-element (newest element). where I means the initial link-element, whose mem pointer is DontCare. where A means the A'th link-element, whose mem pointer is b. */
memq_link_t* memq_init(memq_link_t *link, memq_link_t **head, memq_link_t **tail)
{
	*head = *tail = link;
	return link;
}