/* Reset the text output device hardware and optionally run diagnostics */
EFI_STATUS EFIAPI ConsoleLoggerReset(IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
/* Reset the text output device hardware and optionally run diagnostics */
EFI_STATUS EFIAPI ConsoleLoggerReset(IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN BOOLEAN ExtendedVerification)
{
  EFI_STATUS                   Status;
  CONSOLE_LOGGER_PRIVATE_DATA  *ConsoleInfo;
  ConsoleInfo = CONSOLE_LOGGER_PRIVATE_DATA_FROM_THIS (This);
  Status = ConsoleInfo->OldConOut->Reset (ConsoleInfo->OldConOut, ExtendedVerification);
  if (!EFI_ERROR (Status)) {
    ConsoleLoggerResetBuffers (ConsoleInfo);
    if (ExtendedVerification) {
      ConsoleInfo->OriginalStartRow = 0;
      ConsoleInfo->CurrentStartRow  = 0;
    }
  }
  return Status;
}