MdeModulePkg DxeCore: Minor comments update to AllocatePool()
Follow UEFI 2.6 spec to minor update the comments of AllocatePool(). Cc: Liming Gao <liming.gao@intel.com> Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -197,8 +197,9 @@ LookupPoolHead (
|
||||
@param Buffer The address to return a pointer to the allocated
|
||||
pool
|
||||
|
||||
@retval EFI_INVALID_PARAMETER PoolType not valid or Buffer is NULL.
|
||||
PoolType was EfiPersistentMemory.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
PoolType is in the range EfiMaxMemoryType..0x6FFFFFFF.
|
||||
PoolType is EfiPersistentMemory.
|
||||
@retval EFI_OUT_OF_RESOURCES Size exceeds max pool size or allocation failed.
|
||||
@retval EFI_SUCCESS Pool successfully allocated.
|
||||
|
||||
@@ -256,7 +257,9 @@ CoreInternalAllocatePool (
|
||||
@param Buffer The address to return a pointer to the allocated
|
||||
pool
|
||||
|
||||
@retval EFI_INVALID_PARAMETER PoolType not valid or Buffer is NULL.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
PoolType is in the range EfiMaxMemoryType..0x6FFFFFFF.
|
||||
PoolType is EfiPersistentMemory.
|
||||
@retval EFI_OUT_OF_RESOURCES Size exceeds max pool size or allocation failed.
|
||||
@retval EFI_SUCCESS Pool successfully allocated.
|
||||
|
||||
|
Reference in New Issue
Block a user