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