Fixed Case of include bootmaint.h to correct BootMaint.h, also corrected the case...
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / PlatformData.c
CommitLineData
878ddf1f 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
23#include "Generic/Bds.h"\r
24#include "BdsPlatform.h"\r
25\r
26//\r
27// Predefined platform default time out value\r
28//\r
29UINT16 gPlatformBootTimeOutDefault = 10;\r
30\r
31//\r
32// Platform specific keyboard device path\r
33//\r
34NT_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath0 = {\r
35 {\r
36 HARDWARE_DEVICE_PATH,\r
37 HW_VENDOR_DP,\r
38 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
39 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),\r
40 EFI_WIN_NT_THUNK_PROTOCOL_GUID\r
41 },\r
42 {\r
43 HARDWARE_DEVICE_PATH,\r
44 HW_VENDOR_DP,\r
45 (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),\r
46 (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),\r
47 EFI_WIN_NT_UGA_GUID,\r
48 0\r
49 },\r
50 gEndEntire\r
51};\r
52\r
53NT_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath1 = {\r
54 {\r
55 HARDWARE_DEVICE_PATH,\r
56 HW_VENDOR_DP,\r
57 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
58 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),\r
59 EFI_WIN_NT_THUNK_PROTOCOL_GUID\r
60 },\r
61 {\r
62 HARDWARE_DEVICE_PATH,\r
63 HW_VENDOR_DP,\r
64 (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),\r
65 (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),\r
66 EFI_WIN_NT_UGA_GUID,\r
67 1\r
68 },\r
69 gEndEntire\r
70};\r
71\r
72//\r
73// Platform specific serial device path\r
74//\r
75NT_ISA_SERIAL_DEVICE_PATH gNtSerialDevicePath0 = {\r
76 {\r
77 HARDWARE_DEVICE_PATH,\r
78 HW_VENDOR_DP,\r
79 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
80 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),\r
81 EFI_WIN_NT_THUNK_PROTOCOL_GUID\r
82 },\r
83 {\r
84 HARDWARE_DEVICE_PATH,\r
85 HW_VENDOR_DP,\r
86 (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),\r
87 (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),\r
88 EFI_WIN_NT_SERIAL_PORT_GUID\r
89 },\r
90 {\r
91 MESSAGING_DEVICE_PATH,\r
92 MSG_UART_DP,\r
93 (UINT8) (sizeof (UART_DEVICE_PATH)),\r
94 (UINT8) ((sizeof (UART_DEVICE_PATH)) >> 8),\r
95 0,\r
96 115200,\r
97 8,\r
98 1,\r
99 1\r
100 },\r
101 {\r
102 MESSAGING_DEVICE_PATH,\r
103 MSG_VENDOR_DP,\r
104 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
105 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),\r
106 DEVICE_PATH_MESSAGING_PC_ANSI\r
107 },\r
108 gEndEntire\r
109};\r
110\r
111NT_ISA_SERIAL_DEVICE_PATH gNtSerialDevicePath1 = {\r
112 {\r
113 HARDWARE_DEVICE_PATH,\r
114 HW_VENDOR_DP,\r
115 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
116 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),\r
117 EFI_WIN_NT_THUNK_PROTOCOL_GUID\r
118 },\r
119 {\r
120 HARDWARE_DEVICE_PATH,\r
121 HW_VENDOR_DP,\r
122 (UINT8) (sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)),\r
123 (UINT8) ((sizeof (WIN_NT_VENDOR_DEVICE_PATH_NODE)) >> 8),\r
124 EFI_WIN_NT_SERIAL_PORT_GUID,\r
125 1\r
126 },\r
127 {\r
128 MESSAGING_DEVICE_PATH,\r
129 MSG_UART_DP,\r
130 (UINT8) (sizeof (UART_DEVICE_PATH)),\r
131 (UINT8) ((sizeof (UART_DEVICE_PATH)) >> 8),\r
132 0,\r
133 115200,\r
134 8,\r
135 1,\r
136 1\r
137 },\r
138 {\r
139 MESSAGING_DEVICE_PATH,\r
140 MSG_VENDOR_DP,\r
141 (UINT8) (sizeof (VENDOR_DEVICE_PATH)),\r
142 (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),\r
143 DEVICE_PATH_MESSAGING_PC_ANSI\r
144 },\r
145 gEndEntire\r
146};\r
147\r
148//\r
149// Predefined platform default console device path\r
150//\r
151BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {\r
152 {\r
153 (EFI_DEVICE_PATH_PROTOCOL *) &gNtSerialDevicePath0,\r
154 (CONSOLE_OUT | CONSOLE_IN)\r
155 },\r
156 {\r
157 (EFI_DEVICE_PATH_PROTOCOL *) &gNtSerialDevicePath1,\r
158 (CONSOLE_OUT | CONSOLE_IN)\r
159 },\r
160 {\r
161 (EFI_DEVICE_PATH_PROTOCOL *) &gUgaDevicePath0,\r
162 (CONSOLE_OUT | CONSOLE_IN)\r
163 },\r
164 {\r
165 (EFI_DEVICE_PATH_PROTOCOL *) &gUgaDevicePath1,\r
166 (CONSOLE_OUT | CONSOLE_IN)\r
167 },\r
168 {\r
169 NULL,\r
170 0\r
171 }\r
172};\r
173\r
174//\r
175// Predefined platform specific driver option\r
176//\r
177EFI_DEVICE_PATH_PROTOCOL *gPlatformDriverOption[] = { NULL };\r
178\r
179//\r
180// Predefined platform connect sequence\r
181//\r
182EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[] = { NULL };\r