//\r
DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gPnpPs2KeyboardDeviceNode);\r
\r
- BdsLibUpdateConsoleVariable (VarConsoleInp, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConIn, DevicePath, NULL);\r
\r
//\r
// Register COM1\r
FreePool(DevPathStr);\r
}\r
\r
- BdsLibUpdateConsoleVariable (VarConsoleOut, DevicePath, NULL);\r
- BdsLibUpdateConsoleVariable (VarConsoleInp, DevicePath, NULL);\r
- BdsLibUpdateConsoleVariable (VarErrorOut, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConOut, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConIn, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ErrOut, DevicePath, NULL);\r
\r
//\r
// Register COM2\r
FreePool(DevPathStr);\r
}\r
\r
- BdsLibUpdateConsoleVariable (VarConsoleOut, DevicePath, NULL);\r
- BdsLibUpdateConsoleVariable (VarConsoleInp, DevicePath, NULL);\r
- BdsLibUpdateConsoleVariable (VarErrorOut, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConOut, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConIn, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ErrOut, DevicePath, NULL);\r
\r
return EFI_SUCCESS;\r
}\r
// Delete the PCI device's path that added by GetPlugInPciVgaDevicePath()\r
// Add the integrity GOP device path.\r
//\r
- BdsLibUpdateConsoleVariable (VarConsoleOutDev, NULL, PciDevicePath);\r
- BdsLibUpdateConsoleVariable (VarConsoleOutDev, TempDevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConOutDev, NULL, PciDevicePath);\r
+ EfiBootManagerUpdateConsoleVariable (ConOutDev, TempDevicePath, NULL);\r
}\r
}\r
gBS->FreePool (GopHandleBuffer);\r
GetGopDevicePath (DevicePath, &GopDevicePath);\r
DevicePath = GopDevicePath;\r
\r
- BdsLibUpdateConsoleVariable (VarConsoleOut, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConOut, DevicePath, NULL);\r
\r
return EFI_SUCCESS;\r
}\r
DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gUartDeviceNode);\r
DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gTerminalTypeDeviceNode);\r
\r
- BdsLibUpdateConsoleVariable (VarConsoleOut, DevicePath, NULL);\r
- BdsLibUpdateConsoleVariable (VarConsoleInp, DevicePath, NULL);\r
- BdsLibUpdateConsoleVariable (VarErrorOut, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConOut, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConIn, DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ErrOut, DevicePath, NULL);\r
\r
return EFI_SUCCESS;\r
}\r
// Update the console variable with the connect type\r
//\r
if ((PlatformConsole[Index].ConnectType & CONSOLE_IN) == CONSOLE_IN) {\r
- BdsLibUpdateConsoleVariable (VarConsoleInp, PlatformConsole[Index].DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConIn, PlatformConsole[Index].DevicePath, NULL);\r
}\r
if ((PlatformConsole[Index].ConnectType & CONSOLE_OUT) == CONSOLE_OUT) {\r
- BdsLibUpdateConsoleVariable (VarConsoleOut, PlatformConsole[Index].DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ConOut, PlatformConsole[Index].DevicePath, NULL);\r
}\r
if ((PlatformConsole[Index].ConnectType & STD_ERROR) == STD_ERROR) {\r
- BdsLibUpdateConsoleVariable (VarErrorOut, PlatformConsole[Index].DevicePath, NULL);\r
+ EfiBootManagerUpdateConsoleVariable (ErrOut, PlatformConsole[Index].DevicePath, NULL);\r
}\r
}\r
} else {\r