2011-05-11 20:31:20 +02:00
|
|
|
/*++ @file
|
|
|
|
|
2018-08-30 03:53:49 +02:00
|
|
|
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
2011-05-11 20:31:20 +02:00
|
|
|
Portions copyright (c) 2011, Apple Inc. All rights reserved.
|
2019-04-04 01:03:44 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2011-05-11 20:31:20 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
2018-08-30 03:53:49 +02:00
|
|
|
#include "PlatformBm.h"
|
2011-05-11 20:31:20 +02:00
|
|
|
|
|
|
|
EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HARDWARE_DEVICE_PATH,
|
|
|
|
HW_VENDOR_DP,
|
|
|
|
{
|
|
|
|
(UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
|
|
|
|
(UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
|
|
|
|
}
|
|
|
|
},
|
|
|
|
EMU_THUNK_PROTOCOL_GUID
|
|
|
|
},
|
|
|
|
0
|
|
|
|
},
|
|
|
|
{
|
2012-12-22 01:44:04 +01:00
|
|
|
{
|
2011-05-11 20:31:20 +02:00
|
|
|
{
|
2014-07-04 22:50:41 +02:00
|
|
|
HARDWARE_DEVICE_PATH,
|
|
|
|
HW_VENDOR_DP,
|
|
|
|
{
|
|
|
|
(UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
|
|
|
|
(UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
|
|
|
|
},
|
2011-05-11 20:31:20 +02:00
|
|
|
},
|
|
|
|
EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
|
2012-12-22 01:44:04 +01:00
|
|
|
},
|
|
|
|
0
|
2011-05-11 20:31:20 +02:00
|
|
|
},
|
|
|
|
gEndEntire
|
|
|
|
};
|
|
|
|
|
2019-04-29 03:40:26 +02:00
|
|
|
EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath2 = {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HARDWARE_DEVICE_PATH,
|
|
|
|
HW_VENDOR_DP,
|
|
|
|
{
|
|
|
|
(UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
|
|
|
|
(UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
|
|
|
|
}
|
|
|
|
},
|
|
|
|
EMU_THUNK_PROTOCOL_GUID
|
|
|
|
},
|
|
|
|
0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
HARDWARE_DEVICE_PATH,
|
|
|
|
HW_VENDOR_DP,
|
|
|
|
{
|
|
|
|
(UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
|
|
|
|
(UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
|
|
|
|
},
|
|
|
|
1
|
|
|
|
},
|
|
|
|
gEndEntire
|
|
|
|
};
|
|
|
|
|
2011-05-11 20:31:20 +02:00
|
|
|
//
|
|
|
|
// Predefined platform default console device path
|
|
|
|
//
|
|
|
|
BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
|
|
|
|
{
|
|
|
|
(EFI_DEVICE_PATH_PROTOCOL *)&gGopDevicePath,
|
|
|
|
(CONSOLE_OUT | CONSOLE_IN)
|
|
|
|
},
|
2019-04-29 03:40:26 +02:00
|
|
|
{
|
|
|
|
(EFI_DEVICE_PATH_PROTOCOL *)&gGopDevicePath2,
|
|
|
|
(CONSOLE_OUT | CONSOLE_IN)
|
|
|
|
},
|
2011-05-11 20:31:20 +02:00
|
|
|
{
|
|
|
|
NULL,
|
|
|
|
0
|
|
|
|
}
|
|
|
|
};
|