diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-11 12:32:19 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-11 12:32:19 +0000 |
commit | aa0583c78369a5a85d7bf26c76240ae4e3086c42 (patch) | |
tree | a4d6b278b7ab9dbdd96e6b4f5478d89e8eea6dee /MdePkg/Library/BaseLib/LinkedList.c | |
parent | e500088c2d544465bbb0eff5ba94ece5210124bc (diff) | |
download | edk2-platforms-aa0583c78369a5a85d7bf26c76240ae4e3086c42.tar.xz |
Modify MDE source code according to MDE library update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6103 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/LinkedList.c')
-rw-r--r-- | MdePkg/Library/BaseLib/LinkedList.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/MdePkg/Library/BaseLib/LinkedList.c b/MdePkg/Library/BaseLib/LinkedList.c index d20c146c11..6f0d5c9534 100644 --- a/MdePkg/Library/BaseLib/LinkedList.c +++ b/MdePkg/Library/BaseLib/LinkedList.c @@ -1,7 +1,7 @@ /** @file
Linked List Library Functions.
- Copyright (c) 2006, Intel Corporation<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -289,11 +289,13 @@ IsListEmpty ( }
/**
- Determines if a node in a doubly linked list is null.
+ Determines if a node in a doubly linked list is the head node of a the same
+ doubly linked list. This function is typically used to terminate a loop that
+ traverses all the nodes in a doubly linked list starting with the head node.
- Returns FALSE if Node is one of the nodes in the doubly linked list specified
- by List. Otherwise, TRUE is returned. List must have been initialized with
- InitializeListHead().
+ Returns TRUE if Node is equal to List. Returns FALSE if Node is one of the
+ nodes in the doubly linked list specified by List. List must have been
+ initialized with InitializeListHead().
If List is NULL, then ASSERT().
If Node is NULL, then ASSERT().
|