/* Retrieves the PI PCD protocol from the handle database. */
EFI_PCD_PROTOCOL* EFIAPI GetPiPcdProtocol(VOID)
/* Retrieves the PI PCD protocol from the handle database. */
EFI_PCD_PROTOCOL* EFIAPI GetPiPcdProtocol(VOID)
{
  EFI_STATUS  Status;
  if (mPiPcd == NULL) {
    Status = gBS->LocateProtocol (&gEfiPcdProtocolGuid, NULL, (VOID **)&mPiPcd);
    ASSERT_EFI_ERROR (Status);
    ASSERT (mPiPcd != NULL);
  }
  return mPiPcd;
}