/* Retrieves the PCD protocol from the handle database. */
PCD_PROTOCOL* EFIAPI GetPcdProtocol(VOID)
/* Retrieves the PCD protocol from the handle database. */
PCD_PROTOCOL* EFIAPI GetPcdProtocol(VOID)
{
  EFI_STATUS  Status;
  if (mPcd == NULL) {
    Status = gBS->LocateProtocol (&gPcdProtocolGuid, NULL, (VOID **)&mPcd);
    ASSERT_EFI_ERROR (Status);
    ASSERT (mPcd != NULL);
  }
  return mPcd;
}