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