/* Do the platform specific action after the console is ready Possible things that can be done in PlatformBootManagerAfterConsole:  */
VOID EFIAPI PlatformBootManagerAfterConsole(VOID)
/* Do the platform specific action after the console is ready Possible things that can be done in PlatformBootManagerAfterConsole:  */
VOID EFIAPI PlatformBootManagerAfterConsole(VOID)
{
  RETURN_STATUS  Status;
  UINTN          FirmwareVerLength;
  FirmwareVerLength = StrLen (PcdGetPtr (PcdFirmwareVersionString));
  BootLogoEnableLogo ();
  if (FirmwareVerLength > 0) {
    Print (
      VERSION_STRING_PREFIX L"%s\n",
      PcdGetPtr (PcdFirmwareVersionString)
      );
  }
  Print (L"Press ESCAPE within %u seconds for boot options ", PcdGet16 (PcdPlatformBootTimeOut));
  TryRunningQemuKernel ();
  Status = ConnectDevicesFromQemu ();
  if (RETURN_ERROR (Status)) {
    EfiBootManagerConnectAll ();
  }
  EfiBootManagerRefreshAllBootOption ();
  PlatformRegisterFvBootOption (
    &gUefiShellFileGuid,
    L"EFI Internal Shell",
    LOAD_OPTION_ACTIVE
    );
  RemoveStaleFvFileOptions ();
  SetBootOrderFromQemu ();
  PlatformBmPrintScRegisterHandler ();
}