You've already forked edk2-upstream
mirror of
https://github.com/Dasharo/edk2-upstream.git
synced 2026-03-06 15:03:57 -08:00
The Universal Graphics Adapter (UGA) is a graphic abstraction. The UGA I/O and Draw protocols are deprecated since UEFI 2.0 was introduced. Cf. the UEFI spec v2.9: "Appendix L - EFI 1.10 Protocol Changes and Deprecation List" section L.2 "Deprecated Protocols" Remove the UGA support. Signed-off-by: GuoMinJ <newexplorerj@gmail.com> Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
92 lines
1.8 KiB
C
92 lines
1.8 KiB
C
/*++ @file
|
|
|
|
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
|
Portions copyright (c) 2011, Apple Inc. All rights reserved.
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#include "PlatformBm.h"
|
|
|
|
EMU_PLATFORM_GRAPHICS_WINDOW_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
|
|
},
|
|
{
|
|
{
|
|
{
|
|
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,
|
|
},
|
|
0
|
|
},
|
|
gEndEntire
|
|
};
|
|
|
|
EMU_PLATFORM_GRAPHICS_WINDOW_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
|
|
};
|
|
|
|
//
|
|
// Predefined platform default console device path
|
|
//
|
|
BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
|
|
{
|
|
(EFI_DEVICE_PATH_PROTOCOL *)&gGopDevicePath,
|
|
(CONSOLE_OUT | CONSOLE_IN)
|
|
},
|
|
{
|
|
(EFI_DEVICE_PATH_PROTOCOL *)&gGopDevicePath2,
|
|
(CONSOLE_OUT | CONSOLE_IN)
|
|
},
|
|
{
|
|
NULL,
|
|
0
|
|
}
|
|
};
|