/* Platform Bds init. Include the platform firmware vendor, revision and so crc check.  */
VOID EFIAPI PlatformBootManagerBeforeConsole(VOID)
/* Platform Bds init. Include the platform firmware vendor, revision and so crc check.  */
VOID EFIAPI PlatformBootManagerBeforeConsole(VOID)
{
  UINTN  Index;
  SetupVariableInit ();
  EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);
  Index = 0;
  while (gPlatformConsole[Index].DevicePath != NULL) {
    if ((gPlatformConsole[Index].ConnectType & CONSOLE_IN) == CONSOLE_IN) {
      EfiBootManagerUpdateConsoleVariable (ConIn, gPlatformConsole[Index].DevicePath, NULL);
    }
    if ((gPlatformConsole[Index].ConnectType & CONSOLE_OUT) == CONSOLE_OUT) {
      EfiBootManagerUpdateConsoleVariable (ConOut, gPlatformConsole[Index].DevicePath, NULL);
    }
    if ((gPlatformConsole[Index].ConnectType & STD_ERROR) == STD_ERROR) {
      EfiBootManagerUpdateConsoleVariable (ErrOut, gPlatformConsole[Index].DevicePath, NULL);
    }
    Index++;
  }
}