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