TianoCore EDK2 master
Loading...
Searching...
No Matches
PlatformBmData.c
1/*++ @file
2
3Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
4Portions copyright (c) 2011, Apple Inc. All rights reserved.
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#include "PlatformBm.h"
10
11EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
12 {
13 {
14 {
17 {
18 (UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
19 (UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
20 }
21 },
22 EMU_THUNK_PROTOCOL_GUID
23 },
24 0
25 },
26 {
27 {
28 {
31 {
32 (UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
33 (UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
34 },
35 },
36 EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
37 },
38 0
39 },
40 gEndEntire
41};
42
43EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath2 = {
44 {
45 {
46 {
49 {
50 (UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
51 (UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
52 }
53 },
54 EMU_THUNK_PROTOCOL_GUID
55 },
56 0
57 },
58 {
59 {
60 {
63 {
64 (UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
65 (UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
66 },
67 },
68 EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
69 },
70 1
71 },
72 gEndEntire
73};
74
75//
76// Predefined platform default console device path
77//
78BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
79 {
80 (EFI_DEVICE_PATH_PROTOCOL *)&gGopDevicePath,
81 (CONSOLE_OUT | CONSOLE_IN)
82 },
83 {
84 (EFI_DEVICE_PATH_PROTOCOL *)&gGopDevicePath2,
85 (CONSOLE_OUT | CONSOLE_IN)
86 },
87 {
88 NULL,
89 0
90 }
91};
#define HARDWARE_DEVICE_PATH
Definition: DevicePath.h:68
#define HW_VENDOR_DP
Definition: DevicePath.h:133
#define NULL
Definition: Base.h:319