]> git.proxmox.com Git - mirror_edk2.git/blame - EmulatorPkg/Library/EmuBdsLib/PlatformData.c
Fix structure init issues.
[mirror_edk2.git] / EmulatorPkg / Library / EmuBdsLib / PlatformData.c
CommitLineData
949f388f 1/*++ @file\r
2\r
3Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
4Portions copyright (c) 2011, Apple Inc. All rights reserved.\r
d18d8a1d 5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
949f388f 12\r
13**/\r
14\r
15#include "BdsPlatform.h"\r
16\r
17\r
18\r
19EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {\r
20 {\r
21 {\r
22 {\r
23 HARDWARE_DEVICE_PATH,\r
24 HW_VENDOR_DP,\r
25 {\r
26 (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),\r
27 (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
28 }\r
29 },\r
30 EMU_THUNK_PROTOCOL_GUID\r
31 },\r
32 0\r
33 },\r
34 {\r
6c76e4fa 35 {\r
949f388f 36 HARDWARE_DEVICE_PATH,\r
37 HW_VENDOR_DP,\r
38 {\r
39 (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),\r
40 (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
41 },\r
42 EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,\r
6c76e4fa 43 },\r
44 0\r
949f388f 45 },\r
46 gEndEntire\r
47};\r
48\r
49//\r
50// Predefined platform default console device path\r
51//\r
52BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {\r
53 {\r
54 (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath,\r
55 (CONSOLE_OUT | CONSOLE_IN)\r
56 },\r
57 {\r
58 NULL,\r
59 0\r
60 }\r
61};\r
62\r
63//\r
64// Predefined platform specific driver option\r
65//\r
66EFI_DEVICE_PATH_PROTOCOL *gPlatformDriverOption[] = { NULL };\r
67\r
68//\r
69// Predefined platform connect sequence\r
70//\r
71EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[] = { NULL };\r