diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c index 41f41f03aa..0244ae22a9 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c @@ -14,6 +14,7 @@ #include #include #include +#include EFI_GUID mBootMenuFile = { 0xEEC25BDC, 0x67F2, 0x4D95, { 0xB1, 0xD5, 0xF8, 0x1B, 0x20, 0x39, 0xD1, 0x1D } @@ -846,6 +847,7 @@ PrepareLpcBridgeDevicePath ( EFI_STATUS Status; EFI_DEVICE_PATH_PROTOCOL *DevicePath; EFI_DEVICE_PATH_PROTOCOL *TempDevicePath; + EFI_GUID TerminalTypeGuid; CHAR16 *DevPathStr; DevicePath = NULL; @@ -884,6 +886,10 @@ PrepareLpcBridgeDevicePath ( DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gUartDeviceNode ); + + TerminalTypeGuid = gEfiTtyTermGuid; + CopyGuid (&gTerminalTypeDeviceNode.Guid, &TerminalTypeGuid); + DevicePath = AppendDevicePathNode ( DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gTerminalTypeDeviceNode diff --git a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf index c6ffc1ed9e..db20f66dbc 100644 --- a/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf +++ b/OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf @@ -87,3 +87,4 @@ gRootBridgesConnectedEventGroupGuid gUefiShellFileGuid gGrubFileGuid + gEfiTtyTermGuid