#include <Library/DevicePathLib.h>\r
#include <Library/PcdLib.h>\r
#include <Library/QemuBootOrderLib.h>\r
+#include <Library/UefiBootManagerLib.h>\r
#include <Protocol/DevicePath.h>\r
#include <Protocol/GraphicsOutput.h>\r
#include <Protocol/PciIo.h>\r
return;\r
}\r
\r
- Status = BdsLibUpdateConsoleVariable (L"ConOut", DevicePath, NULL);\r
+ Status = EfiBootManagerUpdateConsoleVariable (ConOut, DevicePath, NULL);\r
if (EFI_ERROR (Status)) {\r
DEBUG ((EFI_D_ERROR, "%a: %s: adding to ConOut: %r\n", __FUNCTION__,\r
ReportText, Status));\r
return;\r
}\r
\r
- Status = BdsLibUpdateConsoleVariable (L"ErrOut", DevicePath, NULL);\r
+ Status = EfiBootManagerUpdateConsoleVariable (ErrOut, DevicePath, NULL);\r
if (EFI_ERROR (Status)) {\r
DEBUG ((EFI_D_ERROR, "%a: %s: adding to ErrOut: %r\n", __FUNCTION__,\r
ReportText, Status));\r
//\r
// Add the hardcoded short-form USB keyboard device path to ConIn.\r
//\r
- BdsLibUpdateConsoleVariable (L"ConIn",\r
+ EfiBootManagerUpdateConsoleVariable (ConIn,\r
(EFI_DEVICE_PATH_PROTOCOL *)&mUsbKeyboard, NULL);\r
\r
//\r
//\r
CopyGuid (&mSerialConsole.TermType.Guid,\r
PcdGetPtr (PcdTerminalTypeGuidBuffer));\r
- BdsLibUpdateConsoleVariable (L"ConIn",\r
+ EfiBootManagerUpdateConsoleVariable (ConIn,\r
(EFI_DEVICE_PATH_PROTOCOL *)&mSerialConsole, NULL);\r
- BdsLibUpdateConsoleVariable (L"ConOut",\r
+ EfiBootManagerUpdateConsoleVariable (ConOut,\r
(EFI_DEVICE_PATH_PROTOCOL *)&mSerialConsole, NULL);\r
- BdsLibUpdateConsoleVariable (L"ErrOut",\r
+ EfiBootManagerUpdateConsoleVariable (ErrOut,\r
(EFI_DEVICE_PATH_PROTOCOL *)&mSerialConsole, NULL);\r
\r
//\r