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