]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscSystemSlotDesignationData.c
MdeModulePkg/CapsuleApp: Center bitmap at bottom of screen
[mirror_edk2.git] / Vlv2TbltDevicePkg / SmBiosMiscDxe / MiscSystemSlotDesignationData.c
CommitLineData
3cbfba02
DW
1/** @file\r
2\r
3Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r
4 \r\r
5 This program and the accompanying materials are licensed and made available under\r\r
6 the terms and conditions of the BSD License that accompanies this distribution. \r\r
7 The full text of the license may be found at \r\r
8 http://opensource.org/licenses/bsd-license.php. \r\r
9 \r\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r
12 \r\r
13\r
14\r
15Module Name:\r
16\r
17 MiscSystemSlotDesignationData.c\r
18\r
19Abstract:\r
20\r
21 Static data of System Slot Designation.\r
22 System Slot Designation is Misc. subclass type 7 and SMBIOS type 9.\r
23\r
24\r
25**/\r
26\r
27\r
28#include "CommonHeader.h"\r
29\r
30#include "MiscSubclassDriver.h"\r
31\r
32\r
33//\r
34// Static (possibly build generated) Bios Vendor data.\r
35//\r
36MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx16Slot1) = {\r
37 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX16_1), // SlotDesignation\r
38 EfiSlotTypePciExpress, // SlotType\r
39 EfiSlotDataBusWidth16xOrx16, // SlotDataBusWidth\r
40 EfiSlotUsageAvailable, // SlotUsage\r
41 EfiSlotLengthShort, // SlotLength\r
42 0x06, // SlotId\r
43 { // SlotCharacteristics\r
44 0, // CharacteristicsUnknown :1;\r
45 0, // Provides50Volts :1;\r
46 1, // Provides33Volts :1;\r
47 0, // SharedSlot :1;\r
48 0, // PcCard16Supported :1;\r
49 0, // CardBusSupported :1;\r
50 0, // ZoomVideoSupported :1;\r
51 0, // ModemRingResumeSupported:1;\r
52 0, // PmeSignalSupported :1;\r
53 0, // HotPlugDevicesSupported :1;\r
54 0, // SmbusSignalSupported :1;\r
55 0 // Reserved :21;\r
56 },\r
57 0 // SlotDevicePath\r
58};\r
59\r
60MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx16Slot2) = {\r
61 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX16_2), // SlotDesignation\r
62 EfiSlotTypePciExpress, // SlotType\r
63 EfiSlotDataBusWidth16xOrx16, // SlotDataBusWidth\r
64 EfiSlotUsageAvailable, // SlotUsage\r
65 EfiSlotLengthShort, // SlotLength\r
66 0x04, // SlotId\r
67 { // SlotCharacteristics\r
68 0, // CharacteristicsUnknown :1;\r
69 0, // Provides50Volts :1;\r
70 1, // Provides33Volts :1;\r
71 0, // SharedSlot :1;\r
72 0, // PcCard16Supported :1;\r
73 0, // CardBusSupported :1;\r
74 0, // ZoomVideoSupported :1;\r
75 0, // ModemRingResumeSupported:1;\r
76 0, // PmeSignalSupported :1;\r
77 0, // HotPlugDevicesSupported :1;\r
78 0, // SmbusSignalSupported :1;\r
79 0 // Reserved :21;\r
80 },\r
81 0 // SlotDevicePath\r
82};\r
83\r
84MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx4) = {\r
85 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX4), // SlotDesignation\r
86 EfiSlotTypePciExpress, // SlotType\r
87 EfiSlotDataBusWidth4xOrx4, // SlotDataBusWidth\r
88 EfiSlotUsageAvailable, // SlotUsage\r
89 EfiSlotLengthShort, // SlotLength\r
90 0x03, // SlotId\r
91 { // SlotCharacteristics\r
92 0, // CharacteristicsUnknown :1;\r
93 0, // Provides50Volts :1;\r
94 1, // Provides33Volts :1;\r
95 0, // SharedSlot :1;\r
96 0, // PcCard16Supported :1;\r
97 0, // CardBusSupported :1;\r
98 0, // ZoomVideoSupported :1;\r
99 0, // ModemRingResumeSupported:1;\r
100 0, // PmeSignalSupported :1;\r
101 0, // HotPlugDevicesSupported :1;\r
102 0, // SmbusSignalSupported :1;\r
103 0 // Reserved :21;\r
104 },\r
105 0 // SlotDevicePath\r
106};\r
107\r
108MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx1Slot1) = {\r
109 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX1_1), // SlotDesignation\r
110 EfiSlotTypePciExpress, // SlotType\r
111 EfiSlotDataBusWidth1xOrx1, // SlotDataBusWidth\r
112 EfiSlotUsageAvailable, // SlotUsage\r
113 EfiSlotLengthShort, // SlotLength\r
114 0x02, // SlotId\r
115 { // SlotCharacteristics\r
116 0, // CharacteristicsUnknown :1;\r
117 0, // Provides50Volts :1;\r
118 1, // Provides33Volts :1;\r
119 0, // SharedSlot :1;\r
120 0, // PcCard16Supported :1;\r
121 0, // CardBusSupported :1;\r
122 0, // ZoomVideoSupported :1;\r
123 0, // ModemRingResumeSupported:1;\r
124 1, // PmeSignalSupported :1;\r
125 0, // HotPlugDevicesSupported :1;\r
126 1, // SmbusSignalSupported :1;\r
127 0 // Reserved :21;\r
128 },\r
129 0 // SlotDevicePath\r
130};\r
131\r
132MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx1Slot2) = {\r
133 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX1_2), // SlotDesignation\r
134 EfiSlotTypePciExpress, // SlotType\r
135 EfiSlotDataBusWidth1xOrx1, // SlotDataBusWidth\r
136 EfiSlotUsageAvailable, // SlotUsage\r
137 EfiSlotLengthShort, // SlotLength\r
138 0x15, // SlotId\r
139 { // SlotCharacteristics\r
140 0, // CharacteristicsUnknown :1;\r
141 0, // Provides50Volts :1;\r
142 1, // Provides33Volts :1;\r
143 0, // SharedSlot :1;\r
144 0, // PcCard16Supported :1;\r
145 0, // CardBusSupported :1;\r
146 0, // ZoomVideoSupported :1;\r
147 0, // ModemRingResumeSupported:1;\r
148 1, // PmeSignalSupported :1;\r
149 0, // HotPlugDevicesSupported :1;\r
150 1, // SmbusSignalSupported :1;\r
151 0 // Reserved :21;\r
152 },\r
153 0 // SlotDevicePath\r
154};\r
155\r
156MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCIEx1Slot3) = {\r
157 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCIEX1_3), // SlotDesignation\r
158 EfiSlotTypePciExpress, // SlotType\r
159 EfiSlotDataBusWidth1xOrx1, // SlotDataBusWidth\r
160 EfiSlotUsageAvailable, // SlotUsage\r
161 EfiSlotLengthShort, // SlotLength\r
162 0x16, // SlotId\r
163 { // SlotCharacteristics\r
164 0, // CharacteristicsUnknown :1;\r
165 0, // Provides50Volts :1;\r
166 1, // Provides33Volts :1;\r
167 0, // SharedSlot :1;\r
168 0, // PcCard16Supported :1;\r
169 0, // CardBusSupported :1;\r
170 0, // ZoomVideoSupported :1;\r
171 0, // ModemRingResumeSupported:1;\r
172 1, // PmeSignalSupported :1;\r
173 0, // HotPlugDevicesSupported :1;\r
174 1, // SmbusSignalSupported :1;\r
175 0 // Reserved :21;\r
176 },\r
177 0 // SlotDevicePath\r
178};\r
179\r
180MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCI1) = {\r
181 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCI1), // SlotDesignation\r
182 EfiSlotTypePci, // SlotType\r
183 EfiSlotDataBusWidth32Bit, // SlotDataBusWidth\r
184 EfiSlotUsageAvailable, // SlotUsage\r
185 EfiSlotLengthLong , // SlotLength\r
186 0x07, // SlotId\r
187 { // SlotCharacteristics\r
188 0, // CharacteristicsUnknown :1;\r
189 0, // Provides50Volts :1;\r
190 1, // Provides33Volts :1;\r
191 0, // SharedSlot :1;\r
192 0, // PcCard16Supported :1;\r
193 0, // CardBusSupported :1;\r
194 0, // ZoomVideoSupported :1;\r
195 0, // ModemRingResumeSupported:1;\r
196 1, // PmeSignalSupported :1;\r
197 0, // HotPlugDevicesSupported :1;\r
198 1, // SmbusSignalSupported :1;\r
199 0 // Reserved :21;\r
200 },\r
201 0 // SlotDevicePath\r
202};\r
203\r
204MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCI2) = {\r
205 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCI2), // SlotDesignation\r
206 EfiSlotTypePci, // SlotType\r
207 EfiSlotDataBusWidth32Bit, // SlotDataBusWidth\r
208 EfiSlotUsageAvailable, // SlotUsage\r
209 EfiSlotLengthLong , // SlotLength\r
210 0x18, // SlotId\r
211 { // SlotCharacteristics\r
212 0, // CharacteristicsUnknown :1;\r
213 0, // Provides50Volts :1;\r
214 1, // Provides33Volts :1;\r
215 0, // SharedSlot :1;\r
216 0, // PcCard16Supported :1;\r
217 0, // CardBusSupported :1;\r
218 0, // ZoomVideoSupported :1;\r
219 0, // ModemRingResumeSupported:1;\r
220 1, // PmeSignalSupported :1;\r
221 0, // HotPlugDevicesSupported :1;\r
222 1, // SmbusSignalSupported :1;\r
223 0 // Reserved :21;\r
224 },\r
225 0 // SlotDevicePath\r
226};\r
227\r
228MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA, MiscSystemSlotPCI3) = {\r
229 STRING_TOKEN(STR_MISC_SYSTEM_SLOT_PCI3), // SlotDesignation\r
230 EfiSlotTypePci, // SlotType\r
231 EfiSlotDataBusWidth32Bit, // SlotDataBusWidth\r
232 EfiSlotUsageAvailable, // SlotUsage\r
233 EfiSlotLengthLong , // SlotLength\r
234 0x17, // SlotId\r
235 { // SlotCharacteristics\r
236 0, // CharacteristicsUnknown :1;\r
237 0, // Provides50Volts :1;\r
238 1, // Provides33Volts :1;\r
239 0, // SharedSlot :1;\r
240 0, // PcCard16Supported :1;\r
241 0, // CardBusSupported :1;\r
242 0, // ZoomVideoSupported :1;\r
243 0, // ModemRingResumeSupported:1;\r
244 1, // PmeSignalSupported :1;\r
245 0, // HotPlugDevicesSupported :1;\r
246 1, // SmbusSignalSupported :1;\r
247 0 // Reserved :21;\r
248 },\r
249 0 // SlotDevicePath\r
250};\r
251\r