]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/Library/PlatformBmLib/PlatformBmData.c
EmulatorPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / EmulatorPkg / Library / PlatformBmLib / PlatformBmData.c
1 /*++ @file
2
3 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
4 Portions copyright (c) 2011, Apple Inc. All rights reserved.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #include "PlatformBm.h"
10
11
12
13 EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
14 {
15 {
16 {
17 HARDWARE_DEVICE_PATH,
18 HW_VENDOR_DP,
19 {
20 (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
21 (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
22 }
23 },
24 EMU_THUNK_PROTOCOL_GUID
25 },
26 0
27 },
28 {
29 {
30 {
31 HARDWARE_DEVICE_PATH,
32 HW_VENDOR_DP,
33 {
34 (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
35 (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
36 },
37 },
38 EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
39 },
40 0
41 },
42 gEndEntire
43 };
44
45 //
46 // Predefined platform default console device path
47 //
48 BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
49 {
50 (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath,
51 (CONSOLE_OUT | CONSOLE_IN)
52 },
53 {
54 NULL,
55 0
56 }
57 };
58