mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-22 13:14:26 +02:00
Fix minor typos in BaseLib LinkedList comments
Signed-off-by: Samer El-Haj-Mahmoud elhaj@hp.com Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14204 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f06be00e7a
commit
a71865b162
@ -1291,7 +1291,7 @@ InitializeListHead (
|
|||||||
If Entry is NULL, then ASSERT().
|
If Entry is NULL, then ASSERT().
|
||||||
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number
|
If PcdMaximumLinkedListLength is not zero, and prior to insertion the number
|
||||||
of nodes in ListHead, including the ListHead node, is greater than or
|
of nodes in ListHead, including the ListHead node, is greater than or
|
||||||
equal to PcdMaximumLinkedListLength, then ASSERT().
|
equal to PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
@ -1321,7 +1321,7 @@ InsertHeadList (
|
|||||||
If Entry is NULL, then ASSERT().
|
If Entry is NULL, then ASSERT().
|
||||||
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number
|
If PcdMaximumLinkedListLength is not zero, and prior to insertion the number
|
||||||
of nodes in ListHead, including the ListHead node, is greater than or
|
of nodes in ListHead, including the ListHead node, is greater than or
|
||||||
equal to PcdMaximumLinkedListLength, then ASSERT().
|
equal to PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
@ -1350,7 +1350,7 @@ InsertTailList (
|
|||||||
If List is NULL, then ASSERT().
|
If List is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and the number of nodes
|
If PcdMaximumLinkedListLength is not zero, and the number of nodes
|
||||||
in List, including the List node, is greater than or equal to
|
in List, including the List node, is greater than or equal to
|
||||||
PcdMaximumLinkedListLength, then ASSERT().
|
PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
@ -1378,8 +1378,8 @@ GetFirstNode (
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and List contains more than
|
If PcdMaximumLinkedListLength is not zero, and List contains more than
|
||||||
PcdMaximumLinkedListLenth nodes, then ASSERT().
|
PcdMaximumLinkedListLength nodes, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||||
|
|
||||||
@param List A pointer to the head node of a doubly linked list.
|
@param List A pointer to the head node of a doubly linked list.
|
||||||
@ -1407,8 +1407,8 @@ GetNextNode (
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and List contains more than
|
If PcdMaximumLinkedListLength is not zero, and List contains more than
|
||||||
PcdMaximumLinkedListLenth nodes, then ASSERT().
|
PcdMaximumLinkedListLength nodes, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||||
|
|
||||||
@param List A pointer to the head node of a doubly linked list.
|
@param List A pointer to the head node of a doubly linked list.
|
||||||
@ -1434,7 +1434,7 @@ GetPreviousNode (
|
|||||||
If ListHead is NULL, then ASSERT().
|
If ListHead is NULL, then ASSERT().
|
||||||
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and the number of nodes
|
If PcdMaximumLinkedListLength is not zero, and the number of nodes
|
||||||
in List, including the List node, is greater than or equal to
|
in List, including the List node, is greater than or equal to
|
||||||
PcdMaximumLinkedListLength, then ASSERT().
|
PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
@ -1464,7 +1464,7 @@ IsListEmpty (
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead(),
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead(),
|
||||||
then ASSERT().
|
then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and the number of nodes
|
If PcdMaximumLinkedListLength is not zero, and the number of nodes
|
||||||
in List, including the List node, is greater than or equal to
|
in List, including the List node, is greater than or equal to
|
||||||
PcdMaximumLinkedListLength, then ASSERT().
|
PcdMaximumLinkedListLength, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List the and Node is not equal
|
If PcdVerifyNodeInList is TRUE and Node is not a node in List the and Node is not equal
|
||||||
@ -1496,7 +1496,7 @@ IsNull (
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and the number of nodes
|
If PcdMaximumLinkedListLength is not zero, and the number of nodes
|
||||||
in List, including the List node, is greater than or equal to
|
in List, including the List node, is greater than or equal to
|
||||||
PcdMaximumLinkedListLength, then ASSERT().
|
PcdMaximumLinkedListLength, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||||
|
@ -349,7 +349,7 @@ InternalSwitchStack (
|
|||||||
If List->ForwardLink is NULL, then ASSERT().
|
If List->ForwardLink is NULL, then ASSERT().
|
||||||
If List->backLink is NULL, then ASSERT().
|
If List->backLink is NULL, then ASSERT().
|
||||||
If Node is NULL, then ASSERT();
|
If Node is NULL, then ASSERT();
|
||||||
If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number
|
If PcdMaximumLinkedListLength is not zero, and prior to insertion the number
|
||||||
of nodes in ListHead, including the ListHead node, is greater than or
|
of nodes in ListHead, including the ListHead node, is greater than or
|
||||||
equal to PcdMaximumLinkedListLength, then ASSERT().
|
equal to PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and DoMembershipCheck is TRUE and Node
|
If PcdVerifyNodeInList is TRUE and DoMembershipCheck is TRUE and Node
|
||||||
is in not a member of List, then return FALSE
|
is in not a member of List, then return FALSE
|
||||||
If PcdMaximumLinkedListLenth is not zero, and List contains more than
|
If PcdMaximumLinkedListLength is not zero, and List contains more than
|
||||||
PcdMaximumLinkedListLenth nodes, then ASSERT().
|
PcdMaximumLinkedListLength nodes, then ASSERT().
|
||||||
|
|
||||||
@param List A pointer to a node in a linked list.
|
@param List A pointer to a node in a linked list.
|
||||||
@param Node A pointer to a node in a linked list.
|
@param Node A pointer to a node in a linked list.
|
||||||
@ -153,7 +153,7 @@ InitializeListHead (
|
|||||||
If Entry is NULL, then ASSERT().
|
If Entry is NULL, then ASSERT().
|
||||||
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number
|
If PcdMaximumLinkedListLength is not zero, and prior to insertion the number
|
||||||
of nodes in ListHead, including the ListHead node, is greater than or
|
of nodes in ListHead, including the ListHead node, is greater than or
|
||||||
equal to PcdMaximumLinkedListLength, then ASSERT().
|
equal to PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
@ -194,7 +194,7 @@ InsertHeadList (
|
|||||||
If Entry is NULL, then ASSERT().
|
If Entry is NULL, then ASSERT().
|
||||||
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and prior to insertion the number
|
If PcdMaximumLinkedListLength is not zero, and prior to insertion the number
|
||||||
of nodes in ListHead, including the ListHead node, is greater than or
|
of nodes in ListHead, including the ListHead node, is greater than or
|
||||||
equal to PcdMaximumLinkedListLength, then ASSERT().
|
equal to PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
@ -234,7 +234,7 @@ InsertTailList (
|
|||||||
If List is NULL, then ASSERT().
|
If List is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and the number of nodes
|
If PcdMaximumLinkedListLength is not zero, and the number of nodes
|
||||||
in List, including the List node, is greater than or equal to
|
in List, including the List node, is greater than or equal to
|
||||||
PcdMaximumLinkedListLength, then ASSERT().
|
PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
@ -269,8 +269,8 @@ GetFirstNode (
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and List contains more than
|
If PcdMaximumLinkedListLength is not zero, and List contains more than
|
||||||
PcdMaximumLinkedListLenth nodes, then ASSERT().
|
PcdMaximumLinkedListLength nodes, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||||
|
|
||||||
@param List A pointer to the head node of a doubly-linked list.
|
@param List A pointer to the head node of a doubly-linked list.
|
||||||
@ -305,8 +305,8 @@ GetNextNode (
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and List contains more than
|
If PcdMaximumLinkedListLength is not zero, and List contains more than
|
||||||
PcdMaximumLinkedListLenth nodes, then ASSERT().
|
PcdMaximumLinkedListLength nodes, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||||
|
|
||||||
@param List A pointer to the head node of a doubly-linked list.
|
@param List A pointer to the head node of a doubly-linked list.
|
||||||
@ -339,7 +339,7 @@ GetPreviousNode (
|
|||||||
If ListHead is NULL, then ASSERT().
|
If ListHead is NULL, then ASSERT().
|
||||||
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If ListHead was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and the number of nodes
|
If PcdMaximumLinkedListLength is not zero, and the number of nodes
|
||||||
in List, including the List node, is greater than or equal to
|
in List, including the List node, is greater than or equal to
|
||||||
PcdMaximumLinkedListLength, then ASSERT().
|
PcdMaximumLinkedListLength, then ASSERT().
|
||||||
|
|
||||||
@ -376,7 +376,7 @@ IsListEmpty (
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead(),
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or InitializeListHead(),
|
||||||
then ASSERT().
|
then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and the number of nodes
|
If PcdMaximumLinkedListLength is not zero, and the number of nodes
|
||||||
in List, including the List node, is greater than or equal to
|
in List, including the List node, is greater than or equal to
|
||||||
PcdMaximumLinkedListLength, then ASSERT().
|
PcdMaximumLinkedListLength, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List and Node is not
|
If PcdVerifyNodeInList is TRUE and Node is not a node in List and Node is not
|
||||||
@ -415,7 +415,7 @@ IsNull (
|
|||||||
If Node is NULL, then ASSERT().
|
If Node is NULL, then ASSERT().
|
||||||
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
If List was not initialized with INTIALIZE_LIST_HEAD_VARIABLE() or
|
||||||
InitializeListHead(), then ASSERT().
|
InitializeListHead(), then ASSERT().
|
||||||
If PcdMaximumLinkedListLenth is not zero, and the number of nodes
|
If PcdMaximumLinkedListLength is not zero, and the number of nodes
|
||||||
in List, including the List node, is greater than or equal to
|
in List, including the List node, is greater than or equal to
|
||||||
PcdMaximumLinkedListLength, then ASSERT().
|
PcdMaximumLinkedListLength, then ASSERT().
|
||||||
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
If PcdVerifyNodeInList is TRUE and Node is not a node in List, then ASSERT().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user