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