]>
Commit | Line | Data |
---|---|---|
a7ed1e2e | 1 | /** @file\r |
f06c92a6 | 2 | Industry Standard Definitions of SMBIOS Table Specification v3.3.0.\r |
a7ed1e2e | 3 | \r |
70c50f19 | 4 | Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r |
713e4b00 | 5 | (C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>\r |
f06c92a6 | 6 | (C) Copyright 2015 - 2019 Hewlett Packard Enterprise Development LP<BR>\r |
9344f092 | 7 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
a7ed1e2e | 8 | \r |
a7ed1e2e | 9 | **/\r |
10 | \r | |
11 | #ifndef __SMBIOS_STANDARD_H__\r | |
12 | #define __SMBIOS_STANDARD_H__\r | |
98cb9ae8 | 13 | \r |
f2d0889f | 14 | ///\r |
15 | /// Reference SMBIOS 2.6, chapter 3.1.2.\r | |
16 | /// For v2.1 and later, handle values in the range 0FF00h to 0FFFFh are reserved for\r | |
17 | /// use by this specification.\r | |
18 | ///\r | |
19 | #define SMBIOS_HANDLE_RESERVED_BEGIN 0xFF00\r | |
20 | \r | |
7ddba202 SZ |
21 | ///\r |
22 | /// Reference SMBIOS 2.7, chapter 6.1.2.\r | |
23 | /// The UEFI Platform Initialization Specification reserves handle number FFFEh for its\r | |
24 | /// EFI_SMBIOS_PROTOCOL.Add() function to mean "assign an unused handle number automatically."\r | |
25 | /// This number is not used for any other purpose by the SMBIOS specification.\r | |
26 | ///\r | |
27 | #define SMBIOS_HANDLE_PI_RESERVED 0xFFFE\r | |
28 | \r | |
f2d0889f | 29 | ///\r |
af2dc6a7 | 30 | /// Reference SMBIOS 2.6, chapter 3.1.3.\r |
31 | /// Each text string is limited to 64 significant characters due to system MIF limitations.\r | |
7ddba202 SZ |
32 | /// Reference SMBIOS 2.7, chapter 6.1.3.\r |
33 | /// It will have no limit on the length of each individual text string.\r | |
f2d0889f | 34 | ///\r |
35 | #define SMBIOS_STRING_MAX_LENGTH 64\r | |
36 | \r | |
7254d134 JY |
37 | //\r |
38 | // The length of the entire structure table (including all strings) must be reported\r | |
39 | // in the Structure Table Length field of the SMBIOS Structure Table Entry Point,\r | |
40 | // which is a WORD field limited to 65,535 bytes.\r | |
41 | //\r | |
42 | #define SMBIOS_TABLE_MAX_LENGTH 0xFFFF\r | |
43 | \r | |
44 | //\r | |
45 | // For SMBIOS 3.0, Structure table maximum size in Entry Point structure is DWORD field limited to 0xFFFFFFFF bytes.\r | |
46 | //\r | |
47 | #define SMBIOS_3_0_TABLE_MAX_LENGTH 0xFFFFFFFF\r | |
48 | \r | |
bb7051eb | 49 | //\r |
f06c92a6 | 50 | // SMBIOS type macros which is according to SMBIOS 3.3.0 specification.\r |
bb7051eb MH |
51 | //\r |
52 | #define SMBIOS_TYPE_BIOS_INFORMATION 0\r | |
53 | #define SMBIOS_TYPE_SYSTEM_INFORMATION 1\r | |
54 | #define SMBIOS_TYPE_BASEBOARD_INFORMATION 2\r | |
55 | #define SMBIOS_TYPE_SYSTEM_ENCLOSURE 3\r | |
56 | #define SMBIOS_TYPE_PROCESSOR_INFORMATION 4\r | |
57 | #define SMBIOS_TYPE_MEMORY_CONTROLLER_INFORMATION 5\r | |
58 | #define SMBIOS_TYPE_MEMORY_MODULE_INFORMATON 6\r | |
59 | #define SMBIOS_TYPE_CACHE_INFORMATION 7\r | |
60 | #define SMBIOS_TYPE_PORT_CONNECTOR_INFORMATION 8\r | |
61 | #define SMBIOS_TYPE_SYSTEM_SLOTS 9\r | |
62 | #define SMBIOS_TYPE_ONBOARD_DEVICE_INFORMATION 10\r | |
63 | #define SMBIOS_TYPE_OEM_STRINGS 11\r | |
64 | #define SMBIOS_TYPE_SYSTEM_CONFIGURATION_OPTIONS 12\r | |
65 | #define SMBIOS_TYPE_BIOS_LANGUAGE_INFORMATION 13\r | |
66 | #define SMBIOS_TYPE_GROUP_ASSOCIATIONS 14\r | |
67 | #define SMBIOS_TYPE_SYSTEM_EVENT_LOG 15\r | |
68 | #define SMBIOS_TYPE_PHYSICAL_MEMORY_ARRAY 16\r | |
69 | #define SMBIOS_TYPE_MEMORY_DEVICE 17\r | |
70 | #define SMBIOS_TYPE_32BIT_MEMORY_ERROR_INFORMATION 18\r | |
71 | #define SMBIOS_TYPE_MEMORY_ARRAY_MAPPED_ADDRESS 19\r | |
72 | #define SMBIOS_TYPE_MEMORY_DEVICE_MAPPED_ADDRESS 20\r | |
73 | #define SMBIOS_TYPE_BUILT_IN_POINTING_DEVICE 21\r | |
74 | #define SMBIOS_TYPE_PORTABLE_BATTERY 22\r | |
75 | #define SMBIOS_TYPE_SYSTEM_RESET 23\r | |
76 | #define SMBIOS_TYPE_HARDWARE_SECURITY 24\r | |
77 | #define SMBIOS_TYPE_SYSTEM_POWER_CONTROLS 25\r | |
78 | #define SMBIOS_TYPE_VOLTAGE_PROBE 26\r | |
79 | #define SMBIOS_TYPE_COOLING_DEVICE 27\r | |
80 | #define SMBIOS_TYPE_TEMPERATURE_PROBE 28\r | |
81 | #define SMBIOS_TYPE_ELECTRICAL_CURRENT_PROBE 29\r | |
82 | #define SMBIOS_TYPE_OUT_OF_BAND_REMOTE_ACCESS 30\r | |
83 | #define SMBIOS_TYPE_BOOT_INTEGRITY_SERVICE 31\r | |
84 | #define SMBIOS_TYPE_SYSTEM_BOOT_INFORMATION 32\r | |
85 | #define SMBIOS_TYPE_64BIT_MEMORY_ERROR_INFORMATION 33\r | |
86 | #define SMBIOS_TYPE_MANAGEMENT_DEVICE 34\r | |
87 | #define SMBIOS_TYPE_MANAGEMENT_DEVICE_COMPONENT 35\r | |
88 | #define SMBIOS_TYPE_MANAGEMENT_DEVICE_THRESHOLD_DATA 36\r | |
89 | #define SMBIOS_TYPE_MEMORY_CHANNEL 37\r | |
90 | #define SMBIOS_TYPE_IPMI_DEVICE_INFORMATION 38\r | |
91 | #define SMBIOS_TYPE_SYSTEM_POWER_SUPPLY 39\r | |
92 | #define SMBIOS_TYPE_ADDITIONAL_INFORMATION 40\r | |
93 | #define SMBIOS_TYPE_ONBOARD_DEVICES_EXTENDED_INFORMATION 41\r | |
94 | #define SMBIOS_TYPE_MANAGEMENT_CONTROLLER_HOST_INTERFACE 42\r | |
713e4b00 | 95 | #define SMBIOS_TYPE_TPM_DEVICE 43\r |
f06c92a6 | 96 | #define SMBIOS_TYPE_PROCESSOR_ADDITIONAL_INFORMATION 44\r |
bb7051eb | 97 | \r |
f2d0889f | 98 | ///\r |
99 | /// Inactive type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.43.\r | |
9095d37b | 100 | /// Upper-level software that interprets the SMBIOS structure-table should bypass an\r |
f2d0889f | 101 | /// Inactive structure just like a structure type that the software does not recognize.\r |
102 | ///\r | |
9095d37b | 103 | #define SMBIOS_TYPE_INACTIVE 0x007E\r |
f2d0889f | 104 | \r |
105 | ///\r | |
106 | /// End-of-table type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.44.\r | |
107 | /// The end-of-table indicator is used in the last physical structure in a table\r | |
108 | ///\r | |
109 | #define SMBIOS_TYPE_END_OF_TABLE 0x007F\r | |
110 | \r | |
bb7051eb MH |
111 | #define SMBIOS_OEM_BEGIN 128\r |
112 | #define SMBIOS_OEM_END 255\r | |
113 | \r | |
114 | ///\r | |
115 | /// Types 0 through 127 (7Fh) are reserved for and defined by this\r | |
9095d37b | 116 | /// specification. Types 128 through 256 (80h to FFh) are available for system- and OEM-specific information.\r |
bb7051eb MH |
117 | ///\r |
118 | typedef UINT8 SMBIOS_TYPE;\r | |
119 | \r | |
120 | ///\r | |
121 | /// Specifies the structure's handle, a unique 16-bit number in the range 0 to 0FFFEh (for version\r | |
122 | /// 2.0) or 0 to 0FEFFh (for version 2.1 and later). The handle can be used with the Get SMBIOS\r | |
123 | /// Structure function to retrieve a specific structure; the handle numbers are not required to be\r | |
124 | /// contiguous. For v2.1 and later, handle values in the range 0FF00h to 0FFFFh are reserved for\r | |
125 | /// use by this specification.\r | |
126 | /// If the system configuration changes, a previously assigned handle might no longer exist.\r | |
127 | /// However once a handle has been assigned by the BIOS, the BIOS cannot re-assign that handle\r | |
128 | /// number to another structure.\r | |
129 | ///\r | |
130 | typedef UINT16 SMBIOS_HANDLE;\r | |
131 | \r | |
4135253b | 132 | ///\r |
af2dc6a7 | 133 | /// Smbios Table Entry Point Structure.\r |
4135253b | 134 | ///\r |
766f4bc1 | 135 | #pragma pack(1)\r |
a7ed1e2e | 136 | typedef struct {\r |
137 | UINT8 AnchorString[4];\r | |
138 | UINT8 EntryPointStructureChecksum;\r | |
139 | UINT8 EntryPointLength;\r | |
140 | UINT8 MajorVersion;\r | |
141 | UINT8 MinorVersion;\r | |
142 | UINT16 MaxStructureSize;\r | |
143 | UINT8 EntryPointRevision;\r | |
144 | UINT8 FormattedArea[5];\r | |
145 | UINT8 IntermediateAnchorString[5];\r | |
146 | UINT8 IntermediateChecksum;\r | |
147 | UINT16 TableLength;\r | |
148 | UINT32 TableAddress;\r | |
149 | UINT16 NumberOfSmbiosStructures;\r | |
150 | UINT8 SmbiosBcdRevision;\r | |
151 | } SMBIOS_TABLE_ENTRY_POINT;\r | |
152 | \r | |
6cd35c62 EL |
153 | typedef struct {\r |
154 | UINT8 AnchorString[5];\r | |
155 | UINT8 EntryPointStructureChecksum;\r | |
156 | UINT8 EntryPointLength;\r | |
157 | UINT8 MajorVersion;\r | |
158 | UINT8 MinorVersion;\r | |
159 | UINT8 DocRev;\r | |
160 | UINT8 EntryPointRevision;\r | |
161 | UINT8 Reserved;\r | |
162 | UINT32 TableMaximumSize;\r | |
163 | UINT64 TableAddress;\r | |
164 | } SMBIOS_TABLE_3_0_ENTRY_POINT;\r | |
165 | \r | |
ec8432e5 | 166 | ///\r |
af2dc6a7 | 167 | /// The Smbios structure header.\r |
ec8432e5 | 168 | ///\r |
a7ed1e2e | 169 | typedef struct {\r |
bb7051eb MH |
170 | SMBIOS_TYPE Type;\r |
171 | UINT8 Length;\r | |
172 | SMBIOS_HANDLE Handle;\r | |
a7ed1e2e | 173 | } SMBIOS_STRUCTURE;\r |
174 | \r | |
bf7ea009 | 175 | ///\r |
bb7051eb MH |
176 | /// Text strings associated with a given SMBIOS structure are returned in the dmiStrucBuffer, appended directly after\r |
177 | /// the formatted portion of the structure. This method of returning string information eliminates the need for\r | |
178 | /// application software to deal with pointers embedded in the SMBIOS structure. Each string is terminated with a null\r | |
179 | /// (00h) BYTE and the set of strings is terminated with an additional null (00h) BYTE. When the formatted portion of\r | |
180 | /// a SMBIOS structure references a string, it does so by specifying a non-zero string number within the structure's\r | |
181 | /// string-set. For example, if a string field contains 02h, it references the second string following the formatted portion\r | |
182 | /// of the SMBIOS structure. If a string field references no string, a null (0) is placed in that string field. If the\r | |
183 | /// formatted portion of the structure contains string-reference fields and all the string fields are set to 0 (no string\r | |
184 | /// references), the formatted section of the structure is followed by two null (00h) BYTES.\r | |
bf7ea009 | 185 | ///\r |
61ce5861 | 186 | typedef UINT8 SMBIOS_TABLE_STRING;\r |
187 | \r | |
98cb9ae8 | 188 | ///\r |
7ddba202 SZ |
189 | /// BIOS Characteristics\r |
190 | /// Defines which functions the BIOS supports. PCI, PCMCIA, Flash, etc.\r | |
98cb9ae8 | 191 | ///\r |
192 | typedef struct {\r | |
af2dc6a7 | 193 | UINT32 Reserved :2; ///< Bits 0-1.\r |
7ddba202 SZ |
194 | UINT32 Unknown :1;\r |
195 | UINT32 BiosCharacteristicsNotSupported :1;\r | |
196 | UINT32 IsaIsSupported :1;\r | |
98cb9ae8 | 197 | UINT32 McaIsSupported :1;\r |
198 | UINT32 EisaIsSupported :1;\r | |
199 | UINT32 PciIsSupported :1;\r | |
200 | UINT32 PcmciaIsSupported :1;\r | |
201 | UINT32 PlugAndPlayIsSupported :1;\r | |
202 | UINT32 ApmIsSupported :1;\r | |
203 | UINT32 BiosIsUpgradable :1;\r | |
204 | UINT32 BiosShadowingAllowed :1;\r | |
205 | UINT32 VlVesaIsSupported :1;\r | |
206 | UINT32 EscdSupportIsAvailable :1;\r | |
207 | UINT32 BootFromCdIsSupported :1;\r | |
208 | UINT32 SelectableBootIsSupported :1;\r | |
209 | UINT32 RomBiosIsSocketed :1;\r | |
210 | UINT32 BootFromPcmciaIsSupported :1;\r | |
211 | UINT32 EDDSpecificationIsSupported :1;\r | |
212 | UINT32 JapaneseNecFloppyIsSupported :1;\r | |
213 | UINT32 JapaneseToshibaFloppyIsSupported :1;\r | |
214 | UINT32 Floppy525_360IsSupported :1;\r | |
215 | UINT32 Floppy525_12IsSupported :1;\r | |
216 | UINT32 Floppy35_720IsSupported :1;\r | |
217 | UINT32 Floppy35_288IsSupported :1;\r | |
218 | UINT32 PrintScreenIsSupported :1;\r | |
219 | UINT32 Keyboard8042IsSupported :1;\r | |
220 | UINT32 SerialIsSupported :1;\r | |
221 | UINT32 PrinterIsSupported :1;\r | |
222 | UINT32 CgaMonoIsSupported :1;\r | |
223 | UINT32 NecPc98 :1;\r | |
9095d37b LG |
224 | UINT32 ReservedForVendor :32; ///< Bits 32-63. Bits 32-47 reserved for BIOS vendor\r |
225 | ///< and bits 48-63 reserved for System Vendor.\r | |
98cb9ae8 | 226 | } MISC_BIOS_CHARACTERISTICS;\r |
227 | \r | |
228 | ///\r | |
7ddba202 SZ |
229 | /// BIOS Characteristics Extension Byte 1.\r |
230 | /// This information, available for SMBIOS version 2.1 and later, appears at offset 12h\r | |
231 | /// within the BIOS Information structure.\r | |
98cb9ae8 | 232 | ///\r |
233 | typedef struct {\r | |
234 | UINT8 AcpiIsSupported :1;\r | |
7ddba202 SZ |
235 | UINT8 UsbLegacyIsSupported :1;\r |
236 | UINT8 AgpIsSupported :1;\r | |
119c1688 | 237 | UINT8 I2OBootIsSupported :1;\r |
98cb9ae8 | 238 | UINT8 Ls120BootIsSupported :1;\r |
239 | UINT8 AtapiZipDriveBootIsSupported :1;\r | |
240 | UINT8 Boot1394IsSupported :1;\r | |
241 | UINT8 SmartBatteryIsSupported :1;\r | |
242 | } MBCE_BIOS_RESERVED;\r | |
243 | \r | |
244 | ///\r | |
af2dc6a7 | 245 | /// BIOS Characteristics Extension Byte 2.\r |
7ddba202 | 246 | /// This information, available for SMBIOS version 2.3 and later, appears at offset 13h\r |
98cb9ae8 | 247 | /// within the BIOS Information structure.\r |
248 | ///\r | |
249 | typedef struct {\r | |
250 | UINT8 BiosBootSpecIsSupported :1;\r | |
7ddba202 SZ |
251 | UINT8 FunctionKeyNetworkBootIsSupported :1;\r |
252 | UINT8 TargetContentDistributionEnabled :1;\r | |
253 | UINT8 UefiSpecificationSupported :1;\r | |
254 | UINT8 VirtualMachineSupported :1;\r | |
255 | UINT8 ExtensionByte2Reserved :3;\r | |
98cb9ae8 | 256 | } MBCE_SYSTEM_RESERVED;\r |
257 | \r | |
258 | ///\r | |
af2dc6a7 | 259 | /// BIOS Characteristics Extension Bytes.\r |
98cb9ae8 | 260 | ///\r |
261 | typedef struct {\r | |
262 | MBCE_BIOS_RESERVED BiosReserved;\r | |
263 | MBCE_SYSTEM_RESERVED SystemReserved;\r | |
98cb9ae8 | 264 | } MISC_BIOS_CHARACTERISTICS_EXTENSION;\r |
265 | \r | |
ff6a1f32 SZ |
266 | ///\r |
267 | /// Extended BIOS ROM size.\r | |
268 | ///\r | |
269 | typedef struct {\r | |
270 | UINT16 Size :14;\r | |
271 | UINT16 Unit :2;\r | |
272 | } EXTENDED_BIOS_ROM_SIZE;\r | |
273 | \r | |
4135253b | 274 | ///\r |
af2dc6a7 | 275 | /// BIOS Information (Type 0).\r |
4135253b | 276 | ///\r |
61ce5861 | 277 | typedef struct {\r |
98cb9ae8 | 278 | SMBIOS_STRUCTURE Hdr;\r |
279 | SMBIOS_TABLE_STRING Vendor;\r | |
280 | SMBIOS_TABLE_STRING BiosVersion;\r | |
281 | UINT16 BiosSegment;\r | |
282 | SMBIOS_TABLE_STRING BiosReleaseDate;\r | |
283 | UINT8 BiosSize;\r | |
284 | MISC_BIOS_CHARACTERISTICS BiosCharacteristics;\r | |
285 | UINT8 BIOSCharacteristicsExtensionBytes[2];\r | |
286 | UINT8 SystemBiosMajorRelease;\r | |
287 | UINT8 SystemBiosMinorRelease;\r | |
288 | UINT8 EmbeddedControllerFirmwareMajorRelease;\r | |
289 | UINT8 EmbeddedControllerFirmwareMinorRelease;\r | |
ff6a1f32 SZ |
290 | //\r |
291 | // Add for smbios 3.1.0\r | |
292 | //\r | |
293 | EXTENDED_BIOS_ROM_SIZE ExtendedBiosSize;\r | |
61ce5861 | 294 | } SMBIOS_TABLE_TYPE0;\r |
295 | \r | |
98cb9ae8 | 296 | ///\r |
af2dc6a7 | 297 | /// System Wake-up Type.\r |
98cb9ae8 | 298 | ///\r |
9095d37b | 299 | typedef enum {\r |
98cb9ae8 | 300 | SystemWakeupTypeReserved = 0x00,\r |
301 | SystemWakeupTypeOther = 0x01,\r | |
302 | SystemWakeupTypeUnknown = 0x02,\r | |
303 | SystemWakeupTypeApmTimer = 0x03,\r | |
304 | SystemWakeupTypeModemRing = 0x04,\r | |
305 | SystemWakeupTypeLanRemote = 0x05,\r | |
306 | SystemWakeupTypePowerSwitch = 0x06,\r | |
307 | SystemWakeupTypePciPme = 0x07,\r | |
308 | SystemWakeupTypeAcPowerRestored = 0x08\r | |
309 | } MISC_SYSTEM_WAKEUP_TYPE;\r | |
310 | \r | |
4135253b | 311 | ///\r |
af2dc6a7 | 312 | /// System Information (Type 1).\r |
9095d37b LG |
313 | ///\r |
314 | /// The information in this structure defines attributes of the overall system and is\r | |
98cb9ae8 | 315 | /// intended to be associated with the Component ID group of the system's MIF.\r |
9095d37b | 316 | /// An SMBIOS implementation is associated with a single system instance and contains\r |
98cb9ae8 | 317 | /// one and only one System Information (Type 1) structure.\r |
4135253b | 318 | ///\r |
61ce5861 | 319 | typedef struct {\r |
98cb9ae8 | 320 | SMBIOS_STRUCTURE Hdr;\r |
321 | SMBIOS_TABLE_STRING Manufacturer;\r | |
322 | SMBIOS_TABLE_STRING ProductName;\r | |
323 | SMBIOS_TABLE_STRING Version;\r | |
324 | SMBIOS_TABLE_STRING SerialNumber;\r | |
325 | GUID Uuid;\r | |
af2dc6a7 | 326 | UINT8 WakeUpType; ///< The enumeration value from MISC_SYSTEM_WAKEUP_TYPE.\r |
98cb9ae8 | 327 | SMBIOS_TABLE_STRING SKUNumber;\r |
328 | SMBIOS_TABLE_STRING Family;\r | |
61ce5861 | 329 | } SMBIOS_TABLE_TYPE1;\r |
330 | \r | |
98cb9ae8 | 331 | ///\r |
9095d37b | 332 | /// Base Board - Feature Flags.\r |
98cb9ae8 | 333 | ///\r |
334 | typedef struct {\r | |
335 | UINT8 Motherboard :1;\r | |
336 | UINT8 RequiresDaughterCard :1;\r | |
337 | UINT8 Removable :1;\r | |
338 | UINT8 Replaceable :1;\r | |
339 | UINT8 HotSwappable :1;\r | |
340 | UINT8 Reserved :3;\r | |
341 | } BASE_BOARD_FEATURE_FLAGS;\r | |
342 | \r | |
343 | ///\r | |
af2dc6a7 | 344 | /// Base Board - Board Type.\r |
98cb9ae8 | 345 | ///\r |
9095d37b | 346 | typedef enum {\r |
98cb9ae8 | 347 | BaseBoardTypeUnknown = 0x1,\r |
348 | BaseBoardTypeOther = 0x2,\r | |
349 | BaseBoardTypeServerBlade = 0x3,\r | |
350 | BaseBoardTypeConnectivitySwitch = 0x4,\r | |
351 | BaseBoardTypeSystemManagementModule = 0x5,\r | |
352 | BaseBoardTypeProcessorModule = 0x6,\r | |
353 | BaseBoardTypeIOModule = 0x7,\r | |
354 | BaseBoardTypeMemoryModule = 0x8,\r | |
355 | BaseBoardTypeDaughterBoard = 0x9,\r | |
356 | BaseBoardTypeMotherBoard = 0xA,\r | |
357 | BaseBoardTypeProcessorMemoryModule = 0xB,\r | |
358 | BaseBoardTypeProcessorIOModule = 0xC,\r | |
359 | BaseBoardTypeInterconnectBoard = 0xD\r | |
360 | } BASE_BOARD_TYPE;\r | |
361 | \r | |
4135253b | 362 | ///\r |
af2dc6a7 | 363 | /// Base Board (or Module) Information (Type 2).\r |
4135253b | 364 | ///\r |
9095d37b | 365 | /// The information in this structure defines attributes of a system baseboard -\r |
98cb9ae8 | 366 | /// for example a motherboard, planar, or server blade or other standard system module.\r |
367 | ///\r | |
61ce5861 | 368 | typedef struct {\r |
98cb9ae8 | 369 | SMBIOS_STRUCTURE Hdr;\r |
370 | SMBIOS_TABLE_STRING Manufacturer;\r | |
371 | SMBIOS_TABLE_STRING ProductName;\r | |
372 | SMBIOS_TABLE_STRING Version;\r | |
373 | SMBIOS_TABLE_STRING SerialNumber;\r | |
374 | SMBIOS_TABLE_STRING AssetTag;\r | |
375 | BASE_BOARD_FEATURE_FLAGS FeatureFlag;\r | |
376 | SMBIOS_TABLE_STRING LocationInChassis;\r | |
377 | UINT16 ChassisHandle;\r | |
af2dc6a7 | 378 | UINT8 BoardType; ///< The enumeration value from BASE_BOARD_TYPE.\r |
98cb9ae8 | 379 | UINT8 NumberOfContainedObjectHandles;\r |
380 | UINT16 ContainedObjectHandles[1];\r | |
61ce5861 | 381 | } SMBIOS_TABLE_TYPE2;\r |
382 | \r | |
98cb9ae8 | 383 | ///\r |
384 | /// System Enclosure or Chassis Types\r | |
385 | ///\r | |
9095d37b | 386 | typedef enum {\r |
98cb9ae8 | 387 | MiscChassisTypeOther = 0x01,\r |
388 | MiscChassisTypeUnknown = 0x02,\r | |
389 | MiscChassisTypeDeskTop = 0x03,\r | |
390 | MiscChassisTypeLowProfileDesktop = 0x04,\r | |
391 | MiscChassisTypePizzaBox = 0x05,\r | |
392 | MiscChassisTypeMiniTower = 0x06,\r | |
393 | MiscChassisTypeTower = 0x07,\r | |
394 | MiscChassisTypePortable = 0x08,\r | |
395 | MiscChassisTypeLapTop = 0x09,\r | |
396 | MiscChassisTypeNotebook = 0x0A,\r | |
397 | MiscChassisTypeHandHeld = 0x0B,\r | |
398 | MiscChassisTypeDockingStation = 0x0C,\r | |
399 | MiscChassisTypeAllInOne = 0x0D,\r | |
400 | MiscChassisTypeSubNotebook = 0x0E,\r | |
401 | MiscChassisTypeSpaceSaving = 0x0F,\r | |
402 | MiscChassisTypeLunchBox = 0x10,\r | |
403 | MiscChassisTypeMainServerChassis = 0x11,\r | |
404 | MiscChassisTypeExpansionChassis = 0x12,\r | |
405 | MiscChassisTypeSubChassis = 0x13,\r | |
406 | MiscChassisTypeBusExpansionChassis = 0x14,\r | |
407 | MiscChassisTypePeripheralChassis = 0x15,\r | |
408 | MiscChassisTypeRaidChassis = 0x16,\r | |
409 | MiscChassisTypeRackMountChassis = 0x17,\r | |
410 | MiscChassisTypeSealedCasePc = 0x18,\r | |
411 | MiscChassisMultiSystemChassis = 0x19,\r | |
412 | MiscChassisCompactPCI = 0x1A,\r | |
413 | MiscChassisAdvancedTCA = 0x1B,\r | |
414 | MiscChassisBlade = 0x1C,\r | |
6cd35c62 EL |
415 | MiscChassisBladeEnclosure = 0x1D,\r |
416 | MiscChassisTablet = 0x1E,\r | |
417 | MiscChassisConvertible = 0x1F,\r | |
ff6a1f32 SZ |
418 | MiscChassisDetachable = 0x20,\r |
419 | MiscChassisIoTGateway = 0x21,\r | |
420 | MiscChassisEmbeddedPc = 0x22,\r | |
421 | MiscChassisMiniPc = 0x23,\r | |
422 | MiscChassisStickPc = 0x24\r | |
98cb9ae8 | 423 | } MISC_CHASSIS_TYPE;\r |
424 | \r | |
425 | ///\r | |
af2dc6a7 | 426 | /// System Enclosure or Chassis States .\r |
98cb9ae8 | 427 | ///\r |
9095d37b | 428 | typedef enum {\r |
98cb9ae8 | 429 | ChassisStateOther = 0x01,\r |
430 | ChassisStateUnknown = 0x02,\r | |
431 | ChassisStateSafe = 0x03,\r | |
432 | ChassisStateWarning = 0x04,\r | |
433 | ChassisStateCritical = 0x05,\r | |
434 | ChassisStateNonRecoverable = 0x06\r | |
435 | } MISC_CHASSIS_STATE;\r | |
436 | \r | |
437 | ///\r | |
af2dc6a7 | 438 | /// System Enclosure or Chassis Security Status.\r |
98cb9ae8 | 439 | ///\r |
9095d37b | 440 | typedef enum {\r |
98cb9ae8 | 441 | ChassisSecurityStatusOther = 0x01,\r |
442 | ChassisSecurityStatusUnknown = 0x02,\r | |
443 | ChassisSecurityStatusNone = 0x03,\r | |
444 | ChassisSecurityStatusExternalInterfaceLockedOut = 0x04,\r | |
445 | ChassisSecurityStatusExternalInterfaceLockedEnabled = 0x05\r | |
446 | } MISC_CHASSIS_SECURITY_STATE;\r | |
447 | \r | |
bf7ea009 | 448 | ///\r |
449 | /// Contained Element record\r | |
450 | ///\r | |
61ce5861 | 451 | typedef struct {\r |
452 | UINT8 ContainedElementType;\r | |
453 | UINT8 ContainedElementMinimum;\r | |
454 | UINT8 ContainedElementMaximum;\r | |
455 | } CONTAINED_ELEMENT;\r | |
456 | \r | |
98cb9ae8 | 457 | \r |
4135253b | 458 | ///\r |
af2dc6a7 | 459 | /// System Enclosure or Chassis (Type 3).\r |
4135253b | 460 | ///\r |
9095d37b LG |
461 | /// The information in this structure defines attributes of the system's mechanical enclosure(s).\r |
462 | /// For example, if a system included a separate enclosure for its peripheral devices,\r | |
98cb9ae8 | 463 | /// two structures would be returned: one for the main, system enclosure and the second for\r |
464 | /// the peripheral device enclosure. The additions to this structure in v2.1 of this specification\r | |
9095d37b | 465 | /// support the population of the CIM_Chassis class.\r |
98cb9ae8 | 466 | ///\r |
61ce5861 | 467 | typedef struct {\r |
98cb9ae8 | 468 | SMBIOS_STRUCTURE Hdr;\r |
469 | SMBIOS_TABLE_STRING Manufacturer;\r | |
470 | UINT8 Type;\r | |
471 | SMBIOS_TABLE_STRING Version;\r | |
472 | SMBIOS_TABLE_STRING SerialNumber;\r | |
473 | SMBIOS_TABLE_STRING AssetTag;\r | |
af2dc6a7 | 474 | UINT8 BootupState; ///< The enumeration value from MISC_CHASSIS_STATE.\r |
475 | UINT8 PowerSupplyState; ///< The enumeration value from MISC_CHASSIS_STATE.\r | |
476 | UINT8 ThermalState; ///< The enumeration value from MISC_CHASSIS_STATE.\r | |
477 | UINT8 SecurityStatus; ///< The enumeration value from MISC_CHASSIS_SECURITY_STATE.\r | |
98cb9ae8 | 478 | UINT8 OemDefined[4];\r |
479 | UINT8 Height;\r | |
480 | UINT8 NumberofPowerCords;\r | |
481 | UINT8 ContainedElementCount;\r | |
482 | UINT8 ContainedElementRecordLength;\r | |
f15908aa CP |
483 | //\r |
484 | // Can have 0 to (ContainedElementCount * ContainedElementRecordLength) contained elements\r | |
485 | //\r | |
98cb9ae8 | 486 | CONTAINED_ELEMENT ContainedElements[1];\r |
f15908aa CP |
487 | //\r |
488 | // Add for smbios 2.7\r | |
489 | //\r | |
490 | // Since ContainedElements has a variable number of entries, must not define SKUNumber in\r | |
491 | // the structure. Need to reference it by starting at offset 0x15 and adding\r | |
492 | // (ContainedElementCount * ContainedElementRecordLength) bytes.\r | |
493 | //\r | |
494 | // SMBIOS_TABLE_STRING SKUNumber;\r | |
61ce5861 | 495 | } SMBIOS_TABLE_TYPE3;\r |
496 | \r | |
98cb9ae8 | 497 | ///\r |
af2dc6a7 | 498 | /// Processor Information - Processor Type.\r |
98cb9ae8 | 499 | ///\r |
500 | typedef enum {\r | |
501 | ProcessorOther = 0x01,\r | |
502 | ProcessorUnknown = 0x02,\r | |
503 | CentralProcessor = 0x03,\r | |
504 | MathProcessor = 0x04,\r | |
505 | DspProcessor = 0x05,\r | |
506 | VideoProcessor = 0x06\r | |
507 | } PROCESSOR_TYPE_DATA;\r | |
508 | \r | |
509 | ///\r | |
af2dc6a7 | 510 | /// Processor Information - Processor Family.\r |
98cb9ae8 | 511 | ///\r |
512 | typedef enum {\r | |
9095d37b | 513 | ProcessorFamilyOther = 0x01,\r |
98cb9ae8 | 514 | ProcessorFamilyUnknown = 0x02,\r |
9095d37b | 515 | ProcessorFamily8086 = 0x03,\r |
98cb9ae8 | 516 | ProcessorFamily80286 = 0x04,\r |
9095d37b | 517 | ProcessorFamilyIntel386 = 0x05,\r |
98cb9ae8 | 518 | ProcessorFamilyIntel486 = 0x06,\r |
519 | ProcessorFamily8087 = 0x07,\r | |
520 | ProcessorFamily80287 = 0x08,\r | |
9095d37b | 521 | ProcessorFamily80387 = 0x09,\r |
98cb9ae8 | 522 | ProcessorFamily80487 = 0x0A,\r |
9095d37b | 523 | ProcessorFamilyPentium = 0x0B,\r |
98cb9ae8 | 524 | ProcessorFamilyPentiumPro = 0x0C,\r |
525 | ProcessorFamilyPentiumII = 0x0D,\r | |
526 | ProcessorFamilyPentiumMMX = 0x0E,\r | |
527 | ProcessorFamilyCeleron = 0x0F,\r | |
528 | ProcessorFamilyPentiumIIXeon = 0x10,\r | |
9095d37b | 529 | ProcessorFamilyPentiumIII = 0x11,\r |
98cb9ae8 | 530 | ProcessorFamilyM1 = 0x12,\r |
531 | ProcessorFamilyM2 = 0x13,\r | |
119c1688 SZ |
532 | ProcessorFamilyIntelCeleronM = 0x14,\r |
533 | ProcessorFamilyIntelPentium4Ht = 0x15,\r | |
98cb9ae8 | 534 | ProcessorFamilyAmdDuron = 0x18,\r |
9095d37b | 535 | ProcessorFamilyK5 = 0x19,\r |
98cb9ae8 | 536 | ProcessorFamilyK6 = 0x1A,\r |
537 | ProcessorFamilyK6_2 = 0x1B,\r | |
538 | ProcessorFamilyK6_3 = 0x1C,\r | |
539 | ProcessorFamilyAmdAthlon = 0x1D,\r | |
540 | ProcessorFamilyAmd29000 = 0x1E,\r | |
541 | ProcessorFamilyK6_2Plus = 0x1F,\r | |
542 | ProcessorFamilyPowerPC = 0x20,\r | |
543 | ProcessorFamilyPowerPC601 = 0x21,\r | |
544 | ProcessorFamilyPowerPC603 = 0x22,\r | |
545 | ProcessorFamilyPowerPC603Plus = 0x23,\r | |
546 | ProcessorFamilyPowerPC604 = 0x24,\r | |
547 | ProcessorFamilyPowerPC620 = 0x25,\r | |
548 | ProcessorFamilyPowerPCx704 = 0x26,\r | |
549 | ProcessorFamilyPowerPC750 = 0x27,\r | |
3507ab19 | 550 | ProcessorFamilyIntelCoreDuo = 0x28,\r |
551 | ProcessorFamilyIntelCoreDuoMobile = 0x29,\r | |
552 | ProcessorFamilyIntelCoreSoloMobile = 0x2A,\r | |
553 | ProcessorFamilyIntelAtom = 0x2B,\r | |
6cd35c62 | 554 | ProcessorFamilyIntelCoreM = 0x2C,\r |
ff6a1f32 SZ |
555 | ProcessorFamilyIntelCorem3 = 0x2D,\r |
556 | ProcessorFamilyIntelCorem5 = 0x2E,\r | |
557 | ProcessorFamilyIntelCorem7 = 0x2F,\r | |
4a228334 | 558 | ProcessorFamilyAlpha = 0x30,\r |
98cb9ae8 | 559 | ProcessorFamilyAlpha21064 = 0x31,\r |
560 | ProcessorFamilyAlpha21066 = 0x32,\r | |
561 | ProcessorFamilyAlpha21164 = 0x33,\r | |
562 | ProcessorFamilyAlpha21164PC = 0x34,\r | |
563 | ProcessorFamilyAlpha21164a = 0x35,\r | |
564 | ProcessorFamilyAlpha21264 = 0x36,\r | |
565 | ProcessorFamilyAlpha21364 = 0x37,\r | |
7ddba202 SZ |
566 | ProcessorFamilyAmdTurionIIUltraDualCoreMobileM = 0x38,\r |
567 | ProcessorFamilyAmdTurionIIDualCoreMobileM = 0x39,\r | |
568 | ProcessorFamilyAmdAthlonIIDualCoreM = 0x3A,\r | |
569 | ProcessorFamilyAmdOpteron6100Series = 0x3B,\r | |
570 | ProcessorFamilyAmdOpteron4100Series = 0x3C,\r | |
571 | ProcessorFamilyAmdOpteron6200Series = 0x3D,\r | |
572 | ProcessorFamilyAmdOpteron4200Series = 0x3E,\r | |
4a228334 | 573 | ProcessorFamilyAmdFxSeries = 0x3F,\r |
98cb9ae8 | 574 | ProcessorFamilyMips = 0x40,\r |
575 | ProcessorFamilyMIPSR4000 = 0x41,\r | |
576 | ProcessorFamilyMIPSR4200 = 0x42,\r | |
577 | ProcessorFamilyMIPSR4400 = 0x43,\r | |
578 | ProcessorFamilyMIPSR4600 = 0x44,\r | |
579 | ProcessorFamilyMIPSR10000 = 0x45,\r | |
7ddba202 SZ |
580 | ProcessorFamilyAmdCSeries = 0x46,\r |
581 | ProcessorFamilyAmdESeries = 0x47,\r | |
4a228334 | 582 | ProcessorFamilyAmdASeries = 0x48, ///< SMBIOS spec 2.8.0 updated the name\r |
7ddba202 | 583 | ProcessorFamilyAmdGSeries = 0x49,\r |
4a228334 EL |
584 | ProcessorFamilyAmdZSeries = 0x4A,\r |
585 | ProcessorFamilyAmdRSeries = 0x4B,\r | |
586 | ProcessorFamilyAmdOpteron4300 = 0x4C,\r | |
587 | ProcessorFamilyAmdOpteron6300 = 0x4D,\r | |
588 | ProcessorFamilyAmdOpteron3300 = 0x4E,\r | |
589 | ProcessorFamilyAmdFireProSeries = 0x4F,\r | |
98cb9ae8 | 590 | ProcessorFamilySparc = 0x50,\r |
591 | ProcessorFamilySuperSparc = 0x51,\r | |
592 | ProcessorFamilymicroSparcII = 0x52,\r | |
593 | ProcessorFamilymicroSparcIIep = 0x53,\r | |
594 | ProcessorFamilyUltraSparc = 0x54,\r | |
595 | ProcessorFamilyUltraSparcII = 0x55,\r | |
4a228334 | 596 | ProcessorFamilyUltraSparcIii = 0x56,\r |
98cb9ae8 | 597 | ProcessorFamilyUltraSparcIII = 0x57,\r |
598 | ProcessorFamilyUltraSparcIIIi = 0x58,\r | |
599 | ProcessorFamily68040 = 0x60,\r | |
600 | ProcessorFamily68xxx = 0x61,\r | |
601 | ProcessorFamily68000 = 0x62,\r | |
602 | ProcessorFamily68010 = 0x63,\r | |
603 | ProcessorFamily68020 = 0x64,\r | |
604 | ProcessorFamily68030 = 0x65,\r | |
6cd35c62 EL |
605 | ProcessorFamilyAmdAthlonX4QuadCore = 0x66,\r |
606 | ProcessorFamilyAmdOpteronX1000Series = 0x67,\r | |
607 | ProcessorFamilyAmdOpteronX2000Series = 0x68,\r | |
ff6a1f32 SZ |
608 | ProcessorFamilyAmdOpteronASeries = 0x69,\r |
609 | ProcessorFamilyAmdOpteronX3000Series = 0x6A,\r | |
043026ac | 610 | ProcessorFamilyAmdZen = 0x6B,\r |
98cb9ae8 | 611 | ProcessorFamilyHobbit = 0x70,\r |
612 | ProcessorFamilyCrusoeTM5000 = 0x78,\r | |
613 | ProcessorFamilyCrusoeTM3000 = 0x79,\r | |
614 | ProcessorFamilyEfficeonTM8000 = 0x7A,\r | |
615 | ProcessorFamilyWeitek = 0x80,\r | |
616 | ProcessorFamilyItanium = 0x82,\r | |
617 | ProcessorFamilyAmdAthlon64 = 0x83,\r | |
618 | ProcessorFamilyAmdOpteron = 0x84,\r | |
619 | ProcessorFamilyAmdSempron = 0x85,\r | |
620 | ProcessorFamilyAmdTurion64Mobile = 0x86,\r | |
621 | ProcessorFamilyDualCoreAmdOpteron = 0x87,\r | |
622 | ProcessorFamilyAmdAthlon64X2DualCore = 0x88,\r | |
623 | ProcessorFamilyAmdTurion64X2Mobile = 0x89,\r | |
3507ab19 | 624 | ProcessorFamilyQuadCoreAmdOpteron = 0x8A,\r |
625 | ProcessorFamilyThirdGenerationAmdOpteron = 0x8B,\r | |
626 | ProcessorFamilyAmdPhenomFxQuadCore = 0x8C,\r | |
627 | ProcessorFamilyAmdPhenomX4QuadCore = 0x8D,\r | |
628 | ProcessorFamilyAmdPhenomX2DualCore = 0x8E,\r | |
9095d37b | 629 | ProcessorFamilyAmdAthlonX2DualCore = 0x8F,\r |
98cb9ae8 | 630 | ProcessorFamilyPARISC = 0x90,\r |
631 | ProcessorFamilyPaRisc8500 = 0x91,\r | |
632 | ProcessorFamilyPaRisc8000 = 0x92,\r | |
633 | ProcessorFamilyPaRisc7300LC = 0x93,\r | |
634 | ProcessorFamilyPaRisc7200 = 0x94,\r | |
635 | ProcessorFamilyPaRisc7100LC = 0x95,\r | |
636 | ProcessorFamilyPaRisc7100 = 0x96,\r | |
637 | ProcessorFamilyV30 = 0xA0,\r | |
3507ab19 | 638 | ProcessorFamilyQuadCoreIntelXeon3200Series = 0xA1,\r |
639 | ProcessorFamilyDualCoreIntelXeon3000Series = 0xA2,\r | |
640 | ProcessorFamilyQuadCoreIntelXeon5300Series = 0xA3,\r | |
641 | ProcessorFamilyDualCoreIntelXeon5100Series = 0xA4,\r | |
642 | ProcessorFamilyDualCoreIntelXeon5000Series = 0xA5,\r | |
643 | ProcessorFamilyDualCoreIntelXeonLV = 0xA6,\r | |
644 | ProcessorFamilyDualCoreIntelXeonULV = 0xA7,\r | |
645 | ProcessorFamilyDualCoreIntelXeon7100Series = 0xA8,\r | |
646 | ProcessorFamilyQuadCoreIntelXeon5400Series = 0xA9,\r | |
647 | ProcessorFamilyQuadCoreIntelXeon = 0xAA,\r | |
648 | ProcessorFamilyDualCoreIntelXeon5200Series = 0xAB,\r | |
649 | ProcessorFamilyDualCoreIntelXeon7200Series = 0xAC,\r | |
650 | ProcessorFamilyQuadCoreIntelXeon7300Series = 0xAD,\r | |
651 | ProcessorFamilyQuadCoreIntelXeon7400Series = 0xAE,\r | |
652 | ProcessorFamilyMultiCoreIntelXeon7400Series = 0xAF,\r | |
98cb9ae8 | 653 | ProcessorFamilyPentiumIIIXeon = 0xB0,\r |
654 | ProcessorFamilyPentiumIIISpeedStep = 0xB1,\r | |
655 | ProcessorFamilyPentium4 = 0xB2,\r | |
656 | ProcessorFamilyIntelXeon = 0xB3,\r | |
657 | ProcessorFamilyAS400 = 0xB4,\r | |
658 | ProcessorFamilyIntelXeonMP = 0xB5,\r | |
659 | ProcessorFamilyAMDAthlonXP = 0xB6,\r | |
660 | ProcessorFamilyAMDAthlonMP = 0xB7,\r | |
661 | ProcessorFamilyIntelItanium2 = 0xB8,\r | |
662 | ProcessorFamilyIntelPentiumM = 0xB9,\r | |
663 | ProcessorFamilyIntelCeleronD = 0xBA,\r | |
664 | ProcessorFamilyIntelPentiumD = 0xBB,\r | |
665 | ProcessorFamilyIntelPentiumEx = 0xBC,\r | |
4a228334 | 666 | ProcessorFamilyIntelCoreSolo = 0xBD, ///< SMBIOS spec 2.6 updated this value\r |
98cb9ae8 | 667 | ProcessorFamilyReserved = 0xBE,\r |
668 | ProcessorFamilyIntelCore2 = 0xBF,\r | |
3507ab19 | 669 | ProcessorFamilyIntelCore2Solo = 0xC0,\r |
670 | ProcessorFamilyIntelCore2Extreme = 0xC1,\r | |
671 | ProcessorFamilyIntelCore2Quad = 0xC2,\r | |
672 | ProcessorFamilyIntelCore2ExtremeMobile = 0xC3,\r | |
673 | ProcessorFamilyIntelCore2DuoMobile = 0xC4,\r | |
674 | ProcessorFamilyIntelCore2SoloMobile = 0xC5,\r | |
675 | ProcessorFamilyIntelCoreI7 = 0xC6,\r | |
9095d37b | 676 | ProcessorFamilyDualCoreIntelCeleron = 0xC7,\r |
98cb9ae8 | 677 | ProcessorFamilyIBM390 = 0xC8,\r |
678 | ProcessorFamilyG4 = 0xC9,\r | |
679 | ProcessorFamilyG5 = 0xCA,\r | |
680 | ProcessorFamilyG6 = 0xCB,\r | |
4a228334 | 681 | ProcessorFamilyzArchitecture = 0xCC,\r |
7ddba202 SZ |
682 | ProcessorFamilyIntelCoreI5 = 0xCD,\r |
683 | ProcessorFamilyIntelCoreI3 = 0xCE,\r | |
cfcca3c2 | 684 | ProcessorFamilyIntelCoreI9 = 0xCF,\r |
98cb9ae8 | 685 | ProcessorFamilyViaC7M = 0xD2,\r |
686 | ProcessorFamilyViaC7D = 0xD3,\r | |
687 | ProcessorFamilyViaC7 = 0xD4,\r | |
688 | ProcessorFamilyViaEden = 0xD5,\r | |
3507ab19 | 689 | ProcessorFamilyMultiCoreIntelXeon = 0xD6,\r |
690 | ProcessorFamilyDualCoreIntelXeon3Series = 0xD7,\r | |
691 | ProcessorFamilyQuadCoreIntelXeon3Series = 0xD8,\r | |
7ddba202 | 692 | ProcessorFamilyViaNano = 0xD9,\r |
3507ab19 | 693 | ProcessorFamilyDualCoreIntelXeon5Series = 0xDA,\r |
694 | ProcessorFamilyQuadCoreIntelXeon5Series = 0xDB,\r | |
695 | ProcessorFamilyDualCoreIntelXeon7Series = 0xDD,\r | |
696 | ProcessorFamilyQuadCoreIntelXeon7Series = 0xDE,\r | |
697 | ProcessorFamilyMultiCoreIntelXeon7Series = 0xDF,\r | |
7ddba202 | 698 | ProcessorFamilyMultiCoreIntelXeon3400Series = 0xE0,\r |
4a228334 EL |
699 | ProcessorFamilyAmdOpteron3000Series = 0xE4,\r |
700 | ProcessorFamilyAmdSempronII = 0xE5,\r | |
3507ab19 | 701 | ProcessorFamilyEmbeddedAmdOpteronQuadCore = 0xE6,\r |
702 | ProcessorFamilyAmdPhenomTripleCore = 0xE7,\r | |
703 | ProcessorFamilyAmdTurionUltraDualCoreMobile = 0xE8,\r | |
704 | ProcessorFamilyAmdTurionDualCoreMobile = 0xE9,\r | |
705 | ProcessorFamilyAmdAthlonDualCore = 0xEA,\r | |
706 | ProcessorFamilyAmdSempronSI = 0xEB,\r | |
7ddba202 SZ |
707 | ProcessorFamilyAmdPhenomII = 0xEC,\r |
708 | ProcessorFamilyAmdAthlonII = 0xED,\r | |
709 | ProcessorFamilySixCoreAmdOpteron = 0xEE,\r | |
710 | ProcessorFamilyAmdSempronM = 0xEF,\r | |
98cb9ae8 | 711 | ProcessorFamilyi860 = 0xFA,\r |
712 | ProcessorFamilyi960 = 0xFB,\r | |
713 | ProcessorFamilyIndicatorFamily2 = 0xFE,\r | |
714 | ProcessorFamilyReserved1 = 0xFF\r | |
715 | } PROCESSOR_FAMILY_DATA;\r | |
716 | \r | |
f9ed6c93 YL |
717 | ///\r |
718 | /// Processor Information2 - Processor Family2.\r | |
719 | ///\r | |
720 | typedef enum {\r | |
ff6a1f32 SZ |
721 | ProcessorFamilyARMv7 = 0x0100,\r |
722 | ProcessorFamilyARMv8 = 0x0101,\r | |
f9ed6c93 YL |
723 | ProcessorFamilySH3 = 0x0104,\r |
724 | ProcessorFamilySH4 = 0x0105,\r | |
725 | ProcessorFamilyARM = 0x0118,\r | |
726 | ProcessorFamilyStrongARM = 0x0119,\r | |
727 | ProcessorFamily6x86 = 0x012C,\r | |
728 | ProcessorFamilyMediaGX = 0x012D,\r | |
729 | ProcessorFamilyMII = 0x012E,\r | |
730 | ProcessorFamilyWinChip = 0x0140,\r | |
731 | ProcessorFamilyDSP = 0x015E,\r | |
f06c92a6 AC |
732 | ProcessorFamilyVideoProcessor = 0x01F4,\r |
733 | ProcessorFamilyRiscvRV32 = 0x0200,\r | |
734 | ProcessorFamilyRiscVRV64 = 0x0201,\r | |
735 | ProcessorFamilyRiscVRV128 = 0x0202\r | |
f9ed6c93 YL |
736 | } PROCESSOR_FAMILY2_DATA;\r |
737 | \r | |
98cb9ae8 | 738 | ///\r |
9095d37b | 739 | /// Processor Information - Voltage.\r |
98cb9ae8 | 740 | ///\r |
741 | typedef struct {\r | |
9095d37b LG |
742 | UINT8 ProcessorVoltageCapability5V :1;\r |
743 | UINT8 ProcessorVoltageCapability3_3V :1;\r | |
744 | UINT8 ProcessorVoltageCapability2_9V :1;\r | |
6800ac83 | 745 | UINT8 ProcessorVoltageCapabilityReserved :1; ///< Bit 3, must be zero.\r |
746 | UINT8 ProcessorVoltageReserved :3; ///< Bits 4-6, must be zero.\r | |
747 | UINT8 ProcessorVoltageIndicateLegacy :1;\r | |
98cb9ae8 | 748 | } PROCESSOR_VOLTAGE;\r |
749 | \r | |
750 | ///\r | |
af2dc6a7 | 751 | /// Processor Information - Processor Upgrade.\r |
98cb9ae8 | 752 | ///\r |
753 | typedef enum {\r | |
754 | ProcessorUpgradeOther = 0x01,\r | |
755 | ProcessorUpgradeUnknown = 0x02,\r | |
756 | ProcessorUpgradeDaughterBoard = 0x03,\r | |
757 | ProcessorUpgradeZIFSocket = 0x04,\r | |
af2dc6a7 | 758 | ProcessorUpgradePiggyBack = 0x05, ///< Replaceable.\r |
98cb9ae8 | 759 | ProcessorUpgradeNone = 0x06,\r |
760 | ProcessorUpgradeLIFSocket = 0x07,\r | |
761 | ProcessorUpgradeSlot1 = 0x08,\r | |
762 | ProcessorUpgradeSlot2 = 0x09,\r | |
763 | ProcessorUpgrade370PinSocket = 0x0A,\r | |
764 | ProcessorUpgradeSlotA = 0x0B,\r | |
765 | ProcessorUpgradeSlotM = 0x0C,\r | |
766 | ProcessorUpgradeSocket423 = 0x0D,\r | |
af2dc6a7 | 767 | ProcessorUpgradeSocketA = 0x0E, ///< Socket 462.\r |
98cb9ae8 | 768 | ProcessorUpgradeSocket478 = 0x0F,\r |
769 | ProcessorUpgradeSocket754 = 0x10,\r | |
770 | ProcessorUpgradeSocket940 = 0x11,\r | |
771 | ProcessorUpgradeSocket939 = 0x12,\r | |
772 | ProcessorUpgradeSocketmPGA604 = 0x13,\r | |
773 | ProcessorUpgradeSocketLGA771 = 0x14,\r | |
774 | ProcessorUpgradeSocketLGA775 = 0x15,\r | |
775 | ProcessorUpgradeSocketS1 = 0x16,\r | |
776 | ProcessorUpgradeAM2 = 0x17,\r | |
3507ab19 | 777 | ProcessorUpgradeF1207 = 0x18,\r |
7ddba202 SZ |
778 | ProcessorSocketLGA1366 = 0x19,\r |
779 | ProcessorUpgradeSocketG34 = 0x1A,\r | |
780 | ProcessorUpgradeSocketAM3 = 0x1B,\r | |
781 | ProcessorUpgradeSocketC32 = 0x1C,\r | |
782 | ProcessorUpgradeSocketLGA1156 = 0x1D,\r | |
783 | ProcessorUpgradeSocketLGA1567 = 0x1E,\r | |
784 | ProcessorUpgradeSocketPGA988A = 0x1F,\r | |
785 | ProcessorUpgradeSocketBGA1288 = 0x20,\r | |
786 | ProcessorUpgradeSocketrPGA988B = 0x21,\r | |
787 | ProcessorUpgradeSocketBGA1023 = 0x22,\r | |
788 | ProcessorUpgradeSocketBGA1224 = 0x23,\r | |
4a228334 | 789 | ProcessorUpgradeSocketLGA1155 = 0x24, ///< SMBIOS spec 2.8.0 updated the name\r |
7ddba202 SZ |
790 | ProcessorUpgradeSocketLGA1356 = 0x25,\r |
791 | ProcessorUpgradeSocketLGA2011 = 0x26,\r | |
792 | ProcessorUpgradeSocketFS1 = 0x27,\r | |
793 | ProcessorUpgradeSocketFS2 = 0x28,\r | |
794 | ProcessorUpgradeSocketFM1 = 0x29,\r | |
4a228334 EL |
795 | ProcessorUpgradeSocketFM2 = 0x2A,\r |
796 | ProcessorUpgradeSocketLGA2011_3 = 0x2B,\r | |
6cd35c62 EL |
797 | ProcessorUpgradeSocketLGA1356_3 = 0x2C,\r |
798 | ProcessorUpgradeSocketLGA1150 = 0x2D,\r | |
799 | ProcessorUpgradeSocketBGA1168 = 0x2E,\r | |
800 | ProcessorUpgradeSocketBGA1234 = 0x2F,\r | |
ff6a1f32 SZ |
801 | ProcessorUpgradeSocketBGA1364 = 0x30,\r |
802 | ProcessorUpgradeSocketAM4 = 0x31,\r | |
803 | ProcessorUpgradeSocketLGA1151 = 0x32,\r | |
804 | ProcessorUpgradeSocketBGA1356 = 0x33,\r | |
805 | ProcessorUpgradeSocketBGA1440 = 0x34,\r | |
806 | ProcessorUpgradeSocketBGA1515 = 0x35,\r | |
807 | ProcessorUpgradeSocketLGA3647_1 = 0x36,\r | |
043026ac | 808 | ProcessorUpgradeSocketSP3 = 0x37,\r |
cfcca3c2 SZ |
809 | ProcessorUpgradeSocketSP3r2 = 0x38,\r |
810 | ProcessorUpgradeSocketLGA2066 = 0x39,\r | |
811 | ProcessorUpgradeSocketBGA1392 = 0x3A,\r | |
812 | ProcessorUpgradeSocketBGA1510 = 0x3B,\r | |
813 | ProcessorUpgradeSocketBGA1528 = 0x3C\r | |
98cb9ae8 | 814 | } PROCESSOR_UPGRADE;\r |
815 | \r | |
816 | ///\r | |
817 | /// Processor ID Field Description\r | |
818 | ///\r | |
819 | typedef struct {\r | |
820 | UINT32 ProcessorSteppingId:4;\r | |
821 | UINT32 ProcessorModel: 4;\r | |
822 | UINT32 ProcessorFamily: 4;\r | |
823 | UINT32 ProcessorType: 2;\r | |
824 | UINT32 ProcessorReserved1: 2;\r | |
825 | UINT32 ProcessorXModel: 4;\r | |
826 | UINT32 ProcessorXFamily: 8;\r | |
827 | UINT32 ProcessorReserved2: 4;\r | |
828 | } PROCESSOR_SIGNATURE;\r | |
829 | \r | |
98cb9ae8 | 830 | typedef struct {\r |
831 | UINT32 ProcessorFpu :1;\r | |
832 | UINT32 ProcessorVme :1;\r | |
833 | UINT32 ProcessorDe :1;\r | |
834 | UINT32 ProcessorPse :1;\r | |
835 | UINT32 ProcessorTsc :1;\r | |
836 | UINT32 ProcessorMsr :1;\r | |
837 | UINT32 ProcessorPae :1;\r | |
838 | UINT32 ProcessorMce :1;\r | |
839 | UINT32 ProcessorCx8 :1;\r | |
840 | UINT32 ProcessorApic :1;\r | |
841 | UINT32 ProcessorReserved1 :1;\r | |
842 | UINT32 ProcessorSep :1;\r | |
843 | UINT32 ProcessorMtrr :1;\r | |
844 | UINT32 ProcessorPge :1;\r | |
845 | UINT32 ProcessorMca :1;\r | |
846 | UINT32 ProcessorCmov :1;\r | |
847 | UINT32 ProcessorPat :1;\r | |
848 | UINT32 ProcessorPse36 :1;\r | |
849 | UINT32 ProcessorPsn :1;\r | |
850 | UINT32 ProcessorClfsh :1;\r | |
851 | UINT32 ProcessorReserved2 :1;\r | |
852 | UINT32 ProcessorDs :1;\r | |
853 | UINT32 ProcessorAcpi :1;\r | |
854 | UINT32 ProcessorMmx :1;\r | |
855 | UINT32 ProcessorFxsr :1;\r | |
856 | UINT32 ProcessorSse :1;\r | |
857 | UINT32 ProcessorSse2 :1;\r | |
858 | UINT32 ProcessorSs :1;\r | |
859 | UINT32 ProcessorReserved3 :1;\r | |
860 | UINT32 ProcessorTm :1;\r | |
861 | UINT32 ProcessorReserved4 :2;\r | |
862 | } PROCESSOR_FEATURE_FLAGS;\r | |
863 | \r | |
f06c92a6 | 864 | typedef struct {\r |
e157c8f9 RC |
865 | UINT16 ProcessorReserved1 :1;\r |
866 | UINT16 ProcessorUnknown :1;\r | |
867 | UINT16 Processor64BitCapable :1;\r | |
868 | UINT16 ProcessorMultiCore :1;\r | |
869 | UINT16 ProcessorHardwareThread :1;\r | |
870 | UINT16 ProcessorExecuteProtection :1;\r | |
871 | UINT16 ProcessorEnhancedVirtualization :1;\r | |
872 | UINT16 ProcessorPowerPerformanceCtrl :1;\r | |
873 | UINT16 Processor128BitCapable :1;\r | |
874 | UINT16 ProcessorArm64SocId :1;\r | |
875 | UINT16 ProcessorReserved2 :6;\r | |
f06c92a6 AC |
876 | } PROCESSOR_CHARACTERISTIC_FLAGS;\r |
877 | \r | |
98cb9ae8 | 878 | typedef struct {\r |
879 | PROCESSOR_SIGNATURE Signature;\r | |
98cb9ae8 | 880 | PROCESSOR_FEATURE_FLAGS FeatureFlags;\r |
6800ac83 | 881 | } PROCESSOR_ID_DATA;\r |
98cb9ae8 | 882 | \r |
4135253b | 883 | ///\r |
af2dc6a7 | 884 | /// Processor Information (Type 4).\r |
4135253b | 885 | ///\r |
9095d37b LG |
886 | /// The information in this structure defines the attributes of a single processor;\r |
887 | /// a separate structure instance is provided for each system processor socket/slot.\r | |
888 | /// For example, a system with an IntelDX2 processor would have a single\r | |
af2dc6a7 | 889 | /// structure instance, while a system with an IntelSX2 processor would have a structure\r |
9095d37b | 890 | /// to describe the main CPU, and a second structure to describe the 80487 co-processor.\r |
98cb9ae8 | 891 | ///\r |
9095d37b | 892 | typedef struct {\r |
61ce5861 | 893 | SMBIOS_STRUCTURE Hdr;\r |
2d5e30ef | 894 | SMBIOS_TABLE_STRING Socket;\r |
af2dc6a7 | 895 | UINT8 ProcessorType; ///< The enumeration value from PROCESSOR_TYPE_DATA.\r |
896 | UINT8 ProcessorFamily; ///< The enumeration value from PROCESSOR_FAMILY_DATA.\r | |
bd9da7b1 | 897 | SMBIOS_TABLE_STRING ProcessorManufacturer;\r |
98cb9ae8 | 898 | PROCESSOR_ID_DATA ProcessorId;\r |
61ce5861 | 899 | SMBIOS_TABLE_STRING ProcessorVersion;\r |
98cb9ae8 | 900 | PROCESSOR_VOLTAGE Voltage;\r |
61ce5861 | 901 | UINT16 ExternalClock;\r |
902 | UINT16 MaxSpeed;\r | |
903 | UINT16 CurrentSpeed;\r | |
904 | UINT8 Status;\r | |
af2dc6a7 | 905 | UINT8 ProcessorUpgrade; ///< The enumeration value from PROCESSOR_UPGRADE.\r |
61ce5861 | 906 | UINT16 L1CacheHandle;\r |
907 | UINT16 L2CacheHandle;\r | |
908 | UINT16 L3CacheHandle;\r | |
909 | SMBIOS_TABLE_STRING SerialNumber;\r | |
910 | SMBIOS_TABLE_STRING AssetTag;\r | |
911 | SMBIOS_TABLE_STRING PartNumber;\r | |
912 | //\r | |
913 | // Add for smbios 2.5\r | |
914 | //\r | |
915 | UINT8 CoreCount;\r | |
916 | UINT8 EnabledCoreCount;\r | |
917 | UINT8 ThreadCount;\r | |
918 | UINT16 ProcessorCharacteristics;\r | |
919 | //\r | |
920 | // Add for smbios 2.6\r | |
921 | //\r | |
922 | UINT16 ProcessorFamily2;\r | |
6cd35c62 EL |
923 | //\r |
924 | // Add for smbios 3.0\r | |
925 | //\r | |
926 | UINT16 CoreCount2;\r | |
927 | UINT16 EnabledCoreCount2;\r | |
928 | UINT16 ThreadCount2;\r | |
61ce5861 | 929 | } SMBIOS_TABLE_TYPE4;\r |
930 | \r | |
98cb9ae8 | 931 | ///\r |
af2dc6a7 | 932 | /// Memory Controller Error Detecting Method.\r |
98cb9ae8 | 933 | ///\r |
9095d37b | 934 | typedef enum {\r |
98cb9ae8 | 935 | ErrorDetectingMethodOther = 0x01,\r |
936 | ErrorDetectingMethodUnknown = 0x02,\r | |
937 | ErrorDetectingMethodNone = 0x03,\r | |
938 | ErrorDetectingMethodParity = 0x04,\r | |
939 | ErrorDetectingMethod32Ecc = 0x05,\r | |
940 | ErrorDetectingMethod64Ecc = 0x06,\r | |
941 | ErrorDetectingMethod128Ecc = 0x07,\r | |
942 | ErrorDetectingMethodCrc = 0x08\r | |
943 | } MEMORY_ERROR_DETECT_METHOD;\r | |
944 | \r | |
945 | ///\r | |
af2dc6a7 | 946 | /// Memory Controller Error Correcting Capability.\r |
98cb9ae8 | 947 | ///\r |
948 | typedef struct {\r | |
949 | UINT8 Other :1;\r | |
950 | UINT8 Unknown :1;\r | |
951 | UINT8 None :1;\r | |
952 | UINT8 SingleBitErrorCorrect :1;\r | |
953 | UINT8 DoubleBitErrorCorrect :1;\r | |
954 | UINT8 ErrorScrubbing :1;\r | |
955 | UINT8 Reserved :2;\r | |
956 | } MEMORY_ERROR_CORRECT_CAPABILITY;\r | |
957 | \r | |
958 | ///\r | |
af2dc6a7 | 959 | /// Memory Controller Information - Interleave Support.\r |
98cb9ae8 | 960 | ///\r |
9095d37b | 961 | typedef enum {\r |
98cb9ae8 | 962 | MemoryInterleaveOther = 0x01,\r |
963 | MemoryInterleaveUnknown = 0x02,\r | |
964 | MemoryInterleaveOneWay = 0x03,\r | |
965 | MemoryInterleaveTwoWay = 0x04,\r | |
966 | MemoryInterleaveFourWay = 0x05,\r | |
967 | MemoryInterleaveEightWay = 0x06,\r | |
968 | MemoryInterleaveSixteenWay = 0x07\r | |
969 | } MEMORY_SUPPORT_INTERLEAVE_TYPE;\r | |
970 | \r | |
971 | ///\r | |
af2dc6a7 | 972 | /// Memory Controller Information - Memory Speeds.\r |
98cb9ae8 | 973 | ///\r |
974 | typedef struct {\r | |
975 | UINT16 Other :1;\r | |
976 | UINT16 Unknown :1;\r | |
977 | UINT16 SeventyNs:1;\r | |
978 | UINT16 SixtyNs :1;\r | |
979 | UINT16 FiftyNs :1;\r | |
980 | UINT16 Reserved :11;\r | |
981 | } MEMORY_SPEED_TYPE;\r | |
982 | \r | |
4135253b | 983 | ///\r |
af2dc6a7 | 984 | /// Memory Controller Information (Type 5, Obsolete).\r |
4135253b | 985 | ///\r |
9095d37b LG |
986 | /// The information in this structure defines the attributes of the system's memory controller(s)\r |
987 | /// and the supported attributes of any memory-modules present in the sockets controlled by\r | |
988 | /// this controller.\r | |
989 | /// Note: This structure, and its companion Memory Module Information (Type 6, Obsolete),\r | |
af2dc6a7 | 990 | /// are obsolete starting with version 2.1 of this specification. The Physical Memory Array (Type 16)\r |
98cb9ae8 | 991 | /// and Memory Device (Type 17) structures should be used instead. BIOS providers might\r |
992 | /// choose to implement both memory description types to allow existing DMI browsers\r | |
993 | /// to properly display the system's memory attributes.\r | |
994 | ///\r | |
61ce5861 | 995 | typedef struct {\r |
98cb9ae8 | 996 | SMBIOS_STRUCTURE Hdr;\r |
af2dc6a7 | 997 | UINT8 ErrDetectMethod; ///< The enumeration value from MEMORY_ERROR_DETECT_METHOD.\r |
98cb9ae8 | 998 | MEMORY_ERROR_CORRECT_CAPABILITY ErrCorrectCapability;\r |
af2dc6a7 | 999 | UINT8 SupportInterleave; ///< The enumeration value from MEMORY_SUPPORT_INTERLEAVE_TYPE.\r |
9095d37b | 1000 | UINT8 CurrentInterleave; ///< The enumeration value from MEMORY_SUPPORT_INTERLEAVE_TYPE .\r |
98cb9ae8 | 1001 | UINT8 MaxMemoryModuleSize;\r |
1002 | MEMORY_SPEED_TYPE SupportSpeed;\r | |
1003 | UINT16 SupportMemoryType;\r | |
1004 | UINT8 MemoryModuleVoltage;\r | |
1005 | UINT8 AssociatedMemorySlotNum;\r | |
1006 | UINT16 MemoryModuleConfigHandles[1];\r | |
61ce5861 | 1007 | } SMBIOS_TABLE_TYPE5;\r |
1008 | \r | |
98cb9ae8 | 1009 | ///\r |
1010 | /// Memory Module Information - Memory Types\r | |
1011 | ///\r | |
1012 | typedef struct {\r | |
1013 | UINT16 Other :1;\r | |
1014 | UINT16 Unknown :1;\r | |
1015 | UINT16 Standard :1;\r | |
1016 | UINT16 FastPageMode:1;\r | |
b4ab47ec | 1017 | UINT16 Edo :1;\r |
98cb9ae8 | 1018 | UINT16 Parity :1;\r |
b4ab47ec | 1019 | UINT16 Ecc :1;\r |
1020 | UINT16 Simm :1;\r | |
1021 | UINT16 Dimm :1;\r | |
98cb9ae8 | 1022 | UINT16 BurstEdo :1;\r |
b4ab47ec | 1023 | UINT16 Sdram :1;\r |
98cb9ae8 | 1024 | UINT16 Reserved :5;\r |
1025 | } MEMORY_CURRENT_TYPE;\r | |
1026 | \r | |
1027 | ///\r | |
af2dc6a7 | 1028 | /// Memory Module Information - Memory Size.\r |
98cb9ae8 | 1029 | ///\r |
1030 | typedef struct {\r | |
6800ac83 | 1031 | UINT8 InstalledOrEnabledSize :7; ///< Size (n), where 2**n is the size in MB.\r |
98cb9ae8 | 1032 | UINT8 SingleOrDoubleBank :1;\r |
1033 | } MEMORY_INSTALLED_ENABLED_SIZE;\r | |
1034 | \r | |
4135253b | 1035 | ///\r |
1036 | /// Memory Module Information (Type 6, Obsolete)\r | |
1037 | ///\r | |
9095d37b | 1038 | /// One Memory Module Information structure is included for each memory-module socket\r |
98cb9ae8 | 1039 | /// in the system. The structure describes the speed, type, size, and error status\r |
9095d37b LG |
1040 | /// of each system memory module. The supported attributes of each module are described\r |
1041 | /// by the "owning" Memory Controller Information structure.\r | |
1042 | /// Note: This structure, and its companion Memory Controller Information (Type 5, Obsolete),\r | |
af2dc6a7 | 1043 | /// are obsolete starting with version 2.1 of this specification. The Physical Memory Array (Type 16)\r |
98cb9ae8 | 1044 | /// and Memory Device (Type 17) structures should be used instead.\r |
1045 | ///\r | |
61ce5861 | 1046 | typedef struct {\r |
98cb9ae8 | 1047 | SMBIOS_STRUCTURE Hdr;\r |
1048 | SMBIOS_TABLE_STRING SocketDesignation;\r | |
1049 | UINT8 BankConnections;\r | |
1050 | UINT8 CurrentSpeed;\r | |
1051 | MEMORY_CURRENT_TYPE CurrentMemoryType;\r | |
1052 | MEMORY_INSTALLED_ENABLED_SIZE InstalledSize;\r | |
1053 | MEMORY_INSTALLED_ENABLED_SIZE EnabledSize;\r | |
1054 | UINT8 ErrorStatus;\r | |
61ce5861 | 1055 | } SMBIOS_TABLE_TYPE6;\r |
1056 | \r | |
98cb9ae8 | 1057 | ///\r |
af2dc6a7 | 1058 | /// Cache Information - SRAM Type.\r |
98cb9ae8 | 1059 | ///\r |
1060 | typedef struct {\r | |
1061 | UINT16 Other :1;\r | |
1062 | UINT16 Unknown :1;\r | |
1063 | UINT16 NonBurst :1;\r | |
1064 | UINT16 Burst :1;\r | |
1065 | UINT16 PipelineBurst :1;\r | |
98cb9ae8 | 1066 | UINT16 Synchronous :1;\r |
53d90f04 | 1067 | UINT16 Asynchronous :1;\r |
98cb9ae8 | 1068 | UINT16 Reserved :9;\r |
1069 | } CACHE_SRAM_TYPE_DATA;\r | |
1070 | \r | |
1071 | ///\r | |
af2dc6a7 | 1072 | /// Cache Information - Error Correction Type.\r |
98cb9ae8 | 1073 | ///\r |
1074 | typedef enum {\r | |
1075 | CacheErrorOther = 0x01,\r | |
1076 | CacheErrorUnknown = 0x02,\r | |
1077 | CacheErrorNone = 0x03,\r | |
1078 | CacheErrorParity = 0x04,\r | |
6800ac83 | 1079 | CacheErrorSingleBit = 0x05, ///< ECC\r |
1080 | CacheErrorMultiBit = 0x06 ///< ECC\r | |
98cb9ae8 | 1081 | } CACHE_ERROR_TYPE_DATA;\r |
1082 | \r | |
1083 | ///\r | |
9095d37b | 1084 | /// Cache Information - System Cache Type.\r |
98cb9ae8 | 1085 | ///\r |
1086 | typedef enum {\r | |
1087 | CacheTypeOther = 0x01,\r | |
1088 | CacheTypeUnknown = 0x02,\r | |
1089 | CacheTypeInstruction = 0x03,\r | |
1090 | CacheTypeData = 0x04,\r | |
1091 | CacheTypeUnified = 0x05\r | |
1092 | } CACHE_TYPE_DATA;\r | |
1093 | \r | |
1094 | ///\r | |
9095d37b | 1095 | /// Cache Information - Associativity.\r |
98cb9ae8 | 1096 | ///\r |
1097 | typedef enum {\r | |
1098 | CacheAssociativityOther = 0x01,\r | |
1099 | CacheAssociativityUnknown = 0x02,\r | |
1100 | CacheAssociativityDirectMapped = 0x03,\r | |
1101 | CacheAssociativity2Way = 0x04,\r | |
1102 | CacheAssociativity4Way = 0x05,\r | |
1103 | CacheAssociativityFully = 0x06,\r | |
1104 | CacheAssociativity8Way = 0x07,\r | |
1105 | CacheAssociativity16Way = 0x08,\r | |
3507ab19 | 1106 | CacheAssociativity12Way = 0x09,\r |
1107 | CacheAssociativity24Way = 0x0A,\r | |
1108 | CacheAssociativity32Way = 0x0B,\r | |
1109 | CacheAssociativity48Way = 0x0C,\r | |
7ddba202 SZ |
1110 | CacheAssociativity64Way = 0x0D,\r |
1111 | CacheAssociativity20Way = 0x0E\r | |
98cb9ae8 | 1112 | } CACHE_ASSOCIATIVITY_DATA;\r |
1113 | \r | |
4135253b | 1114 | ///\r |
af2dc6a7 | 1115 | /// Cache Information (Type 7).\r |
4135253b | 1116 | ///\r |
9095d37b | 1117 | /// The information in this structure defines the attributes of CPU cache device in the system.\r |
98cb9ae8 | 1118 | /// One structure is specified for each such device, whether the device is internal to\r |
1119 | /// or external to the CPU module. Cache modules can be associated with a processor structure\r | |
af2dc6a7 | 1120 | /// in one or two ways, depending on the SMBIOS version.\r |
98cb9ae8 | 1121 | ///\r |
61ce5861 | 1122 | typedef struct {\r |
98cb9ae8 | 1123 | SMBIOS_STRUCTURE Hdr;\r |
1124 | SMBIOS_TABLE_STRING SocketDesignation;\r | |
1125 | UINT16 CacheConfiguration;\r | |
1126 | UINT16 MaximumCacheSize;\r | |
1127 | UINT16 InstalledSize;\r | |
1128 | CACHE_SRAM_TYPE_DATA SupportedSRAMType;\r | |
1129 | CACHE_SRAM_TYPE_DATA CurrentSRAMType;\r | |
1130 | UINT8 CacheSpeed;\r | |
af2dc6a7 | 1131 | UINT8 ErrorCorrectionType; ///< The enumeration value from CACHE_ERROR_TYPE_DATA.\r |
1132 | UINT8 SystemCacheType; ///< The enumeration value from CACHE_TYPE_DATA.\r | |
1133 | UINT8 Associativity; ///< The enumeration value from CACHE_ASSOCIATIVITY_DATA.\r | |
ff6a1f32 SZ |
1134 | //\r |
1135 | // Add for smbios 3.1.0\r | |
1136 | //\r | |
1137 | UINT32 MaximumCacheSize2;\r | |
1138 | UINT32 InstalledSize2;\r | |
61ce5861 | 1139 | } SMBIOS_TABLE_TYPE7;\r |
1140 | \r | |
98cb9ae8 | 1141 | ///\r |
9095d37b | 1142 | /// Port Connector Information - Connector Types.\r |
98cb9ae8 | 1143 | ///\r |
1144 | typedef enum {\r | |
1145 | PortConnectorTypeNone = 0x00,\r | |
1146 | PortConnectorTypeCentronics = 0x01,\r | |
1147 | PortConnectorTypeMiniCentronics = 0x02,\r | |
1148 | PortConnectorTypeProprietary = 0x03,\r | |
1149 | PortConnectorTypeDB25Male = 0x04,\r | |
1150 | PortConnectorTypeDB25Female = 0x05,\r | |
1151 | PortConnectorTypeDB15Male = 0x06,\r | |
1152 | PortConnectorTypeDB15Female = 0x07,\r | |
1153 | PortConnectorTypeDB9Male = 0x08,\r | |
1154 | PortConnectorTypeDB9Female = 0x09,\r | |
1155 | PortConnectorTypeRJ11 = 0x0A,\r | |
1156 | PortConnectorTypeRJ45 = 0x0B,\r | |
1157 | PortConnectorType50PinMiniScsi = 0x0C,\r | |
1158 | PortConnectorTypeMiniDin = 0x0D,\r | |
119c1688 | 1159 | PortConnectorTypeMicroDin = 0x0E,\r |
98cb9ae8 | 1160 | PortConnectorTypePS2 = 0x0F,\r |
1161 | PortConnectorTypeInfrared = 0x10,\r | |
1162 | PortConnectorTypeHpHil = 0x11,\r | |
1163 | PortConnectorTypeUsb = 0x12,\r | |
1164 | PortConnectorTypeSsaScsi = 0x13,\r | |
1165 | PortConnectorTypeCircularDin8Male = 0x14,\r | |
1166 | PortConnectorTypeCircularDin8Female = 0x15,\r | |
1167 | PortConnectorTypeOnboardIde = 0x16,\r | |
1168 | PortConnectorTypeOnboardFloppy = 0x17,\r | |
1169 | PortConnectorType9PinDualInline = 0x18,\r | |
1170 | PortConnectorType25PinDualInline = 0x19,\r | |
1171 | PortConnectorType50PinDualInline = 0x1A,\r | |
1172 | PortConnectorType68PinDualInline = 0x1B,\r | |
1173 | PortConnectorTypeOnboardSoundInput = 0x1C,\r | |
1174 | PortConnectorTypeMiniCentronicsType14 = 0x1D,\r | |
1175 | PortConnectorTypeMiniCentronicsType26 = 0x1E,\r | |
1176 | PortConnectorTypeHeadPhoneMiniJack = 0x1F,\r | |
1177 | PortConnectorTypeBNC = 0x20,\r | |
1178 | PortConnectorType1394 = 0x21,\r | |
119c1688 | 1179 | PortConnectorTypeSasSata = 0x22,\r |
cfcca3c2 | 1180 | PortConnectorTypeUsbTypeC = 0x23,\r |
98cb9ae8 | 1181 | PortConnectorTypePC98 = 0xA0,\r |
1182 | PortConnectorTypePC98Hireso = 0xA1,\r | |
1183 | PortConnectorTypePCH98 = 0xA2,\r | |
1184 | PortConnectorTypePC98Note = 0xA3,\r | |
1185 | PortConnectorTypePC98Full = 0xA4,\r | |
1186 | PortConnectorTypeOther = 0xFF\r | |
1187 | } MISC_PORT_CONNECTOR_TYPE;\r | |
1188 | \r | |
1189 | ///\r | |
9095d37b | 1190 | /// Port Connector Information - Port Types\r |
98cb9ae8 | 1191 | ///\r |
1192 | typedef enum {\r | |
1193 | PortTypeNone = 0x00,\r | |
1194 | PortTypeParallelXtAtCompatible = 0x01,\r | |
1195 | PortTypeParallelPortPs2 = 0x02,\r | |
1196 | PortTypeParallelPortEcp = 0x03,\r | |
1197 | PortTypeParallelPortEpp = 0x04,\r | |
1198 | PortTypeParallelPortEcpEpp = 0x05,\r | |
1199 | PortTypeSerialXtAtCompatible = 0x06,\r | |
1200 | PortTypeSerial16450Compatible = 0x07,\r | |
1201 | PortTypeSerial16550Compatible = 0x08,\r | |
1202 | PortTypeSerial16550ACompatible = 0x09,\r | |
1203 | PortTypeScsi = 0x0A,\r | |
1204 | PortTypeMidi = 0x0B,\r | |
1205 | PortTypeJoyStick = 0x0C,\r | |
1206 | PortTypeKeyboard = 0x0D,\r | |
1207 | PortTypeMouse = 0x0E,\r | |
1208 | PortTypeSsaScsi = 0x0F,\r | |
1209 | PortTypeUsb = 0x10,\r | |
1210 | PortTypeFireWire = 0x11,\r | |
1211 | PortTypePcmciaTypeI = 0x12,\r | |
1212 | PortTypePcmciaTypeII = 0x13,\r | |
1213 | PortTypePcmciaTypeIII = 0x14,\r | |
1214 | PortTypeCardBus = 0x15,\r | |
1215 | PortTypeAccessBusPort = 0x16,\r | |
1216 | PortTypeScsiII = 0x17,\r | |
1217 | PortTypeScsiWide = 0x18,\r | |
1218 | PortTypePC98 = 0x19,\r | |
1219 | PortTypePC98Hireso = 0x1A,\r | |
1220 | PortTypePCH98 = 0x1B,\r | |
1221 | PortTypeVideoPort = 0x1C,\r | |
1222 | PortTypeAudioPort = 0x1D,\r | |
1223 | PortTypeModemPort = 0x1E,\r | |
1224 | PortTypeNetworkPort = 0x1F,\r | |
23df19a7 SEHM |
1225 | PortTypeSata = 0x20,\r |
1226 | PortTypeSas = 0x21,\r | |
cfcca3c2 SZ |
1227 | PortTypeMfdp = 0x22, ///< Multi-Function Display Port\r |
1228 | PortTypeThunderbolt = 0x23,\r | |
98cb9ae8 | 1229 | PortType8251Compatible = 0xA0,\r |
1230 | PortType8251FifoCompatible = 0xA1,\r | |
1231 | PortTypeOther = 0xFF\r | |
1232 | } MISC_PORT_TYPE;\r | |
1233 | \r | |
4135253b | 1234 | ///\r |
af2dc6a7 | 1235 | /// Port Connector Information (Type 8).\r |
4135253b | 1236 | ///\r |
9095d37b LG |
1237 | /// The information in this structure defines the attributes of a system port connector,\r |
1238 | /// e.g. parallel, serial, keyboard, or mouse ports. The port's type and connector information\r | |
98cb9ae8 | 1239 | /// are provided. One structure is present for each port provided by the system.\r |
1240 | ///\r | |
61ce5861 | 1241 | typedef struct {\r |
98cb9ae8 | 1242 | SMBIOS_STRUCTURE Hdr;\r |
1243 | SMBIOS_TABLE_STRING InternalReferenceDesignator;\r | |
af2dc6a7 | 1244 | UINT8 InternalConnectorType; ///< The enumeration value from MISC_PORT_CONNECTOR_TYPE.\r |
98cb9ae8 | 1245 | SMBIOS_TABLE_STRING ExternalReferenceDesignator;\r |
af2dc6a7 | 1246 | UINT8 ExternalConnectorType; ///< The enumeration value from MISC_PORT_CONNECTOR_TYPE.\r |
1247 | UINT8 PortType; ///< The enumeration value from MISC_PORT_TYPE.\r | |
61ce5861 | 1248 | } SMBIOS_TABLE_TYPE8;\r |
1249 | \r | |
98cb9ae8 | 1250 | ///\r |
1251 | /// System Slots - Slot Type\r | |
1252 | ///\r | |
1253 | typedef enum {\r | |
1254 | SlotTypeOther = 0x01,\r | |
1255 | SlotTypeUnknown = 0x02,\r | |
1256 | SlotTypeIsa = 0x03,\r | |
1257 | SlotTypeMca = 0x04,\r | |
1258 | SlotTypeEisa = 0x05,\r | |
1259 | SlotTypePci = 0x06,\r | |
1260 | SlotTypePcmcia = 0x07,\r | |
1261 | SlotTypeVlVesa = 0x08,\r | |
1262 | SlotTypeProprietary = 0x09,\r | |
1263 | SlotTypeProcessorCardSlot = 0x0A,\r | |
1264 | SlotTypeProprietaryMemoryCardSlot = 0x0B,\r | |
1265 | SlotTypeIORiserCardSlot = 0x0C,\r | |
1266 | SlotTypeNuBus = 0x0D,\r | |
1267 | SlotTypePci66MhzCapable = 0x0E,\r | |
1268 | SlotTypeAgp = 0x0F,\r | |
1269 | SlotTypeApg2X = 0x10,\r | |
1270 | SlotTypeAgp4X = 0x11,\r | |
1271 | SlotTypePciX = 0x12,\r | |
0c8cd067 | 1272 | SlotTypeAgp8X = 0x13,\r |
6cd35c62 EL |
1273 | SlotTypeM2Socket1_DP = 0x14,\r |
1274 | SlotTypeM2Socket1_SD = 0x15,\r | |
1275 | SlotTypeM2Socket2 = 0x16,\r | |
1276 | SlotTypeM2Socket3 = 0x17,\r | |
1277 | SlotTypeMxmTypeI = 0x18,\r | |
1278 | SlotTypeMxmTypeII = 0x19,\r | |
1279 | SlotTypeMxmTypeIIIStandard = 0x1A,\r | |
1280 | SlotTypeMxmTypeIIIHe = 0x1B,\r | |
1281 | SlotTypeMxmTypeIV = 0x1C,\r | |
1282 | SlotTypeMxm30TypeA = 0x1D,\r | |
1283 | SlotTypeMxm30TypeB = 0x1E,\r | |
1284 | SlotTypePciExpressGen2Sff_8639 = 0x1F,\r | |
1285 | SlotTypePciExpressGen3Sff_8639 = 0x20,\r | |
ff6a1f32 SZ |
1286 | SlotTypePciExpressMini52pinWithBSKO = 0x21, ///< PCI Express Mini 52-pin (CEM spec. 2.0) with bottom-side keep-outs.\r |
1287 | SlotTypePciExpressMini52pinWithoutBSKO = 0x22, ///< PCI Express Mini 52-pin (CEM spec. 2.0) without bottom-side keep-outs.\r | |
1288 | SlotTypePciExpressMini76pin = 0x23, ///< PCI Express Mini 76-pin (CEM spec. 2.0) Corresponds to Display-Mini card.\r | |
9e50ef63 | 1289 | SlotTypeCXLFlexbus10 = 0x30,\r |
98cb9ae8 | 1290 | SlotTypePC98C20 = 0xA0,\r |
1291 | SlotTypePC98C24 = 0xA1,\r | |
1292 | SlotTypePC98E = 0xA2,\r | |
1293 | SlotTypePC98LocalBus = 0xA3,\r | |
1294 | SlotTypePC98Card = 0xA4,\r | |
1295 | SlotTypePciExpress = 0xA5,\r | |
1296 | SlotTypePciExpressX1 = 0xA6,\r | |
1297 | SlotTypePciExpressX2 = 0xA7,\r | |
1298 | SlotTypePciExpressX4 = 0xA8,\r | |
1299 | SlotTypePciExpressX8 = 0xA9,\r | |
3507ab19 | 1300 | SlotTypePciExpressX16 = 0xAA,\r |
1301 | SlotTypePciExpressGen2 = 0xAB,\r | |
1302 | SlotTypePciExpressGen2X1 = 0xAC,\r | |
1303 | SlotTypePciExpressGen2X2 = 0xAD,\r | |
1304 | SlotTypePciExpressGen2X4 = 0xAE,\r | |
1305 | SlotTypePciExpressGen2X8 = 0xAF,\r | |
7ddba202 SZ |
1306 | SlotTypePciExpressGen2X16 = 0xB0,\r |
1307 | SlotTypePciExpressGen3 = 0xB1,\r | |
1308 | SlotTypePciExpressGen3X1 = 0xB2,\r | |
1309 | SlotTypePciExpressGen3X2 = 0xB3,\r | |
1310 | SlotTypePciExpressGen3X4 = 0xB4,\r | |
1311 | SlotTypePciExpressGen3X8 = 0xB5,\r | |
70c50f19 ZG |
1312 | SlotTypePciExpressGen3X16 = 0xB6,\r |
1313 | SlotTypePciExpressGen4 = 0xB8,\r | |
1314 | SlotTypePciExpressGen4X1 = 0xB9,\r | |
1315 | SlotTypePciExpressGen4X2 = 0xBA,\r | |
1316 | SlotTypePciExpressGen4X4 = 0xBB,\r | |
1317 | SlotTypePciExpressGen4X8 = 0xBC,\r | |
1318 | SlotTypePciExpressGen4X16 = 0xBD\r | |
98cb9ae8 | 1319 | } MISC_SLOT_TYPE;\r |
1320 | \r | |
1321 | ///\r | |
af2dc6a7 | 1322 | /// System Slots - Slot Data Bus Width.\r |
98cb9ae8 | 1323 | ///\r |
1324 | typedef enum {\r | |
1325 | SlotDataBusWidthOther = 0x01,\r | |
1326 | SlotDataBusWidthUnknown = 0x02,\r | |
1327 | SlotDataBusWidth8Bit = 0x03,\r | |
1328 | SlotDataBusWidth16Bit = 0x04,\r | |
1329 | SlotDataBusWidth32Bit = 0x05,\r | |
1330 | SlotDataBusWidth64Bit = 0x06,\r | |
1331 | SlotDataBusWidth128Bit = 0x07,\r | |
6800ac83 | 1332 | SlotDataBusWidth1X = 0x08, ///< Or X1\r |
1333 | SlotDataBusWidth2X = 0x09, ///< Or X2\r | |
1334 | SlotDataBusWidth4X = 0x0A, ///< Or X4\r | |
1335 | SlotDataBusWidth8X = 0x0B, ///< Or X8\r | |
1336 | SlotDataBusWidth12X = 0x0C, ///< Or X12\r | |
1337 | SlotDataBusWidth16X = 0x0D, ///< Or X16\r | |
1338 | SlotDataBusWidth32X = 0x0E ///< Or X32\r | |
98cb9ae8 | 1339 | } MISC_SLOT_DATA_BUS_WIDTH;\r |
1340 | \r | |
1341 | ///\r | |
af2dc6a7 | 1342 | /// System Slots - Current Usage.\r |
98cb9ae8 | 1343 | ///\r |
1344 | typedef enum {\r | |
cfcca3c2 SZ |
1345 | SlotUsageOther = 0x01,\r |
1346 | SlotUsageUnknown = 0x02,\r | |
1347 | SlotUsageAvailable = 0x03,\r | |
1348 | SlotUsageInUse = 0x04,\r | |
1349 | SlotUsageUnavailable = 0x05\r | |
98cb9ae8 | 1350 | } MISC_SLOT_USAGE;\r |
1351 | \r | |
1352 | ///\r | |
9095d37b | 1353 | /// System Slots - Slot Length.\r |
98cb9ae8 | 1354 | ///\r |
1355 | typedef enum {\r | |
1356 | SlotLengthOther = 0x01,\r | |
1357 | SlotLengthUnknown = 0x02,\r | |
1358 | SlotLengthShort = 0x03,\r | |
1359 | SlotLengthLong = 0x04\r | |
1360 | } MISC_SLOT_LENGTH;\r | |
1361 | \r | |
1362 | ///\r | |
9095d37b | 1363 | /// System Slots - Slot Characteristics 1.\r |
98cb9ae8 | 1364 | ///\r |
1365 | typedef struct {\r | |
1366 | UINT8 CharacteristicsUnknown :1;\r | |
1367 | UINT8 Provides50Volts :1;\r | |
1368 | UINT8 Provides33Volts :1;\r | |
1369 | UINT8 SharedSlot :1;\r | |
1370 | UINT8 PcCard16Supported :1;\r | |
1371 | UINT8 CardBusSupported :1;\r | |
1372 | UINT8 ZoomVideoSupported :1;\r | |
1373 | UINT8 ModemRingResumeSupported:1;\r | |
1374 | } MISC_SLOT_CHARACTERISTICS1;\r | |
1375 | ///\r | |
9095d37b | 1376 | /// System Slots - Slot Characteristics 2.\r |
98cb9ae8 | 1377 | ///\r |
1378 | typedef struct {\r | |
1379 | UINT8 PmeSignalSupported :1;\r | |
1380 | UINT8 HotPlugDevicesSupported :1;\r | |
1381 | UINT8 SmbusSignalSupported :1;\r | |
cfcca3c2 SZ |
1382 | UINT8 BifurcationSupported :1;\r |
1383 | UINT8 Reserved :4; ///< Set to 0.\r | |
98cb9ae8 | 1384 | } MISC_SLOT_CHARACTERISTICS2;\r |
1385 | \r | |
cfcca3c2 SZ |
1386 | ///\r |
1387 | /// System Slots - Peer Segment/Bus/Device/Function/Width Groups\r | |
1388 | ///\r | |
1389 | typedef struct {\r | |
1390 | UINT16 SegmentGroupNum;\r | |
1391 | UINT8 BusNum;\r | |
1392 | UINT8 DevFuncNum;\r | |
1393 | UINT8 DataBusWidth;\r | |
1394 | } MISC_SLOT_PEER_GROUP;\r | |
1395 | \r | |
4135253b | 1396 | ///\r |
1397 | /// System Slots (Type 9)\r | |
1398 | ///\r | |
9095d37b | 1399 | /// The information in this structure defines the attributes of a system slot.\r |
98cb9ae8 | 1400 | /// One structure is provided for each slot in the system.\r |
1401 | ///\r | |
1402 | ///\r | |
61ce5861 | 1403 | typedef struct {\r |
98cb9ae8 | 1404 | SMBIOS_STRUCTURE Hdr;\r |
1405 | SMBIOS_TABLE_STRING SlotDesignation;\r | |
af2dc6a7 | 1406 | UINT8 SlotType; ///< The enumeration value from MISC_SLOT_TYPE.\r |
1407 | UINT8 SlotDataBusWidth; ///< The enumeration value from MISC_SLOT_DATA_BUS_WIDTH.\r | |
1408 | UINT8 CurrentUsage; ///< The enumeration value from MISC_SLOT_USAGE.\r | |
1409 | UINT8 SlotLength; ///< The enumeration value from MISC_SLOT_LENGTH.\r | |
98cb9ae8 | 1410 | UINT16 SlotID;\r |
1411 | MISC_SLOT_CHARACTERISTICS1 SlotCharacteristics1;\r | |
1412 | MISC_SLOT_CHARACTERISTICS2 SlotCharacteristics2;\r | |
61ce5861 | 1413 | //\r |
1414 | // Add for smbios 2.6\r | |
1415 | //\r | |
98cb9ae8 | 1416 | UINT16 SegmentGroupNum;\r |
1417 | UINT8 BusNum;\r | |
1418 | UINT8 DevFuncNum;\r | |
cfcca3c2 SZ |
1419 | //\r |
1420 | // Add for smbios 3.2\r | |
1421 | //\r | |
1422 | UINT8 DataBusWidth;\r | |
1423 | UINT8 PeerGroupingCount;\r | |
1424 | MISC_SLOT_PEER_GROUP PeerGroups[1];\r | |
61ce5861 | 1425 | } SMBIOS_TABLE_TYPE9;\r |
1426 | \r | |
98cb9ae8 | 1427 | ///\r |
9095d37b | 1428 | /// On Board Devices Information - Device Types.\r |
98cb9ae8 | 1429 | ///\r |
1430 | typedef enum {\r | |
1431 | OnBoardDeviceTypeOther = 0x01,\r | |
1432 | OnBoardDeviceTypeUnknown = 0x02,\r | |
1433 | OnBoardDeviceTypeVideo = 0x03,\r | |
1434 | OnBoardDeviceTypeScsiController = 0x04,\r | |
1435 | OnBoardDeviceTypeEthernet = 0x05,\r | |
1436 | OnBoardDeviceTypeTokenRing = 0x06,\r | |
119c1688 SZ |
1437 | OnBoardDeviceTypeSound = 0x07,\r |
1438 | OnBoardDeviceTypePATAController = 0x08,\r | |
1439 | OnBoardDeviceTypeSATAController = 0x09,\r | |
1440 | OnBoardDeviceTypeSASController = 0x0A\r | |
98cb9ae8 | 1441 | } MISC_ONBOARD_DEVICE_TYPE;\r |
1442 | \r | |
bf7ea009 | 1443 | ///\r |
1444 | /// Device Item Entry\r | |
1445 | ///\r | |
61ce5861 | 1446 | typedef struct {\r |
af2dc6a7 | 1447 | UINT8 DeviceType; ///< Bit [6:0] - enumeration type of device from MISC_ONBOARD_DEVICE_TYPE.\r |
1448 | ///< Bit 7 - 1 : device enabled, 0 : device disabled.\r | |
98cb9ae8 | 1449 | SMBIOS_TABLE_STRING DescriptionString;\r |
61ce5861 | 1450 | } DEVICE_STRUCT;\r |
1451 | \r | |
4135253b | 1452 | ///\r |
af2dc6a7 | 1453 | /// On Board Devices Information (Type 10, obsolete).\r |
4135253b | 1454 | ///\r |
9095d37b LG |
1455 | /// Note: This structure is obsolete starting with version 2.6 specification; the Onboard Devices Extended\r |
1456 | /// Information (Type 41) structure should be used instead . BIOS providers can choose to implement both\r | |
1457 | /// types to allow existing SMBIOS browsers to properly display the system's onboard devices information.\r | |
1458 | /// The information in this structure defines the attributes of devices that are onboard (soldered onto)\r | |
98cb9ae8 | 1459 | /// a system element, usually the baseboard. In general, an entry in this table implies that the BIOS\r |
1460 | /// has some level of control over the enabling of the associated device for use by the system.\r | |
1461 | ///\r | |
61ce5861 | 1462 | typedef struct {\r |
1463 | SMBIOS_STRUCTURE Hdr;\r | |
1464 | DEVICE_STRUCT Device[1];\r | |
1465 | } SMBIOS_TABLE_TYPE10;\r | |
1466 | \r | |
4135253b | 1467 | ///\r |
af2dc6a7 | 1468 | /// OEM Strings (Type 11).\r |
9095d37b LG |
1469 | /// This structure contains free form strings defined by the OEM. Examples of this are:\r |
1470 | /// Part Numbers for Reference Documents for the system, contact information for the manufacturer, etc.\r | |
4135253b | 1471 | ///\r |
61ce5861 | 1472 | typedef struct {\r |
1473 | SMBIOS_STRUCTURE Hdr;\r | |
1474 | UINT8 StringCount;\r | |
1475 | } SMBIOS_TABLE_TYPE11;\r | |
1476 | \r | |
4135253b | 1477 | ///\r |
af2dc6a7 | 1478 | /// System Configuration Options (Type 12).\r |
4135253b | 1479 | ///\r |
9095d37b | 1480 | /// This structure contains information required to configure the base board's Jumpers and Switches.\r |
98cb9ae8 | 1481 | ///\r |
61ce5861 | 1482 | typedef struct {\r |
1483 | SMBIOS_STRUCTURE Hdr;\r | |
1484 | UINT8 StringCount;\r | |
1485 | } SMBIOS_TABLE_TYPE12;\r | |
1486 | \r | |
98cb9ae8 | 1487 | \r |
4135253b | 1488 | ///\r |
af2dc6a7 | 1489 | /// BIOS Language Information (Type 13).\r |
4135253b | 1490 | ///\r |
9095d37b LG |
1491 | /// The information in this structure defines the installable language attributes of the BIOS.\r |
1492 | ///\r | |
61ce5861 | 1493 | typedef struct {\r |
1494 | SMBIOS_STRUCTURE Hdr;\r | |
1495 | UINT8 InstallableLanguages;\r | |
1496 | UINT8 Flags;\r | |
fbfa4a1d | 1497 | UINT8 Reserved[15];\r |
61ce5861 | 1498 | SMBIOS_TABLE_STRING CurrentLanguages;\r |
1499 | } SMBIOS_TABLE_TYPE13;\r | |
1500 | \r | |
119c1688 SZ |
1501 | ///\r |
1502 | /// Group Item Entry\r | |
1503 | ///\r | |
1504 | typedef struct {\r | |
1505 | UINT8 ItemType;\r | |
1506 | UINT16 ItemHandle;\r | |
1507 | } GROUP_STRUCT;\r | |
1508 | \r | |
1509 | ///\r | |
1510 | /// Group Associations (Type 14).\r | |
1511 | ///\r | |
9095d37b LG |
1512 | /// The Group Associations structure is provided for OEMs who want to specify\r |
1513 | /// the arrangement or hierarchy of certain components (including other Group Associations)\r | |
1514 | /// within the system.\r | |
119c1688 SZ |
1515 | ///\r |
1516 | typedef struct {\r | |
1517 | SMBIOS_STRUCTURE Hdr;\r | |
1518 | SMBIOS_TABLE_STRING GroupName;\r | |
1519 | GROUP_STRUCT Group[1];\r | |
1520 | } SMBIOS_TABLE_TYPE14;\r | |
1521 | \r | |
98cb9ae8 | 1522 | ///\r |
af2dc6a7 | 1523 | /// System Event Log - Event Log Types.\r |
9095d37b | 1524 | ///\r |
98cb9ae8 | 1525 | typedef enum {\r |
1526 | EventLogTypeReserved = 0x00,\r | |
1527 | EventLogTypeSingleBitECC = 0x01,\r | |
1528 | EventLogTypeMultiBitECC = 0x02,\r | |
1529 | EventLogTypeParityMemErr = 0x03,\r | |
1530 | EventLogTypeBusTimeOut = 0x04,\r | |
1531 | EventLogTypeIOChannelCheck = 0x05,\r | |
1532 | EventLogTypeSoftwareNMI = 0x06,\r | |
1533 | EventLogTypePOSTMemResize = 0x07,\r | |
1534 | EventLogTypePOSTErr = 0x08,\r | |
1535 | EventLogTypePCIParityErr = 0x09,\r | |
1536 | EventLogTypePCISystemErr = 0x0A,\r | |
1537 | EventLogTypeCPUFailure = 0x0B,\r | |
1538 | EventLogTypeEISATimeOut = 0x0C,\r | |
1539 | EventLogTypeMemLogDisabled = 0x0D,\r | |
1540 | EventLogTypeLoggingDisabled = 0x0E,\r | |
1541 | EventLogTypeSysLimitExce = 0x10,\r | |
1542 | EventLogTypeAsyncHWTimer = 0x11,\r | |
1543 | EventLogTypeSysConfigInfo = 0x12,\r | |
1544 | EventLogTypeHDInfo = 0x13,\r | |
1545 | EventLogTypeSysReconfig = 0x14,\r | |
1546 | EventLogTypeUncorrectCPUErr = 0x15,\r | |
1547 | EventLogTypeAreaResetAndClr = 0x16,\r | |
1548 | EventLogTypeSystemBoot = 0x17,\r | |
6800ac83 | 1549 | EventLogTypeUnused = 0x18, ///< 0x18 - 0x7F\r |
1550 | EventLogTypeAvailForSys = 0x80, ///< 0x80 - 0xFE\r | |
98cb9ae8 | 1551 | EventLogTypeEndOfLog = 0xFF\r |
1552 | } EVENT_LOG_TYPE_DATA;\r | |
1553 | \r | |
1554 | ///\r | |
9095d37b LG |
1555 | /// System Event Log - Variable Data Format Types.\r |
1556 | ///\r | |
98cb9ae8 | 1557 | typedef enum {\r |
1558 | EventLogVariableNone = 0x00,\r | |
1559 | EventLogVariableHandle = 0x01,\r | |
1560 | EventLogVariableMutilEvent = 0x02,\r | |
1561 | EventLogVariableMutilEventHandle = 0x03,\r | |
1562 | EventLogVariablePOSTResultBitmap = 0x04,\r | |
1563 | EventLogVariableSysManagementType = 0x05,\r | |
9095d37b | 1564 | EventLogVariableMutliEventSysManagmentType = 0x06,\r |
98cb9ae8 | 1565 | EventLogVariableUnused = 0x07,\r |
1566 | EventLogVariableOEMAssigned = 0x80\r | |
55deb978 | 1567 | } EVENT_LOG_VARIABLE_DATA;\r |
98cb9ae8 | 1568 | \r |
98cb9ae8 | 1569 | ///\r |
1570 | /// Event Log Type Descriptors\r | |
1571 | ///\r | |
1572 | typedef struct {\r | |
af2dc6a7 | 1573 | UINT8 LogType; ///< The enumeration value from EVENT_LOG_TYPE_DATA.\r |
98cb9ae8 | 1574 | UINT8 DataFormatType;\r |
1575 | } EVENT_LOG_TYPE;\r | |
1576 | \r | |
4135253b | 1577 | ///\r |
af2dc6a7 | 1578 | /// System Event Log (Type 15).\r |
4135253b | 1579 | ///\r |
9095d37b LG |
1580 | /// The presence of this structure within the SMBIOS data returned for a system indicates\r |
1581 | /// that the system supports an event log. An event log is a fixed-length area within a\r | |
1582 | /// non-volatile storage element, starting with a fixed-length (and vendor-specific) header\r | |
1583 | /// record, followed by one or more variable-length log records.\r | |
98cb9ae8 | 1584 | ///\r |
61ce5861 | 1585 | typedef struct {\r |
1586 | SMBIOS_STRUCTURE Hdr;\r | |
1587 | UINT16 LogAreaLength;\r | |
1588 | UINT16 LogHeaderStartOffset;\r | |
1589 | UINT16 LogDataStartOffset;\r | |
1590 | UINT8 AccessMethod;\r | |
1591 | UINT8 LogStatus;\r | |
1592 | UINT32 LogChangeToken;\r | |
1593 | UINT32 AccessMethodAddress;\r | |
1594 | UINT8 LogHeaderFormat;\r | |
1595 | UINT8 NumberOfSupportedLogTypeDescriptors;\r | |
1596 | UINT8 LengthOfLogTypeDescriptor;\r | |
1597 | EVENT_LOG_TYPE EventLogTypeDescriptors[1];\r | |
1598 | } SMBIOS_TABLE_TYPE15;\r | |
1599 | \r | |
98cb9ae8 | 1600 | ///\r |
af2dc6a7 | 1601 | /// Physical Memory Array - Location.\r |
98cb9ae8 | 1602 | ///\r |
1603 | typedef enum {\r | |
1604 | MemoryArrayLocationOther = 0x01,\r | |
1605 | MemoryArrayLocationUnknown = 0x02,\r | |
1606 | MemoryArrayLocationSystemBoard = 0x03,\r | |
1607 | MemoryArrayLocationIsaAddonCard = 0x04,\r | |
1608 | MemoryArrayLocationEisaAddonCard = 0x05,\r | |
1609 | MemoryArrayLocationPciAddonCard = 0x06,\r | |
1610 | MemoryArrayLocationMcaAddonCard = 0x07,\r | |
1611 | MemoryArrayLocationPcmciaAddonCard = 0x08,\r | |
1612 | MemoryArrayLocationProprietaryAddonCard = 0x09,\r | |
1613 | MemoryArrayLocationNuBus = 0x0A,\r | |
1614 | MemoryArrayLocationPc98C20AddonCard = 0xA0,\r | |
1615 | MemoryArrayLocationPc98C24AddonCard = 0xA1,\r | |
1616 | MemoryArrayLocationPc98EAddonCard = 0xA2,\r | |
9e50ef63 ZG |
1617 | MemoryArrayLocationPc98LocalBusAddonCard = 0xA3,\r |
1618 | MemoryArrayLocationCXLFlexbus10AddonCard = 0xA4\r | |
98cb9ae8 | 1619 | } MEMORY_ARRAY_LOCATION;\r |
1620 | \r | |
1621 | ///\r | |
af2dc6a7 | 1622 | /// Physical Memory Array - Use.\r |
98cb9ae8 | 1623 | ///\r |
1624 | typedef enum {\r | |
1625 | MemoryArrayUseOther = 0x01,\r | |
1626 | MemoryArrayUseUnknown = 0x02,\r | |
1627 | MemoryArrayUseSystemMemory = 0x03,\r | |
1628 | MemoryArrayUseVideoMemory = 0x04,\r | |
1629 | MemoryArrayUseFlashMemory = 0x05,\r | |
1630 | MemoryArrayUseNonVolatileRam = 0x06,\r | |
1631 | MemoryArrayUseCacheMemory = 0x07\r | |
1632 | } MEMORY_ARRAY_USE;\r | |
1633 | \r | |
1634 | ///\r | |
9095d37b | 1635 | /// Physical Memory Array - Error Correction Types.\r |
98cb9ae8 | 1636 | ///\r |
1637 | typedef enum {\r | |
1638 | MemoryErrorCorrectionOther = 0x01,\r | |
1639 | MemoryErrorCorrectionUnknown = 0x02,\r | |
1640 | MemoryErrorCorrectionNone = 0x03,\r | |
1641 | MemoryErrorCorrectionParity = 0x04,\r | |
1642 | MemoryErrorCorrectionSingleBitEcc = 0x05,\r | |
1643 | MemoryErrorCorrectionMultiBitEcc = 0x06,\r | |
1644 | MemoryErrorCorrectionCrc = 0x07\r | |
1645 | } MEMORY_ERROR_CORRECTION;\r | |
1646 | \r | |
4135253b | 1647 | ///\r |
af2dc6a7 | 1648 | /// Physical Memory Array (Type 16).\r |
4135253b | 1649 | ///\r |
9095d37b LG |
1650 | /// This structure describes a collection of memory devices that operate\r |
1651 | /// together to form a memory address space.\r | |
98cb9ae8 | 1652 | ///\r |
61ce5861 | 1653 | typedef struct {\r |
98cb9ae8 | 1654 | SMBIOS_STRUCTURE Hdr;\r |
af2dc6a7 | 1655 | UINT8 Location; ///< The enumeration value from MEMORY_ARRAY_LOCATION.\r |
1656 | UINT8 Use; ///< The enumeration value from MEMORY_ARRAY_USE.\r | |
1657 | UINT8 MemoryErrorCorrection; ///< The enumeration value from MEMORY_ERROR_CORRECTION.\r | |
98cb9ae8 | 1658 | UINT32 MaximumCapacity;\r |
1659 | UINT16 MemoryErrorInformationHandle;\r | |
1660 | UINT16 NumberOfMemoryDevices;\r | |
7ddba202 SZ |
1661 | //\r |
1662 | // Add for smbios 2.7\r | |
1663 | //\r | |
1664 | UINT64 ExtendedMaximumCapacity;\r | |
61ce5861 | 1665 | } SMBIOS_TABLE_TYPE16;\r |
1666 | \r | |
98cb9ae8 | 1667 | ///\r |
af2dc6a7 | 1668 | /// Memory Device - Form Factor.\r |
98cb9ae8 | 1669 | ///\r |
1670 | typedef enum {\r | |
1671 | MemoryFormFactorOther = 0x01,\r | |
1672 | MemoryFormFactorUnknown = 0x02,\r | |
1673 | MemoryFormFactorSimm = 0x03,\r | |
1674 | MemoryFormFactorSip = 0x04,\r | |
1675 | MemoryFormFactorChip = 0x05,\r | |
1676 | MemoryFormFactorDip = 0x06,\r | |
1677 | MemoryFormFactorZip = 0x07,\r | |
1678 | MemoryFormFactorProprietaryCard = 0x08,\r | |
1679 | MemoryFormFactorDimm = 0x09,\r | |
1680 | MemoryFormFactorTsop = 0x0A,\r | |
1681 | MemoryFormFactorRowOfChips = 0x0B,\r | |
1682 | MemoryFormFactorRimm = 0x0C,\r | |
1683 | MemoryFormFactorSodimm = 0x0D,\r | |
1684 | MemoryFormFactorSrimm = 0x0E,\r | |
8019eb58 ZG |
1685 | MemoryFormFactorFbDimm = 0x0F,\r |
1686 | MemoryFormFactorDie = 0x10\r | |
98cb9ae8 | 1687 | } MEMORY_FORM_FACTOR;\r |
1688 | \r | |
1689 | ///\r | |
1690 | /// Memory Device - Type\r | |
1691 | ///\r | |
1692 | typedef enum {\r | |
1693 | MemoryTypeOther = 0x01,\r | |
1694 | MemoryTypeUnknown = 0x02,\r | |
1695 | MemoryTypeDram = 0x03,\r | |
1696 | MemoryTypeEdram = 0x04,\r | |
1697 | MemoryTypeVram = 0x05,\r | |
1698 | MemoryTypeSram = 0x06,\r | |
1699 | MemoryTypeRam = 0x07,\r | |
1700 | MemoryTypeRom = 0x08,\r | |
1701 | MemoryTypeFlash = 0x09,\r | |
1702 | MemoryTypeEeprom = 0x0A,\r | |
1703 | MemoryTypeFeprom = 0x0B,\r | |
1704 | MemoryTypeEprom = 0x0C,\r | |
1705 | MemoryTypeCdram = 0x0D,\r | |
1706 | MemoryType3Dram = 0x0E,\r | |
1707 | MemoryTypeSdram = 0x0F,\r | |
1708 | MemoryTypeSgram = 0x10,\r | |
1709 | MemoryTypeRdram = 0x11,\r | |
1710 | MemoryTypeDdr = 0x12,\r | |
1711 | MemoryTypeDdr2 = 0x13,\r | |
3507ab19 | 1712 | MemoryTypeDdr2FbDimm = 0x14,\r |
1713 | MemoryTypeDdr3 = 0x18,\r | |
6cd35c62 EL |
1714 | MemoryTypeFbd2 = 0x19,\r |
1715 | MemoryTypeDdr4 = 0x1A,\r | |
1716 | MemoryTypeLpddr = 0x1B,\r | |
1717 | MemoryTypeLpddr2 = 0x1C,\r | |
1718 | MemoryTypeLpddr3 = 0x1D,\r | |
cfcca3c2 | 1719 | MemoryTypeLpddr4 = 0x1E,\r |
8019eb58 ZG |
1720 | MemoryTypeLogicalNonVolatileDevice = 0x1F,\r |
1721 | MemoryTypeHBM = 0x20,\r | |
244be783 WS |
1722 | MemoryTypeHBM2 = 0x21,\r |
1723 | MemoryTypeDdr5 = 0x22,\r | |
1724 | MemoryTypeLpddr5 = 0x23\r | |
98cb9ae8 | 1725 | } MEMORY_DEVICE_TYPE;\r |
1726 | \r | |
cfcca3c2 SZ |
1727 | ///\r |
1728 | /// Memory Device - Type Detail\r | |
1729 | ///\r | |
98cb9ae8 | 1730 | typedef struct {\r |
1731 | UINT16 Reserved :1;\r | |
1732 | UINT16 Other :1;\r | |
1733 | UINT16 Unknown :1;\r | |
1734 | UINT16 FastPaged :1;\r | |
1735 | UINT16 StaticColumn :1;\r | |
1736 | UINT16 PseudoStatic :1;\r | |
1737 | UINT16 Rambus :1;\r | |
1738 | UINT16 Synchronous :1;\r | |
1739 | UINT16 Cmos :1;\r | |
1740 | UINT16 Edo :1;\r | |
1741 | UINT16 WindowDram :1;\r | |
1742 | UINT16 CacheDram :1;\r | |
1743 | UINT16 Nonvolatile :1;\r | |
7ddba202 SZ |
1744 | UINT16 Registered :1;\r |
1745 | UINT16 Unbuffered :1;\r | |
4a228334 | 1746 | UINT16 LrDimm :1;\r |
98cb9ae8 | 1747 | } MEMORY_DEVICE_TYPE_DETAIL;\r |
1748 | \r | |
cfcca3c2 SZ |
1749 | ///\r |
1750 | /// Memory Device - Memory Technology\r | |
1751 | ///\r | |
1752 | typedef enum {\r | |
1753 | MemoryTechnologyOther = 0x01,\r | |
1754 | MemoryTechnologyUnknown = 0x02,\r | |
1755 | MemoryTechnologyDram = 0x03,\r | |
1756 | MemoryTechnologyNvdimmN = 0x04,\r | |
1757 | MemoryTechnologyNvdimmF = 0x05,\r | |
1758 | MemoryTechnologyNvdimmP = 0x06,\r | |
4b7edd78 ZG |
1759 | //\r |
1760 | // This definition is updated to represent Intel\r | |
1761 | // Optane DC Presistent Memory in SMBIOS spec 3.3.0\r | |
1762 | //\r | |
cfcca3c2 SZ |
1763 | MemoryTechnologyIntelPersistentMemory = 0x07\r |
1764 | } MEMORY_DEVICE_TECHNOLOGY;\r | |
1765 | \r | |
1766 | ///\r | |
1767 | /// Memory Device - Memory Operating Mode Capability\r | |
1768 | ///\r | |
1769 | typedef union {\r | |
1770 | ///\r | |
1771 | /// Individual bit fields\r | |
1772 | ///\r | |
1773 | struct {\r | |
1774 | UINT16 Reserved :1; ///< Set to 0.\r | |
1775 | UINT16 Other :1;\r | |
1776 | UINT16 Unknown :1;\r | |
1777 | UINT16 VolatileMemory :1;\r | |
1778 | UINT16 ByteAccessiblePersistentMemory :1;\r | |
1779 | UINT16 BlockAccessiblePersistentMemory :1;\r | |
1780 | UINT16 Reserved2 :10; ///< Set to 0.\r | |
1781 | } Bits;\r | |
1782 | ///\r | |
1783 | /// All bit fields as a 16-bit value\r | |
1784 | ///\r | |
1785 | UINT16 Uint16;\r | |
1786 | } MEMORY_DEVICE_OPERATING_MODE_CAPABILITY;\r | |
1787 | \r | |
4135253b | 1788 | ///\r |
af2dc6a7 | 1789 | /// Memory Device (Type 17).\r |
4135253b | 1790 | ///\r |
9095d37b | 1791 | /// This structure describes a single memory device that is part of\r |
98cb9ae8 | 1792 | /// a larger Physical Memory Array (Type 16).\r |
9095d37b LG |
1793 | /// Note: If a system includes memory-device sockets, the SMBIOS implementation\r |
1794 | /// includes a Memory Device structure instance for each slot, whether or not the\r | |
98cb9ae8 | 1795 | /// socket is currently populated.\r |
1796 | ///\r | |
61ce5861 | 1797 | typedef struct {\r |
cfcca3c2 SZ |
1798 | SMBIOS_STRUCTURE Hdr;\r |
1799 | UINT16 MemoryArrayHandle;\r | |
1800 | UINT16 MemoryErrorInformationHandle;\r | |
1801 | UINT16 TotalWidth;\r | |
1802 | UINT16 DataWidth;\r | |
1803 | UINT16 Size;\r | |
1804 | UINT8 FormFactor; ///< The enumeration value from MEMORY_FORM_FACTOR.\r | |
1805 | UINT8 DeviceSet;\r | |
1806 | SMBIOS_TABLE_STRING DeviceLocator;\r | |
1807 | SMBIOS_TABLE_STRING BankLocator;\r | |
1808 | UINT8 MemoryType; ///< The enumeration value from MEMORY_DEVICE_TYPE.\r | |
1809 | MEMORY_DEVICE_TYPE_DETAIL TypeDetail;\r | |
1810 | UINT16 Speed;\r | |
1811 | SMBIOS_TABLE_STRING Manufacturer;\r | |
1812 | SMBIOS_TABLE_STRING SerialNumber;\r | |
1813 | SMBIOS_TABLE_STRING AssetTag;\r | |
1814 | SMBIOS_TABLE_STRING PartNumber;\r | |
61ce5861 | 1815 | //\r |
1816 | // Add for smbios 2.6\r | |
9095d37b | 1817 | //\r |
cfcca3c2 | 1818 | UINT8 Attributes;\r |
7ddba202 SZ |
1819 | //\r |
1820 | // Add for smbios 2.7\r | |
1821 | //\r | |
cfcca3c2 SZ |
1822 | UINT32 ExtendedSize;\r |
1823 | //\r | |
1824 | // Keep using name "ConfiguredMemoryClockSpeed" for compatibility\r | |
1825 | // although this field is renamed from "Configured Memory Clock Speed"\r | |
1826 | // to "Configured Memory Speed" in smbios 3.2.0.\r | |
1827 | //\r | |
1828 | UINT16 ConfiguredMemoryClockSpeed;\r | |
4a228334 EL |
1829 | //\r |
1830 | // Add for smbios 2.8.0\r | |
1831 | //\r | |
cfcca3c2 SZ |
1832 | UINT16 MinimumVoltage;\r |
1833 | UINT16 MaximumVoltage;\r | |
1834 | UINT16 ConfiguredVoltage;\r | |
1835 | //\r | |
1836 | // Add for smbios 3.2.0\r | |
1837 | //\r | |
1838 | UINT8 MemoryTechnology; ///< The enumeration value from MEMORY_DEVICE_TECHNOLOGY\r | |
1839 | MEMORY_DEVICE_OPERATING_MODE_CAPABILITY MemoryOperatingModeCapability;\r | |
0db89a66 | 1840 | SMBIOS_TABLE_STRING FirmwareVersion;\r |
cfcca3c2 SZ |
1841 | UINT16 ModuleManufacturerID;\r |
1842 | UINT16 ModuleProductID;\r | |
1843 | UINT16 MemorySubsystemControllerManufacturerID;\r | |
1844 | UINT16 MemorySubsystemControllerProductID;\r | |
1845 | UINT64 NonVolatileSize;\r | |
1846 | UINT64 VolatileSize;\r | |
1847 | UINT64 CacheSize;\r | |
1848 | UINT64 LogicalSize;\r | |
67ead55b MC |
1849 | //\r |
1850 | // Add for smbios 3.3.0\r | |
1851 | //\r | |
1852 | UINT32 ExtendedSpeed;\r | |
1853 | UINT32 ExtendedConfiguredMemorySpeed;\r | |
61ce5861 | 1854 | } SMBIOS_TABLE_TYPE17;\r |
1855 | \r | |
98cb9ae8 | 1856 | ///\r |
9095d37b | 1857 | /// 32-bit Memory Error Information - Error Type.\r |
98cb9ae8 | 1858 | ///\r |
9095d37b | 1859 | typedef enum {\r |
98cb9ae8 | 1860 | MemoryErrorOther = 0x01,\r |
1861 | MemoryErrorUnknown = 0x02,\r | |
1862 | MemoryErrorOk = 0x03,\r | |
1863 | MemoryErrorBadRead = 0x04,\r | |
1864 | MemoryErrorParity = 0x05,\r | |
1865 | MemoryErrorSigleBit = 0x06,\r | |
1866 | MemoryErrorDoubleBit = 0x07,\r | |
1867 | MemoryErrorMultiBit = 0x08,\r | |
1868 | MemoryErrorNibble = 0x09,\r | |
1869 | MemoryErrorChecksum = 0x0A,\r | |
1870 | MemoryErrorCrc = 0x0B,\r | |
1871 | MemoryErrorCorrectSingleBit = 0x0C,\r | |
1872 | MemoryErrorCorrected = 0x0D,\r | |
1873 | MemoryErrorUnCorrectable = 0x0E\r | |
1874 | } MEMORY_ERROR_TYPE;\r | |
1875 | \r | |
1876 | ///\r | |
9095d37b | 1877 | /// 32-bit Memory Error Information - Error Granularity.\r |
98cb9ae8 | 1878 | ///\r |
9095d37b | 1879 | typedef enum {\r |
98cb9ae8 | 1880 | MemoryGranularityOther = 0x01,\r |
1881 | MemoryGranularityOtherUnknown = 0x02,\r | |
1882 | MemoryGranularityDeviceLevel = 0x03,\r | |
1883 | MemoryGranularityMemPartitionLevel = 0x04\r | |
1884 | } MEMORY_ERROR_GRANULARITY;\r | |
1885 | \r | |
1886 | ///\r | |
9095d37b | 1887 | /// 32-bit Memory Error Information - Error Operation.\r |
98cb9ae8 | 1888 | ///\r |
9095d37b | 1889 | typedef enum {\r |
98cb9ae8 | 1890 | MemoryErrorOperationOther = 0x01,\r |
1891 | MemoryErrorOperationUnknown = 0x02,\r | |
1892 | MemoryErrorOperationRead = 0x03,\r | |
1893 | MemoryErrorOperationWrite = 0x04,\r | |
1894 | MemoryErrorOperationPartialWrite = 0x05\r | |
1895 | } MEMORY_ERROR_OPERATION;\r | |
1896 | \r | |
4135253b | 1897 | ///\r |
af2dc6a7 | 1898 | /// 32-bit Memory Error Information (Type 18).\r |
9095d37b LG |
1899 | ///\r |
1900 | /// This structure identifies the specifics of an error that might be detected\r | |
98cb9ae8 | 1901 | /// within a Physical Memory Array.\r |
4135253b | 1902 | ///\r |
61ce5861 | 1903 | typedef struct {\r |
98cb9ae8 | 1904 | SMBIOS_STRUCTURE Hdr;\r |
af2dc6a7 | 1905 | UINT8 ErrorType; ///< The enumeration value from MEMORY_ERROR_TYPE.\r |
1906 | UINT8 ErrorGranularity; ///< The enumeration value from MEMORY_ERROR_GRANULARITY.\r | |
1907 | UINT8 ErrorOperation; ///< The enumeration value from MEMORY_ERROR_OPERATION.\r | |
98cb9ae8 | 1908 | UINT32 VendorSyndrome;\r |
1909 | UINT32 MemoryArrayErrorAddress;\r | |
1910 | UINT32 DeviceErrorAddress;\r | |
1911 | UINT32 ErrorResolution;\r | |
61ce5861 | 1912 | } SMBIOS_TABLE_TYPE18;\r |
1913 | \r | |
4135253b | 1914 | ///\r |
af2dc6a7 | 1915 | /// Memory Array Mapped Address (Type 19).\r |
4135253b | 1916 | ///\r |
9095d37b | 1917 | /// This structure provides the address mapping for a Physical Memory Array.\r |
98cb9ae8 | 1918 | /// One structure is present for each contiguous address range described.\r |
1919 | ///\r | |
61ce5861 | 1920 | typedef struct {\r |
1921 | SMBIOS_STRUCTURE Hdr;\r | |
1922 | UINT32 StartingAddress;\r | |
1923 | UINT32 EndingAddress;\r | |
1924 | UINT16 MemoryArrayHandle;\r | |
1925 | UINT8 PartitionWidth;\r | |
7ddba202 SZ |
1926 | //\r |
1927 | // Add for smbios 2.7\r | |
1928 | //\r | |
1929 | UINT64 ExtendedStartingAddress;\r | |
1930 | UINT64 ExtendedEndingAddress;\r | |
61ce5861 | 1931 | } SMBIOS_TABLE_TYPE19;\r |
1932 | \r | |
4135253b | 1933 | ///\r |
af2dc6a7 | 1934 | /// Memory Device Mapped Address (Type 20).\r |
4135253b | 1935 | ///\r |
9095d37b LG |
1936 | /// This structure maps memory address space usually to a device-level granularity.\r |
1937 | /// One structure is present for each contiguous address range described.\r | |
98cb9ae8 | 1938 | ///\r |
61ce5861 | 1939 | typedef struct {\r |
1940 | SMBIOS_STRUCTURE Hdr;\r | |
1941 | UINT32 StartingAddress;\r | |
1942 | UINT32 EndingAddress;\r | |
1943 | UINT16 MemoryDeviceHandle;\r | |
1944 | UINT16 MemoryArrayMappedAddressHandle;\r | |
1945 | UINT8 PartitionRowPosition;\r | |
1946 | UINT8 InterleavePosition;\r | |
1947 | UINT8 InterleavedDataDepth;\r | |
7ddba202 SZ |
1948 | //\r |
1949 | // Add for smbios 2.7\r | |
1950 | //\r | |
1951 | UINT64 ExtendedStartingAddress;\r | |
1952 | UINT64 ExtendedEndingAddress;\r | |
61ce5861 | 1953 | } SMBIOS_TABLE_TYPE20;\r |
1954 | \r | |
98cb9ae8 | 1955 | ///\r |
1956 | /// Built-in Pointing Device - Type\r | |
1957 | ///\r | |
1958 | typedef enum {\r | |
1959 | PointingDeviceTypeOther = 0x01,\r | |
1960 | PointingDeviceTypeUnknown = 0x02,\r | |
1961 | PointingDeviceTypeMouse = 0x03,\r | |
1962 | PointingDeviceTypeTrackBall = 0x04,\r | |
1963 | PointingDeviceTypeTrackPoint = 0x05,\r | |
1964 | PointingDeviceTypeGlidePoint = 0x06,\r | |
1965 | PointingDeviceTouchPad = 0x07,\r | |
1966 | PointingDeviceTouchScreen = 0x08,\r | |
1967 | PointingDeviceOpticalSensor = 0x09\r | |
1968 | } BUILTIN_POINTING_DEVICE_TYPE;\r | |
1969 | \r | |
1970 | ///\r | |
af2dc6a7 | 1971 | /// Built-in Pointing Device - Interface.\r |
98cb9ae8 | 1972 | ///\r |
1973 | typedef enum {\r | |
1974 | PointingDeviceInterfaceOther = 0x01,\r | |
1975 | PointingDeviceInterfaceUnknown = 0x02,\r | |
1976 | PointingDeviceInterfaceSerial = 0x03,\r | |
1977 | PointingDeviceInterfacePs2 = 0x04,\r | |
1978 | PointingDeviceInterfaceInfrared = 0x05,\r | |
1979 | PointingDeviceInterfaceHpHil = 0x06,\r | |
1980 | PointingDeviceInterfaceBusMouse = 0x07,\r | |
1981 | PointingDeviceInterfaceADB = 0x08,\r | |
1982 | PointingDeviceInterfaceBusMouseDB9 = 0xA0,\r | |
1983 | PointingDeviceInterfaceBusMouseMicroDin = 0xA1,\r | |
1984 | PointingDeviceInterfaceUsb = 0xA2\r | |
1985 | } BUILTIN_POINTING_DEVICE_INTERFACE;\r | |
1986 | \r | |
4135253b | 1987 | ///\r |
af2dc6a7 | 1988 | /// Built-in Pointing Device (Type 21).\r |
4135253b | 1989 | ///\r |
9095d37b | 1990 | /// This structure describes the attributes of the built-in pointing device for the\r |
af2dc6a7 | 1991 | /// system. The presence of this structure does not imply that the built-in\r |
9095d37b | 1992 | /// pointing device is active for the system's use!\r |
98cb9ae8 | 1993 | ///\r |
61ce5861 | 1994 | typedef struct {\r |
98cb9ae8 | 1995 | SMBIOS_STRUCTURE Hdr;\r |
af2dc6a7 | 1996 | UINT8 Type; ///< The enumeration value from BUILTIN_POINTING_DEVICE_TYPE.\r |
1997 | UINT8 Interface; ///< The enumeration value from BUILTIN_POINTING_DEVICE_INTERFACE.\r | |
98cb9ae8 | 1998 | UINT8 NumberOfButtons;\r |
61ce5861 | 1999 | } SMBIOS_TABLE_TYPE21;\r |
2000 | \r | |
98cb9ae8 | 2001 | ///\r |
2002 | /// Portable Battery - Device Chemistry\r | |
2003 | ///\r | |
9095d37b | 2004 | typedef enum {\r |
98cb9ae8 | 2005 | PortableBatteryDeviceChemistryOther = 0x01,\r |
2006 | PortableBatteryDeviceChemistryUnknown = 0x02,\r | |
2007 | PortableBatteryDeviceChemistryLeadAcid = 0x03,\r | |
2008 | PortableBatteryDeviceChemistryNickelCadmium = 0x04,\r | |
2009 | PortableBatteryDeviceChemistryNickelMetalHydride = 0x05,\r | |
2010 | PortableBatteryDeviceChemistryLithiumIon = 0x06,\r | |
2011 | PortableBatteryDeviceChemistryZincAir = 0x07,\r | |
2012 | PortableBatteryDeviceChemistryLithiumPolymer = 0x08\r | |
2013 | } PORTABLE_BATTERY_DEVICE_CHEMISTRY;\r | |
2014 | \r | |
4135253b | 2015 | ///\r |
af2dc6a7 | 2016 | /// Portable Battery (Type 22).\r |
4135253b | 2017 | ///\r |
9095d37b LG |
2018 | /// This structure describes the attributes of the portable battery(s) for the system.\r |
2019 | /// The structure contains the static attributes for the group. Each structure describes\r | |
1f9f8414 | 2020 | /// a single battery pack's attributes.\r |
98cb9ae8 | 2021 | ///\r |
61ce5861 | 2022 | typedef struct {\r |
98cb9ae8 | 2023 | SMBIOS_STRUCTURE Hdr;\r |
2024 | SMBIOS_TABLE_STRING Location;\r | |
2025 | SMBIOS_TABLE_STRING Manufacturer;\r | |
2026 | SMBIOS_TABLE_STRING ManufactureDate;\r | |
2027 | SMBIOS_TABLE_STRING SerialNumber;\r | |
2028 | SMBIOS_TABLE_STRING DeviceName;\r | |
af2dc6a7 | 2029 | UINT8 DeviceChemistry; ///< The enumeration value from PORTABLE_BATTERY_DEVICE_CHEMISTRY.\r |
98cb9ae8 | 2030 | UINT16 DeviceCapacity;\r |
2031 | UINT16 DesignVoltage;\r | |
2032 | SMBIOS_TABLE_STRING SBDSVersionNumber;\r | |
2033 | UINT8 MaximumErrorInBatteryData;\r | |
2034 | UINT16 SBDSSerialNumber;\r | |
2035 | UINT16 SBDSManufactureDate;\r | |
2036 | SMBIOS_TABLE_STRING SBDSDeviceChemistry;\r | |
2037 | UINT8 DesignCapacityMultiplier;\r | |
2038 | UINT32 OEMSpecific;\r | |
61ce5861 | 2039 | } SMBIOS_TABLE_TYPE22;\r |
2040 | \r | |
4135253b | 2041 | ///\r |
2042 | /// System Reset (Type 23)\r | |
2043 | ///\r | |
9095d37b | 2044 | /// This structure describes whether Automatic System Reset functions enabled (Status).\r |
98cb9ae8 | 2045 | /// If the system has a watchdog Timer and the timer is not reset (Timer Reset)\r |
9095d37b LG |
2046 | /// before the Interval elapses, an automatic system reset will occur. The system will re-boot\r |
2047 | /// according to the Boot Option. This function may repeat until the Limit is reached, at which time\r | |
2048 | /// the system will re-boot according to the Boot Option at Limit.\r | |
98cb9ae8 | 2049 | ///\r |
61ce5861 | 2050 | typedef struct {\r |
2051 | SMBIOS_STRUCTURE Hdr;\r | |
2052 | UINT8 Capabilities;\r | |
2053 | UINT16 ResetCount;\r | |
2054 | UINT16 ResetLimit;\r | |
2055 | UINT16 TimerInterval;\r | |
2056 | UINT16 Timeout;\r | |
2057 | } SMBIOS_TABLE_TYPE23;\r | |
2058 | \r | |
4135253b | 2059 | ///\r |
af2dc6a7 | 2060 | /// Hardware Security (Type 24).\r |
4135253b | 2061 | ///\r |
9095d37b | 2062 | /// This structure describes the system-wide hardware security settings.\r |
98cb9ae8 | 2063 | ///\r |
61ce5861 | 2064 | typedef struct {\r |
2065 | SMBIOS_STRUCTURE Hdr;\r | |
2066 | UINT8 HardwareSecuritySettings;\r | |
2067 | } SMBIOS_TABLE_TYPE24;\r | |
2068 | \r | |
4135253b | 2069 | ///\r |
af2dc6a7 | 2070 | /// System Power Controls (Type 25).\r |
4135253b | 2071 | ///\r |
9095d37b LG |
2072 | /// This structure describes the attributes for controlling the main power supply to the system.\r |
2073 | /// Software that interprets this structure uses the month, day, hour, minute, and second values\r | |
2074 | /// to determine the number of seconds until the next power-on of the system. The presence of\r | |
2075 | /// this structure implies that a timed power-on facility is available for the system.\r | |
98cb9ae8 | 2076 | ///\r |
61ce5861 | 2077 | typedef struct {\r |
2078 | SMBIOS_STRUCTURE Hdr;\r | |
2079 | UINT8 NextScheduledPowerOnMonth;\r | |
2080 | UINT8 NextScheduledPowerOnDayOfMonth;\r | |
2081 | UINT8 NextScheduledPowerOnHour;\r | |
2082 | UINT8 NextScheduledPowerOnMinute;\r | |
2083 | UINT8 NextScheduledPowerOnSecond;\r | |
2084 | } SMBIOS_TABLE_TYPE25;\r | |
2085 | \r | |
98cb9ae8 | 2086 | ///\r |
af2dc6a7 | 2087 | /// Voltage Probe - Location and Status.\r |
98cb9ae8 | 2088 | ///\r |
2089 | typedef struct {\r | |
2090 | UINT8 VoltageProbeSite :5;\r | |
2091 | UINT8 VoltageProbeStatus :3;\r | |
2092 | } MISC_VOLTAGE_PROBE_LOCATION;\r | |
2093 | \r | |
4135253b | 2094 | ///\r |
2095 | /// Voltage Probe (Type 26)\r | |
2096 | ///\r | |
9095d37b | 2097 | /// This describes the attributes for a voltage probe in the system.\r |
98cb9ae8 | 2098 | /// Each structure describes a single voltage probe.\r |
2099 | ///\r | |
61ce5861 | 2100 | typedef struct {\r |
98cb9ae8 | 2101 | SMBIOS_STRUCTURE Hdr;\r |
2102 | SMBIOS_TABLE_STRING Description;\r | |
2103 | MISC_VOLTAGE_PROBE_LOCATION LocationAndStatus;\r | |
2104 | UINT16 MaximumValue;\r | |
2105 | UINT16 MinimumValue;\r | |
2106 | UINT16 Resolution;\r | |
2107 | UINT16 Tolerance;\r | |
2108 | UINT16 Accuracy;\r | |
2109 | UINT32 OEMDefined;\r | |
2110 | UINT16 NominalValue;\r | |
61ce5861 | 2111 | } SMBIOS_TABLE_TYPE26;\r |
2112 | \r | |
98cb9ae8 | 2113 | ///\r |
af2dc6a7 | 2114 | /// Cooling Device - Device Type and Status.\r |
98cb9ae8 | 2115 | ///\r |
2116 | typedef struct {\r | |
2117 | UINT8 CoolingDevice :5;\r | |
2118 | UINT8 CoolingDeviceStatus :3;\r | |
2119 | } MISC_COOLING_DEVICE_TYPE;\r | |
2120 | \r | |
4135253b | 2121 | ///\r |
2122 | /// Cooling Device (Type 27)\r | |
2123 | ///\r | |
9095d37b LG |
2124 | /// This structure describes the attributes for a cooling device in the system.\r |
2125 | /// Each structure describes a single cooling device.\r | |
2126 | ///\r | |
61ce5861 | 2127 | typedef struct {\r |
98cb9ae8 | 2128 | SMBIOS_STRUCTURE Hdr;\r |
2129 | UINT16 TemperatureProbeHandle;\r | |
2130 | MISC_COOLING_DEVICE_TYPE DeviceTypeAndStatus;\r | |
2131 | UINT8 CoolingUnitGroup;\r | |
2132 | UINT32 OEMDefined;\r | |
2133 | UINT16 NominalSpeed;\r | |
7ddba202 SZ |
2134 | //\r |
2135 | // Add for smbios 2.7\r | |
2136 | //\r | |
2137 | SMBIOS_TABLE_STRING Description;\r | |
61ce5861 | 2138 | } SMBIOS_TABLE_TYPE27;\r |
2139 | \r | |
98cb9ae8 | 2140 | ///\r |
af2dc6a7 | 2141 | /// Temperature Probe - Location and Status.\r |
98cb9ae8 | 2142 | ///\r |
2143 | typedef struct {\r | |
2144 | UINT8 TemperatureProbeSite :5;\r | |
2145 | UINT8 TemperatureProbeStatus :3;\r | |
2146 | } MISC_TEMPERATURE_PROBE_LOCATION;\r | |
2147 | \r | |
4135253b | 2148 | ///\r |
af2dc6a7 | 2149 | /// Temperature Probe (Type 28).\r |
4135253b | 2150 | ///\r |
9095d37b LG |
2151 | /// This structure describes the attributes for a temperature probe in the system.\r |
2152 | /// Each structure describes a single temperature probe.\r | |
98cb9ae8 | 2153 | ///\r |
61ce5861 | 2154 | typedef struct {\r |
98cb9ae8 | 2155 | SMBIOS_STRUCTURE Hdr;\r |
2156 | SMBIOS_TABLE_STRING Description;\r | |
2157 | MISC_TEMPERATURE_PROBE_LOCATION LocationAndStatus;\r | |
2158 | UINT16 MaximumValue;\r | |
2159 | UINT16 MinimumValue;\r | |
2160 | UINT16 Resolution;\r | |
2161 | UINT16 Tolerance;\r | |
2162 | UINT16 Accuracy;\r | |
2163 | UINT32 OEMDefined;\r | |
2164 | UINT16 NominalValue;\r | |
61ce5861 | 2165 | } SMBIOS_TABLE_TYPE28;\r |
2166 | \r | |
98cb9ae8 | 2167 | ///\r |
af2dc6a7 | 2168 | /// Electrical Current Probe - Location and Status.\r |
98cb9ae8 | 2169 | ///\r |
2170 | typedef struct {\r | |
2171 | UINT8 ElectricalCurrentProbeSite :5;\r | |
2172 | UINT8 ElectricalCurrentProbeStatus :3;\r | |
2173 | } MISC_ELECTRICAL_CURRENT_PROBE_LOCATION;\r | |
2174 | \r | |
4135253b | 2175 | ///\r |
af2dc6a7 | 2176 | /// Electrical Current Probe (Type 29).\r |
4135253b | 2177 | ///\r |
98cb9ae8 | 2178 | /// This structure describes the attributes for an electrical current probe in the system.\r |
9095d37b | 2179 | /// Each structure describes a single electrical current probe.\r |
98cb9ae8 | 2180 | ///\r |
61ce5861 | 2181 | typedef struct {\r |
98cb9ae8 | 2182 | SMBIOS_STRUCTURE Hdr;\r |
2183 | SMBIOS_TABLE_STRING Description;\r | |
2184 | MISC_ELECTRICAL_CURRENT_PROBE_LOCATION LocationAndStatus;\r | |
2185 | UINT16 MaximumValue;\r | |
2186 | UINT16 MinimumValue;\r | |
2187 | UINT16 Resolution;\r | |
2188 | UINT16 Tolerance;\r | |
2189 | UINT16 Accuracy;\r | |
2190 | UINT32 OEMDefined;\r | |
2191 | UINT16 NominalValue;\r | |
61ce5861 | 2192 | } SMBIOS_TABLE_TYPE29;\r |
2193 | \r | |
4135253b | 2194 | ///\r |
af2dc6a7 | 2195 | /// Out-of-Band Remote Access (Type 30).\r |
4135253b | 2196 | ///\r |
9095d37b LG |
2197 | /// This structure describes the attributes and policy settings of a hardware facility\r |
2198 | /// that may be used to gain remote access to a hardware system when the operating system\r | |
2199 | /// is not available due to power-down status, hardware failures, or boot failures.\r | |
98cb9ae8 | 2200 | ///\r |
61ce5861 | 2201 | typedef struct {\r |
2202 | SMBIOS_STRUCTURE Hdr;\r | |
2203 | SMBIOS_TABLE_STRING ManufacturerName;\r | |
2204 | UINT8 Connections;\r | |
2205 | } SMBIOS_TABLE_TYPE30;\r | |
2206 | \r | |
4135253b | 2207 | ///\r |
af2dc6a7 | 2208 | /// Boot Integrity Services (BIS) Entry Point (Type 31).\r |
4135253b | 2209 | ///\r |
9095d37b LG |
2210 | /// Structure type 31 (decimal) is reserved for use by the Boot Integrity Services (BIS).\r |
2211 | ///\r | |
61ce5861 | 2212 | typedef struct {\r |
2213 | SMBIOS_STRUCTURE Hdr;\r | |
2214 | UINT8 Checksum;\r | |
2215 | UINT8 Reserved1;\r | |
2216 | UINT16 Reserved2;\r | |
2217 | UINT32 BisEntry16;\r | |
2218 | UINT32 BisEntry32;\r | |
2219 | UINT64 Reserved3;\r | |
2220 | UINT32 Reserved4;\r | |
2221 | } SMBIOS_TABLE_TYPE31;\r | |
2222 | \r | |
98cb9ae8 | 2223 | ///\r |
af2dc6a7 | 2224 | /// System Boot Information - System Boot Status.\r |
98cb9ae8 | 2225 | ///\r |
2226 | typedef enum {\r | |
2227 | BootInformationStatusNoError = 0x00,\r | |
2228 | BootInformationStatusNoBootableMedia = 0x01,\r | |
2229 | BootInformationStatusNormalOSFailedLoading = 0x02,\r | |
2230 | BootInformationStatusFirmwareDetectedFailure = 0x03,\r | |
2231 | BootInformationStatusOSDetectedFailure = 0x04,\r | |
2232 | BootInformationStatusUserRequestedBoot = 0x05,\r | |
2233 | BootInformationStatusSystemSecurityViolation = 0x06,\r | |
2234 | BootInformationStatusPreviousRequestedImage = 0x07,\r | |
2235 | BootInformationStatusWatchdogTimerExpired = 0x08,\r | |
2236 | BootInformationStatusStartReserved = 0x09,\r | |
2237 | BootInformationStatusStartOemSpecific = 0x80,\r | |
2238 | BootInformationStatusStartProductSpecific = 0xC0\r | |
2239 | } MISC_BOOT_INFORMATION_STATUS_DATA_TYPE;\r | |
2240 | \r | |
4135253b | 2241 | ///\r |
af2dc6a7 | 2242 | /// System Boot Information (Type 32).\r |
4135253b | 2243 | ///\r |
9095d37b LG |
2244 | /// The client system firmware, e.g. BIOS, communicates the System Boot Status to the\r |
2245 | /// client's Pre-boot Execution Environment (PXE) boot image or OS-present management\r | |
2246 | /// application via this structure. When used in the PXE environment, for example,\r | |
2247 | /// this code identifies the reason the PXE was initiated and can be used by boot-image\r | |
2248 | /// software to further automate an enterprise's PXE sessions. For example, an enterprise\r | |
2249 | /// could choose to automatically download a hardware-diagnostic image to a client whose\r | |
98cb9ae8 | 2250 | /// reason code indicated either a firmware- or operating system-detected hardware failure.\r |
2251 | ///\r | |
61ce5861 | 2252 | typedef struct {\r |
98cb9ae8 | 2253 | SMBIOS_STRUCTURE Hdr;\r |
2254 | UINT8 Reserved[6];\r | |
af2dc6a7 | 2255 | UINT8 BootStatus; ///< The enumeration value from MISC_BOOT_INFORMATION_STATUS_DATA_TYPE.\r |
61ce5861 | 2256 | } SMBIOS_TABLE_TYPE32;\r |
2257 | \r | |
4135253b | 2258 | ///\r |
af2dc6a7 | 2259 | /// 64-bit Memory Error Information (Type 33).\r |
4135253b | 2260 | ///\r |
9095d37b | 2261 | /// This structure describes an error within a Physical Memory Array,\r |
98cb9ae8 | 2262 | /// when the error address is above 4G (0xFFFFFFFF).\r |
9095d37b | 2263 | ///\r |
61ce5861 | 2264 | typedef struct {\r |
98cb9ae8 | 2265 | SMBIOS_STRUCTURE Hdr;\r |
af2dc6a7 | 2266 | UINT8 ErrorType; ///< The enumeration value from MEMORY_ERROR_TYPE.\r |
2267 | UINT8 ErrorGranularity; ///< The enumeration value from MEMORY_ERROR_GRANULARITY.\r | |
2268 | UINT8 ErrorOperation; ///< The enumeration value from MEMORY_ERROR_OPERATION.\r | |
98cb9ae8 | 2269 | UINT32 VendorSyndrome;\r |
2270 | UINT64 MemoryArrayErrorAddress;\r | |
2271 | UINT64 DeviceErrorAddress;\r | |
2272 | UINT32 ErrorResolution;\r | |
61ce5861 | 2273 | } SMBIOS_TABLE_TYPE33;\r |
2274 | \r | |
98cb9ae8 | 2275 | ///\r |
9095d37b | 2276 | /// Management Device - Type.\r |
98cb9ae8 | 2277 | ///\r |
2278 | typedef enum {\r | |
2279 | ManagementDeviceTypeOther = 0x01,\r | |
2280 | ManagementDeviceTypeUnknown = 0x02,\r | |
2281 | ManagementDeviceTypeLm75 = 0x03,\r | |
2282 | ManagementDeviceTypeLm78 = 0x04,\r | |
2283 | ManagementDeviceTypeLm79 = 0x05,\r | |
2284 | ManagementDeviceTypeLm80 = 0x06,\r | |
2285 | ManagementDeviceTypeLm81 = 0x07,\r | |
2286 | ManagementDeviceTypeAdm9240 = 0x08,\r | |
2287 | ManagementDeviceTypeDs1780 = 0x09,\r | |
2288 | ManagementDeviceTypeMaxim1617 = 0x0A,\r | |
2289 | ManagementDeviceTypeGl518Sm = 0x0B,\r | |
2290 | ManagementDeviceTypeW83781D = 0x0C,\r | |
2291 | ManagementDeviceTypeHt82H791 = 0x0D\r | |
2292 | } MISC_MANAGEMENT_DEVICE_TYPE;\r | |
2293 | \r | |
2294 | ///\r | |
9095d37b | 2295 | /// Management Device - Address Type.\r |
98cb9ae8 | 2296 | ///\r |
2297 | typedef enum {\r | |
2298 | ManagementDeviceAddressTypeOther = 0x01,\r | |
2299 | ManagementDeviceAddressTypeUnknown = 0x02,\r | |
2300 | ManagementDeviceAddressTypeIOPort = 0x03,\r | |
2301 | ManagementDeviceAddressTypeMemory = 0x04,\r | |
2302 | ManagementDeviceAddressTypeSmbus = 0x05\r | |
2303 | } MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE;\r | |
2304 | \r | |
4135253b | 2305 | ///\r |
af2dc6a7 | 2306 | /// Management Device (Type 34).\r |
4135253b | 2307 | ///\r |
9095d37b | 2308 | /// The information in this structure defines the attributes of a Management Device.\r |
98cb9ae8 | 2309 | /// A Management Device might control one or more fans or voltage, current, or temperature\r |
2310 | /// probes as defined by one or more Management Device Component structures.\r | |
2311 | ///\r | |
61ce5861 | 2312 | typedef struct {\r |
98cb9ae8 | 2313 | SMBIOS_STRUCTURE Hdr;\r |
2314 | SMBIOS_TABLE_STRING Description;\r | |
af2dc6a7 | 2315 | UINT8 Type; ///< The enumeration value from MISC_MANAGEMENT_DEVICE_TYPE.\r |
98cb9ae8 | 2316 | UINT32 Address;\r |
af2dc6a7 | 2317 | UINT8 AddressType; ///< The enumeration value from MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE.\r |
61ce5861 | 2318 | } SMBIOS_TABLE_TYPE34;\r |
2319 | \r | |
4135253b | 2320 | ///\r |
2321 | /// Management Device Component (Type 35)\r | |
2322 | ///\r | |
9095d37b LG |
2323 | /// This structure associates a cooling device or environmental probe with structures\r |
2324 | /// that define the controlling hardware device and (optionally) the component's thresholds.\r | |
98cb9ae8 | 2325 | ///\r |
61ce5861 | 2326 | typedef struct {\r |
2327 | SMBIOS_STRUCTURE Hdr;\r | |
2328 | SMBIOS_TABLE_STRING Description;\r | |
2329 | UINT16 ManagementDeviceHandle;\r | |
2330 | UINT16 ComponentHandle;\r | |
2331 | UINT16 ThresholdHandle;\r | |
2332 | } SMBIOS_TABLE_TYPE35;\r | |
2333 | \r | |
4135253b | 2334 | ///\r |
af2dc6a7 | 2335 | /// Management Device Threshold Data (Type 36).\r |
4135253b | 2336 | ///\r |
9095d37b LG |
2337 | /// The information in this structure defines threshold information for\r |
2338 | /// a component (probe or cooling-unit) contained within a Management Device.\r | |
98cb9ae8 | 2339 | ///\r |
61ce5861 | 2340 | typedef struct {\r |
2341 | SMBIOS_STRUCTURE Hdr;\r | |
2342 | UINT16 LowerThresholdNonCritical;\r | |
2343 | UINT16 UpperThresholdNonCritical;\r | |
2344 | UINT16 LowerThresholdCritical;\r | |
2345 | UINT16 UpperThresholdCritical;\r | |
2346 | UINT16 LowerThresholdNonRecoverable;\r | |
2347 | UINT16 UpperThresholdNonRecoverable;\r | |
2348 | } SMBIOS_TABLE_TYPE36;\r | |
2349 | \r | |
bf7ea009 | 2350 | ///\r |
af2dc6a7 | 2351 | /// Memory Channel Entry.\r |
bf7ea009 | 2352 | ///\r |
61ce5861 | 2353 | typedef struct {\r |
2354 | UINT8 DeviceLoad;\r | |
2355 | UINT16 DeviceHandle;\r | |
2356 | } MEMORY_DEVICE;\r | |
2357 | \r | |
98cb9ae8 | 2358 | ///\r |
af2dc6a7 | 2359 | /// Memory Channel - Channel Type.\r |
98cb9ae8 | 2360 | ///\r |
2361 | typedef enum {\r | |
2362 | MemoryChannelTypeOther = 0x01,\r | |
2363 | MemoryChannelTypeUnknown = 0x02,\r | |
2364 | MemoryChannelTypeRambus = 0x03,\r | |
2365 | MemoryChannelTypeSyncLink = 0x04\r | |
2366 | } MEMORY_CHANNEL_TYPE;\r | |
2367 | \r | |
4135253b | 2368 | ///\r |
2369 | /// Memory Channel (Type 37)\r | |
2370 | ///\r | |
98cb9ae8 | 2371 | /// The information in this structure provides the correlation between a Memory Channel\r |
9095d37b | 2372 | /// and its associated Memory Devices. Each device presents one or more loads to the channel.\r |
af2dc6a7 | 2373 | /// The sum of all device loads cannot exceed the channel's defined maximum.\r |
98cb9ae8 | 2374 | ///\r |
61ce5861 | 2375 | typedef struct {\r |
2376 | SMBIOS_STRUCTURE Hdr;\r | |
2377 | UINT8 ChannelType;\r | |
2378 | UINT8 MaximumChannelLoad;\r | |
2379 | UINT8 MemoryDeviceCount;\r | |
2380 | MEMORY_DEVICE MemoryDevice[1];\r | |
2381 | } SMBIOS_TABLE_TYPE37;\r | |
2382 | \r | |
98cb9ae8 | 2383 | ///\r |
2384 | /// IPMI Device Information - BMC Interface Type\r | |
2385 | ///\r | |
2386 | typedef enum {\r | |
2387 | IPMIDeviceInfoInterfaceTypeUnknown = 0x00,\r | |
af2dc6a7 | 2388 | IPMIDeviceInfoInterfaceTypeKCS = 0x01, ///< The Keyboard Controller Style.\r |
2389 | IPMIDeviceInfoInterfaceTypeSMIC = 0x02, ///< The Server Management Interface Chip.\r | |
2390 | IPMIDeviceInfoInterfaceTypeBT = 0x03, ///< The Block Transfer\r | |
cfcca3c2 | 2391 | IPMIDeviceInfoInterfaceTypeSSIF = 0x04 ///< SMBus System Interface\r |
98cb9ae8 | 2392 | } BMC_INTERFACE_TYPE;\r |
2393 | \r | |
4135253b | 2394 | ///\r |
af2dc6a7 | 2395 | /// IPMI Device Information (Type 38).\r |
4135253b | 2396 | ///\r |
7ddba202 | 2397 | /// The information in this structure defines the attributes of an\r |
98cb9ae8 | 2398 | /// Intelligent Platform Management Interface (IPMI) Baseboard Management Controller (BMC).\r |
7ddba202 SZ |
2399 | ///\r |
2400 | /// The Type 42 structure can also be used to describe a physical management controller\r | |
2401 | /// host interface and one or more protocols that share that interface. If IPMI is not\r | |
2402 | /// shared with other protocols, either the Type 38 or Type 42 structures can be used.\r | |
2403 | /// Providing Type 38 is recommended for backward compatibility.\r | |
2404 | ///\r | |
61ce5861 | 2405 | typedef struct {\r |
2406 | SMBIOS_STRUCTURE Hdr;\r | |
af2dc6a7 | 2407 | UINT8 InterfaceType; ///< The enumeration value from BMC_INTERFACE_TYPE.\r |
61ce5861 | 2408 | UINT8 IPMISpecificationRevision;\r |
2409 | UINT8 I2CSlaveAddress;\r | |
2410 | UINT8 NVStorageDeviceAddress;\r | |
2411 | UINT64 BaseAddress;\r | |
2412 | UINT8 BaseAddressModifier_InterruptInfo;\r | |
2413 | UINT8 InterruptNumber;\r | |
2414 | } SMBIOS_TABLE_TYPE38;\r | |
2415 | \r | |
98cb9ae8 | 2416 | ///\r |
af2dc6a7 | 2417 | /// System Power Supply - Power Supply Characteristics.\r |
98cb9ae8 | 2418 | ///\r |
2419 | typedef struct {\r | |
2420 | UINT16 PowerSupplyHotReplaceable:1;\r | |
2421 | UINT16 PowerSupplyPresent :1;\r | |
2422 | UINT16 PowerSupplyUnplugged :1;\r | |
2423 | UINT16 InputVoltageRangeSwitch :4;\r | |
2424 | UINT16 PowerSupplyStatus :3;\r | |
2425 | UINT16 PowerSupplyType :4;\r | |
2426 | UINT16 Reserved :2;\r | |
2427 | } SYS_POWER_SUPPLY_CHARACTERISTICS;\r | |
2428 | \r | |
4135253b | 2429 | ///\r |
af2dc6a7 | 2430 | /// System Power Supply (Type 39).\r |
4135253b | 2431 | ///\r |
7ddba202 SZ |
2432 | /// This structure identifies attributes of a system power supply. One instance\r |
2433 | /// of this record is present for each possible power supply in a system.\r | |
98cb9ae8 | 2434 | ///\r |
61ce5861 | 2435 | typedef struct {\r |
98cb9ae8 | 2436 | SMBIOS_STRUCTURE Hdr;\r |
2437 | UINT8 PowerUnitGroup;\r | |
2438 | SMBIOS_TABLE_STRING Location;\r | |
2439 | SMBIOS_TABLE_STRING DeviceName;\r | |
2440 | SMBIOS_TABLE_STRING Manufacturer;\r | |
2441 | SMBIOS_TABLE_STRING SerialNumber;\r | |
2442 | SMBIOS_TABLE_STRING AssetTagNumber;\r | |
2443 | SMBIOS_TABLE_STRING ModelPartNumber;\r | |
2444 | SMBIOS_TABLE_STRING RevisionLevel;\r | |
2445 | UINT16 MaxPowerCapacity;\r | |
2446 | SYS_POWER_SUPPLY_CHARACTERISTICS PowerSupplyCharacteristics;\r | |
2447 | UINT16 InputVoltageProbeHandle;\r | |
2448 | UINT16 CoolingDeviceHandle;\r | |
2449 | UINT16 InputCurrentProbeHandle;\r | |
61ce5861 | 2450 | } SMBIOS_TABLE_TYPE39;\r |
2451 | \r | |
bf7ea009 | 2452 | ///\r |
9095d37b | 2453 | /// Additional Information Entry Format.\r |
bf7ea009 | 2454 | ///\r |
9095d37b LG |
2455 | typedef struct {\r |
2456 | UINT8 EntryLength;\r | |
61ce5861 | 2457 | UINT16 ReferencedHandle;\r |
2458 | UINT8 ReferencedOffset;\r | |
2459 | SMBIOS_TABLE_STRING EntryString;\r | |
2460 | UINT8 Value[1];\r | |
cfcca3c2 | 2461 | } ADDITIONAL_INFORMATION_ENTRY;\r |
61ce5861 | 2462 | \r |
4135253b | 2463 | ///\r |
af2dc6a7 | 2464 | /// Additional Information (Type 40).\r |
4135253b | 2465 | ///\r |
9095d37b LG |
2466 | /// This structure is intended to provide additional information for handling unspecified\r |
2467 | /// enumerated values and interim field updates in another structure.\r | |
98cb9ae8 | 2468 | ///\r |
61ce5861 | 2469 | typedef struct {\r |
2470 | SMBIOS_STRUCTURE Hdr;\r | |
2471 | UINT8 NumberOfAdditionalInformationEntries;\r | |
9095d37b | 2472 | ADDITIONAL_INFORMATION_ENTRY AdditionalInfoEntries[1];\r |
61ce5861 | 2473 | } SMBIOS_TABLE_TYPE40;\r |
2474 | \r | |
98cb9ae8 | 2475 | ///\r |
af2dc6a7 | 2476 | /// Onboard Devices Extended Information - Onboard Device Types.\r |
98cb9ae8 | 2477 | ///\r |
2478 | typedef enum{\r | |
2479 | OnBoardDeviceExtendedTypeOther = 0x01,\r | |
2480 | OnBoardDeviceExtendedTypeUnknown = 0x02,\r | |
2481 | OnBoardDeviceExtendedTypeVideo = 0x03,\r | |
2482 | OnBoardDeviceExtendedTypeScsiController = 0x04,\r | |
2483 | OnBoardDeviceExtendedTypeEthernet = 0x05,\r | |
2484 | OnBoardDeviceExtendedTypeTokenRing = 0x06,\r | |
2485 | OnBoardDeviceExtendedTypeSound = 0x07,\r | |
2486 | OnBoardDeviceExtendedTypePATAController = 0x08,\r | |
2487 | OnBoardDeviceExtendedTypeSATAController = 0x09,\r | |
2488 | OnBoardDeviceExtendedTypeSASController = 0x0A\r | |
2489 | } ONBOARD_DEVICE_EXTENDED_INFO_TYPE;\r | |
2490 | \r | |
4135253b | 2491 | ///\r |
af2dc6a7 | 2492 | /// Onboard Devices Extended Information (Type 41).\r |
4135253b | 2493 | ///\r |
9095d37b LG |
2494 | /// The information in this structure defines the attributes of devices that\r |
2495 | /// are onboard (soldered onto) a system element, usually the baseboard.\r | |
2496 | /// In general, an entry in this table implies that the BIOS has some level of\r | |
2497 | /// control over the enabling of the associated device for use by the system.\r | |
98cb9ae8 | 2498 | ///\r |
61ce5861 | 2499 | typedef struct {\r |
98cb9ae8 | 2500 | SMBIOS_STRUCTURE Hdr;\r |
2501 | SMBIOS_TABLE_STRING ReferenceDesignation;\r | |
af2dc6a7 | 2502 | UINT8 DeviceType; ///< The enumeration value from ONBOARD_DEVICE_EXTENDED_INFO_TYPE\r |
98cb9ae8 | 2503 | UINT8 DeviceTypeInstance;\r |
2504 | UINT16 SegmentGroupNum;\r | |
2505 | UINT8 BusNum;\r | |
7ddba202 | 2506 | UINT8 DevFuncNum;\r |
61ce5861 | 2507 | } SMBIOS_TABLE_TYPE41;\r |
2508 | \r | |
78ab44cb AC |
2509 | ///\r |
2510 | /// Management Controller Host Interface - Protocol Record Data Format.\r | |
2511 | ///\r | |
2512 | typedef struct {\r | |
2513 | UINT8 ProtocolType;\r | |
2514 | UINT8 ProtocolTypeDataLen;\r | |
2515 | UINT8 ProtocolTypeData[1];\r | |
2516 | } MC_HOST_INTERFACE_PROTOCOL_RECORD;\r | |
2517 | \r | |
043026ac SZ |
2518 | ///\r |
2519 | /// Management Controller Host Interface - Interface Types.\r | |
2520 | /// 00h - 3Fh: MCTP Host Interfaces\r | |
2521 | ///\r | |
2522 | typedef enum{\r | |
2523 | MCHostInterfaceTypeNetworkHostInterface = 0x40,\r | |
2524 | MCHostInterfaceTypeOemDefined = 0xF0\r | |
2525 | } MC_HOST_INTERFACE_TYPE;\r | |
2526 | \r | |
2527 | ///\r | |
2528 | /// Management Controller Host Interface - Protocol Types.\r | |
2529 | ///\r | |
2530 | typedef enum{\r | |
2531 | MCHostInterfaceProtocolTypeIPMI = 0x02,\r | |
2532 | MCHostInterfaceProtocolTypeMCTP = 0x03,\r | |
2533 | MCHostInterfaceProtocolTypeRedfishOverIP = 0x04,\r | |
2534 | MCHostInterfaceProtocolTypeOemDefined = 0xF0\r | |
2535 | } MC_HOST_INTERFACE_PROTOCOL_TYPE;\r | |
2536 | \r | |
7ddba202 SZ |
2537 | ///\r |
2538 | /// Management Controller Host Interface (Type 42).\r | |
2539 | ///\r | |
2540 | /// The information in this structure defines the attributes of a Management\r | |
2541 | /// Controller Host Interface that is not discoverable by "Plug and Play" mechanisms.\r | |
2542 | ///\r | |
2543 | /// Type 42 should be used for management controller host interfaces that use protocols\r | |
2544 | /// other than IPMI or that use multiple protocols on a single host interface type.\r | |
2545 | ///\r | |
2546 | /// This structure should also be provided if IPMI is shared with other protocols\r | |
2547 | /// over the same interface hardware. If IPMI is not shared with other protocols,\r | |
2548 | /// either the Type 38 or Type 42 structures can be used. Providing Type 38 is\r | |
2549 | /// recommended for backward compatibility. The structures are not required to\r | |
2550 | /// be mutually exclusive. Type 38 and Type 42 structures may be implemented\r | |
2551 | /// simultaneously to provide backward compatibility with IPMI applications or drivers\r | |
2552 | /// that do not yet recognize the Type 42 structure.\r | |
2553 | ///\r | |
2554 | typedef struct {\r | |
2555 | SMBIOS_STRUCTURE Hdr;\r | |
cfcca3c2 SZ |
2556 | UINT8 InterfaceType; ///< The enumeration value from MC_HOST_INTERFACE_TYPE\r |
2557 | UINT8 InterfaceTypeSpecificDataLength;\r | |
2558 | UINT8 InterfaceTypeSpecificData[4]; ///< This field has a minimum of four bytes\r | |
7ddba202 SZ |
2559 | } SMBIOS_TABLE_TYPE42;\r |
2560 | \r | |
f06c92a6 AC |
2561 | \r |
2562 | ///\r | |
2563 | /// Processor Specific Block - Processor Architecture Type\r | |
2564 | ///\r | |
2565 | typedef enum{\r | |
2566 | ProcessorSpecificBlockArchTypeReserved = 0x00,\r | |
2567 | ProcessorSpecificBlockArchTypeIa32 = 0x01,\r | |
2568 | ProcessorSpecificBlockArchTypeX64 = 0x02,\r | |
2569 | ProcessorSpecificBlockArchTypeItanium = 0x03,\r | |
2570 | ProcessorSpecificBlockArchTypeAarch32 = 0x04,\r | |
2571 | ProcessorSpecificBlockArchTypeAarch64 = 0x05,\r | |
2572 | ProcessorSpecificBlockArchTypeRiscVRV32 = 0x06,\r | |
2573 | ProcessorSpecificBlockArchTypeRiscVRV64 = 0x07,\r | |
2574 | ProcessorSpecificBlockArchTypeRiscVRV128 = 0x08\r | |
2575 | } PROCESSOR_SPECIFIC_BLOCK_ARCH_TYPE;\r | |
2576 | \r | |
2577 | ///\r | |
2578 | /// Processor Specific Block is the standard container of processor-specific data.\r | |
2579 | ///\r | |
2580 | typedef struct {\r | |
2581 | UINT8 Length;\r | |
2582 | UINT8 ProcessorArchType;\r | |
2583 | ///\r | |
2584 | /// Below followed by Processor-specific data\r | |
2585 | ///\r | |
2586 | ///\r | |
2587 | } PROCESSOR_SPECIFIC_BLOCK;\r | |
2588 | \r | |
2589 | ///\r | |
2590 | /// Processor Additional Information(Type 44).\r | |
2591 | ///\r | |
2592 | /// The information in this structure defines the processor additional information in case\r | |
2593 | /// SMBIOS type 4 is not sufficient to describe processor characteristics.\r | |
2594 | /// The SMBIOS type 44 structure has a reference handle field to link back to the related\r | |
2595 | /// SMBIOS type 4 structure. There may be multiple SMBIOS type 44 structures linked to the\r | |
2596 | /// same SMBIOS type 4 structure. For example, when cores are not identical in a processor,\r | |
2597 | /// SMBIOS type 44 structures describe different core-specific information.\r | |
2598 | ///\r | |
2599 | /// SMBIOS type 44 defines the standard header for the processor-specific block, while the\r | |
2600 | /// contents of processor-specific data are maintained by processor\r | |
2601 | /// architecture workgroups or vendors in separate documents.\r | |
2602 | ///\r | |
2603 | typedef struct {\r | |
2604 | SMBIOS_STRUCTURE Hdr;\r | |
2605 | SMBIOS_HANDLE RefHandle; ///< This field refer to associated SMBIOS type 4\r | |
2606 | ///\r | |
2607 | /// Below followed by Processor-specific block\r | |
2608 | ///\r | |
2609 | PROCESSOR_SPECIFIC_BLOCK ProcessorSpecificBlock;\r | |
2610 | } SMBIOS_TABLE_TYPE44;\r | |
2611 | \r | |
713e4b00 LA |
2612 | ///\r |
2613 | /// TPM Device (Type 43).\r | |
2614 | ///\r | |
2615 | typedef struct {\r | |
2616 | SMBIOS_STRUCTURE Hdr;\r | |
2617 | UINT8 VendorID[4];\r | |
2618 | UINT8 MajorSpecVersion;\r | |
2619 | UINT8 MinorSpecVersion;\r | |
2620 | UINT32 FirmwareVersion1;\r | |
2621 | UINT32 FirmwareVersion2;\r | |
2622 | SMBIOS_TABLE_STRING Description;\r | |
2623 | UINT64 Characteristics;\r | |
2624 | UINT32 OemDefined;\r | |
2625 | } SMBIOS_TABLE_TYPE43;\r | |
2626 | \r | |
4135253b | 2627 | ///\r |
2628 | /// Inactive (Type 126)\r | |
2629 | ///\r | |
61ce5861 | 2630 | typedef struct {\r |
2631 | SMBIOS_STRUCTURE Hdr;\r | |
2632 | } SMBIOS_TABLE_TYPE126;\r | |
2633 | \r | |
4135253b | 2634 | ///\r |
2635 | /// End-of-Table (Type 127)\r | |
2636 | ///\r | |
61ce5861 | 2637 | typedef struct {\r |
2638 | SMBIOS_STRUCTURE Hdr;\r | |
2639 | } SMBIOS_TABLE_TYPE127;\r | |
2640 | \r | |
4135253b | 2641 | ///\r |
af2dc6a7 | 2642 | /// Union of all the possible SMBIOS record types.\r |
4135253b | 2643 | ///\r |
61ce5861 | 2644 | typedef union {\r |
2645 | SMBIOS_STRUCTURE *Hdr;\r | |
2646 | SMBIOS_TABLE_TYPE0 *Type0;\r | |
2647 | SMBIOS_TABLE_TYPE1 *Type1;\r | |
2648 | SMBIOS_TABLE_TYPE2 *Type2;\r | |
2649 | SMBIOS_TABLE_TYPE3 *Type3;\r | |
2650 | SMBIOS_TABLE_TYPE4 *Type4;\r | |
2651 | SMBIOS_TABLE_TYPE5 *Type5;\r | |
2652 | SMBIOS_TABLE_TYPE6 *Type6;\r | |
2653 | SMBIOS_TABLE_TYPE7 *Type7;\r | |
2654 | SMBIOS_TABLE_TYPE8 *Type8;\r | |
2655 | SMBIOS_TABLE_TYPE9 *Type9;\r | |
2656 | SMBIOS_TABLE_TYPE10 *Type10;\r | |
2657 | SMBIOS_TABLE_TYPE11 *Type11;\r | |
2658 | SMBIOS_TABLE_TYPE12 *Type12;\r | |
2659 | SMBIOS_TABLE_TYPE13 *Type13;\r | |
2660 | SMBIOS_TABLE_TYPE14 *Type14;\r | |
2661 | SMBIOS_TABLE_TYPE15 *Type15;\r | |
2662 | SMBIOS_TABLE_TYPE16 *Type16;\r | |
2663 | SMBIOS_TABLE_TYPE17 *Type17;\r | |
2664 | SMBIOS_TABLE_TYPE18 *Type18;\r | |
2665 | SMBIOS_TABLE_TYPE19 *Type19;\r | |
2666 | SMBIOS_TABLE_TYPE20 *Type20;\r | |
2667 | SMBIOS_TABLE_TYPE21 *Type21;\r | |
2668 | SMBIOS_TABLE_TYPE22 *Type22;\r | |
2669 | SMBIOS_TABLE_TYPE23 *Type23;\r | |
2670 | SMBIOS_TABLE_TYPE24 *Type24;\r | |
2671 | SMBIOS_TABLE_TYPE25 *Type25;\r | |
2672 | SMBIOS_TABLE_TYPE26 *Type26;\r | |
2673 | SMBIOS_TABLE_TYPE27 *Type27;\r | |
2674 | SMBIOS_TABLE_TYPE28 *Type28;\r | |
2675 | SMBIOS_TABLE_TYPE29 *Type29;\r | |
2676 | SMBIOS_TABLE_TYPE30 *Type30;\r | |
2677 | SMBIOS_TABLE_TYPE31 *Type31;\r | |
2678 | SMBIOS_TABLE_TYPE32 *Type32;\r | |
2679 | SMBIOS_TABLE_TYPE33 *Type33;\r | |
2680 | SMBIOS_TABLE_TYPE34 *Type34;\r | |
2681 | SMBIOS_TABLE_TYPE35 *Type35;\r | |
2682 | SMBIOS_TABLE_TYPE36 *Type36;\r | |
2683 | SMBIOS_TABLE_TYPE37 *Type37;\r | |
2684 | SMBIOS_TABLE_TYPE38 *Type38;\r | |
2685 | SMBIOS_TABLE_TYPE39 *Type39;\r | |
2686 | SMBIOS_TABLE_TYPE40 *Type40;\r | |
2687 | SMBIOS_TABLE_TYPE41 *Type41;\r | |
884f9295 | 2688 | SMBIOS_TABLE_TYPE42 *Type42;\r |
713e4b00 | 2689 | SMBIOS_TABLE_TYPE43 *Type43;\r |
f06c92a6 | 2690 | SMBIOS_TABLE_TYPE44 *Type44;\r |
61ce5861 | 2691 | SMBIOS_TABLE_TYPE126 *Type126;\r |
2692 | SMBIOS_TABLE_TYPE127 *Type127;\r | |
2693 | UINT8 *Raw;\r | |
2694 | } SMBIOS_STRUCTURE_POINTER;\r | |
2695 | \r | |
766f4bc1 | 2696 | #pragma pack()\r |
2697 | \r | |
a7ed1e2e | 2698 | #endif\r |