THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
- Module Name: LinkedList.c\r
-\r
**/\r
\r
+\r
+\r
+\r
+#include "BaseLibInternals.h"\r
+\r
/**\r
Worker function that locates the Node in the List\r
\r
\r
**/\r
BOOLEAN\r
+EFIAPI\r
IsNodeInList (\r
IN CONST LIST_ENTRY *List,\r
IN CONST LIST_ENTRY *Node\r
\r
If ListHead is NULL, then ASSERT().\r
\r
- @param ListHead A pointer to the head node of a new doubly linked list.\r
+ @param List A pointer to the head node of a new doubly linked list.\r
\r
@return ListHead\r
\r
of nodes in ListHead, including the ListHead node, is greater than or\r
equal to PcdMaximumLinkedListLength, then ASSERT().\r
\r
- @param ListHead A pointer to the head node of a doubly linked list.\r
+ @param List A pointer to the head node of a doubly linked list.\r
@param Entry A pointer to a node that is to be inserted at the beginning\r
of a doubly linked list.\r
\r
of nodes in ListHead, including the ListHead node, is greater than or\r
equal to PcdMaximumLinkedListLength, then ASSERT().\r
\r
- @param ListHead A pointer to the head node of a doubly linked list.\r
+ @param List A pointer to the head node of a doubly linked list.\r
@param Entry A pointer to a node that is to be added at the end of the\r
doubly linked list.\r
\r
in List, including the List node, is greater than or equal to\r
PcdMaximumLinkedListLength, then ASSERT().\r
\r
- @param ListHead A pointer to the head node of a doubly linked list.\r
+ @param List A pointer to the head node of a doubly linked list.\r
\r
@retval TRUE The linked list is empty.\r
@retval FALSE The linked list is not empty.\r
\r
@param FirstEntry A pointer to a node in a linked list.\r
@param SecondEntry A pointer to another node in the same linked list.\r
+ \r
+ @return SecondEntry\r
\r
**/\r
LIST_ENTRY *\r