/* It initializes the Reset2, ResetFilter and ResetHandler PPIs. */
EFI_STATUS EFIAPI InitializeResetSystem(IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
/* It initializes the Reset2, ResetFilter and ResetHandler PPIs. */
EFI_STATUS EFIAPI InitializeResetSystem(IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
{
  EFI_STATUS  Status;
  VOID        *Ppi;
  Status = PeiServicesLocatePpi (&gEfiPeiReset2PpiGuid, 0, NULL, (VOID **)&Ppi);
  if (Status != EFI_NOT_FOUND) {
    return EFI_ALREADY_STARTED;
  }
  PeiServicesInstallPpi (mPpiListReset);
  return Status;
}