diff options
author | Marvin.Haeuser@outlook.com <Marvin.Haeuser@outlook.com> | 2017-08-04 03:52:08 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2017-08-16 16:55:30 +0800 |
commit | d0aef615acb0b1cb3c1662a7d2562ea7bef471ec (patch) | |
tree | ddc1f574dd4157472349c39c93cd59af605c7992 /EmbeddedPkg | |
parent | 8a765da2a3da23607cd46c18c7d05937cd09d799 (diff) | |
download | edk2-d0aef615acb0b1cb3c1662a7d2562ea7bef471ec.tar.gz edk2-d0aef615acb0b1cb3c1662a7d2562ea7bef471ec.tar.bz2 edk2-d0aef615acb0b1cb3c1662a7d2562ea7bef471ec.zip |
MdePkg/BaseLib: Add IsNodeInList() function.
This patch adds IsNodeInList() to BaseLib, which verifies the given
Node is part of the doubly-linked List provided.
V2:
- Rename "List" to "FirstEntry" and "Node" to "SecondEntry" to clarify that
"FirstEntry" does not need to be the doubly-linked list's head node.
V3:
- Remove ASSERTs from IsNodeInList() which are present in
InternalBaseLibIsListValid().
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'EmbeddedPkg')
0 files changed, 0 insertions, 0 deletions