summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorShumin Qiu <shumin.qiu@intel.com>2015-03-10 06:57:04 +0000
committershenshushi <shenshushi@Edk2>2015-03-10 06:57:04 +0000
commitdd51e45b6fc28b5240d37dd941aea5231f14db90 (patch)
tree853008cbdffeb5cb48d14c027dae0485b9053b66 /MdeModulePkg
parent567906c7b9decbc2f1c369101876ba3c170746b5 (diff)
downloadedk2-platforms-dd51e45b6fc28b5240d37dd941aea5231f14db90.tar.xz
MdeModulePkg: Add function comment for 'GetPoolIndexFromSize'.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17037 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/Dxe/Mem/Pool.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/Dxe/Mem/Pool.c b/MdeModulePkg/Core/Dxe/Mem/Pool.c
index fd9f065daf..e43bac834e 100644
--- a/MdeModulePkg/Core/Dxe/Mem/Pool.c
+++ b/MdeModulePkg/Core/Dxe/Mem/Pool.c
@@ -85,6 +85,14 @@ POOL mPoolHead[EfiMaxMemoryType];
//
LIST_ENTRY mPoolHeadList = INITIALIZE_LIST_HEAD_VARIABLE (mPoolHeadList);
+/**
+ Get pool size table index from the specified size.
+
+ @param Size The specified size to get index from pool table.
+
+ @return The index of pool size table.
+
+**/
STATIC
UINTN
GetPoolIndexFromSize (