Clean up the following module msa files, they are edkmodule package ftwlit, Crc32Sect...
[mirror_edk2.git] / EdkUnixPkg / Dxe / PlatformBds / PlatformData.c
CommitLineData
c9093a06 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name: \r
13\r
14 PlatformData.c\r
15\r
16Abstract:\r
17 \r
18 Defined the platform specific device path which will be used by\r
19 platform Bbd to perform the platform policy connect.\r
20\r
21--*/\r
22\r
c9093a06 23#include "BdsPlatform.h"\r
24\r
25//\r
26// Predefined platform default time out value\r
27//\r
28UINT16 gPlatformBootTimeOutDefault = 10;\r
29\r
30//\r
31// Platform specific keyboard device path\r
32//\r
997e26f6 33UNIX_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath0 = \r
34{\r
c9093a06 35 {\r
997e26f6 36 {\r
37 HARDWARE_DEVICE_PATH,\r
38 HW_VENDOR_DP,\r
39 {\r
40 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
41 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8)\r
42 }\r
43 },\r
c9093a06 44 EFI_UNIX_THUNK_PROTOCOL_GUID\r
45 },\r
46 {\r
997e26f6 47 {\r
48 {\r
49 HARDWARE_DEVICE_PATH,\r
50 HW_VENDOR_DP,\r
51 {\r
52 (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),\r
53 (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
54 }\r
55 },\r
56 EFI_UNIX_UGA_GUID\r
57 },\r
c9093a06 58 0\r
59 },\r
60 gEndEntire\r
61};\r
62\r
63UNIX_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath1 = {\r
64 {\r
997e26f6 65 {\r
66 HARDWARE_DEVICE_PATH,\r
67 HW_VENDOR_DP,\r
68 {\r
69 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
70 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8)\r
71 }\r
72 },\r
c9093a06 73 EFI_UNIX_THUNK_PROTOCOL_GUID\r
74 },\r
75 {\r
997e26f6 76 {\r
77 {\r
78 HARDWARE_DEVICE_PATH,\r
79 HW_VENDOR_DP,\r
80 {\r
81 (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),\r
82 (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
83 }\r
84 },\r
85 EFI_UNIX_UGA_GUID\r
86 },\r
c9093a06 87 1\r
88 },\r
89 gEndEntire\r
90};\r
91\r
92UNIX_CONSOLE_DEVICE_PATH gUnixConsoleDevicePath = {\r
93 {\r
997e26f6 94 {\r
95 HARDWARE_DEVICE_PATH,\r
96 HW_VENDOR_DP,\r
97 {\r
98 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
99 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8)\r
100 }\r
101 },\r
c9093a06 102 EFI_UNIX_THUNK_PROTOCOL_GUID\r
103 },\r
104 {\r
997e26f6 105 {\r
106 {\r
107 HARDWARE_DEVICE_PATH,\r
108 HW_VENDOR_DP,\r
109 {\r
110 (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),\r
111 (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8)\r
112 }\r
113 },\r
114 EFI_UNIX_CONSOLE_GUID\r
115 },\r
116 0\r
c9093a06 117 },\r
118 gEndEntire\r
119};\r
120//\r
121// Predefined platform default console device path\r
122//\r
123BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {\r
124 {\r
125 (EFI_DEVICE_PATH_PROTOCOL *) &gUnixConsoleDevicePath,\r
126 (CONSOLE_OUT | CONSOLE_IN)\r
127 },\r
128 {\r
129 (EFI_DEVICE_PATH_PROTOCOL *) &gUgaDevicePath0,\r
130 (CONSOLE_OUT | CONSOLE_IN)\r
131 },\r
132 {\r
133 (EFI_DEVICE_PATH_PROTOCOL *) &gUgaDevicePath1,\r
134 (CONSOLE_OUT | CONSOLE_IN)\r
135 },\r
136 {\r
137 NULL,\r
138 0\r
139 }\r
140};\r
141\r
142//\r
143// Predefined platform specific driver option\r
144//\r
145EFI_DEVICE_PATH_PROTOCOL *gPlatformDriverOption[] = { NULL };\r
146\r
147//\r
148// Predefined platform connect sequence\r
149//\r
150EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[] = { NULL };\r