/* This service allocates memory from the Hand-Off Block (HOB) heap. */
EFI_STATUS EFIAPI PeiServicesAllocatePool(IN UINTN Size, OUT VOID **Buffer)
/* This service allocates memory from the Hand-Off Block (HOB) heap. */
EFI_STATUS EFIAPI PeiServicesAllocatePool(IN UINTN Size, OUT VOID **Buffer)
{
  CONST EFI_PEI_SERVICES  **PeiServices;
  PeiServices = GetPeiServicesTablePointer ();
  return (*PeiServices)->AllocatePool (PeiServices, Size, Buffer);
}