]> git.proxmox.com Git - mirror_edk2.git/blame - InOsEmuPkg/Library/EmuBdsLib/PlatformData.c
Clarify the requirements for the Destination parameter of UnicodeStrToAsciiStr.
[mirror_edk2.git] / InOsEmuPkg / 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
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
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
35 HARDWARE_DEVICE_PATH,\r
36 HW_VENDOR_DP,\r
37 {\r
38 (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),\r
39 (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
40 },\r
41 EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,\r
42 0\r
43 },\r
44 gEndEntire\r
45};\r
46\r
47//\r
48// Predefined platform default console device path\r
49//\r
50BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {\r
51 {\r
52 (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath,\r
53 (CONSOLE_OUT | CONSOLE_IN)\r
54 },\r
55 {\r
56 NULL,\r
57 0\r
58 }\r
59};\r
60\r
61//\r
62// Predefined platform specific driver option\r
63//\r
64EFI_DEVICE_PATH_PROTOCOL *gPlatformDriverOption[] = { NULL };\r
65\r
66//\r
67// Predefined platform connect sequence\r
68//\r
69EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[] = { NULL };\r