TianoCore EDK2
master
Loading...
Searching...
No Matches
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
EMU_PLATFORM_UGA_DEVICE_PATH
gGopDevicePath = {
12
{
13
{
14
{
15
HARDWARE_DEVICE_PATH
,
16
HW_VENDOR_DP
,
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
{
29
HARDWARE_DEVICE_PATH
,
30
HW_VENDOR_DP
,
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
43
EMU_PLATFORM_UGA_DEVICE_PATH
gGopDevicePath2 = {
44
{
45
{
46
{
47
HARDWARE_DEVICE_PATH
,
48
HW_VENDOR_DP
,
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
{
61
HARDWARE_DEVICE_PATH
,
62
HW_VENDOR_DP
,
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
//
78
BDS_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
};
HARDWARE_DEVICE_PATH
#define HARDWARE_DEVICE_PATH
Definition:
DevicePath.h:68
HW_VENDOR_DP
#define HW_VENDOR_DP
Definition:
DevicePath.h:133
NULL
#define NULL
Definition:
Base.h:319
PlatformBm.h
BDS_CONSOLE_CONNECT_ENTRY
Definition:
PlatformBm.h:42
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
EMU_PLATFORM_UGA_DEVICE_PATH
Definition:
PlatformBm.h:59
EMU_VENDOR_DEVICE_PATH_NODE
Definition:
EmuThunk.h:25
EmulatorPkg
Library
PlatformBmLib
PlatformBmData.c
Generated on Fri Nov 15 2024 18:01:07 for TianoCore EDK2 by
1.9.6