2 Industry Standard Definitions of SMBIOS Table Specification v2.6
4 Copyright (c) 2006 - 2008, Intel Corporation All rights
5 reserved. This program and the accompanying materials are
6 licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __SMBIOS_STANDARD_H__
16 #define __SMBIOS_STANDARD_H__
18 /// Smbios Table Entry Point Structure
21 UINT8 AnchorString
[4];
22 UINT8 EntryPointStructureChecksum
;
23 UINT8 EntryPointLength
;
26 UINT16 MaxStructureSize
;
27 UINT8 EntryPointRevision
;
28 UINT8 FormattedArea
[5];
29 UINT8 IntermediateAnchorString
[5];
30 UINT8 IntermediateChecksum
;
33 UINT16 NumberOfSmbiosStructures
;
34 UINT8 SmbiosBcdRevision
;
35 } SMBIOS_TABLE_ENTRY_POINT
;
38 /// The Smbios structure header
46 typedef UINT8 SMBIOS_TABLE_STRING
;
50 /// BIOS Information (Type 0)
54 SMBIOS_TABLE_STRING Vendor
;
55 SMBIOS_TABLE_STRING BiosVersion
;
57 SMBIOS_TABLE_STRING BiosReleaseDate
;
59 UINT64 BiosCharacteristics
;
60 UINT8 BIOSCharacteristicsExtensionBytes
[2];
61 UINT8 SystemBiosMajorRelease
;
62 UINT8 SystemBiosMinorRelease
;
63 UINT8 EmbeddedControllerFirmwareMajorRelease
;
64 UINT8 EmbeddedControllerFirmwareMinorRelease
;
69 /// System Information (Type 1)
73 SMBIOS_TABLE_STRING Manufacturer
;
74 SMBIOS_TABLE_STRING ProductName
;
75 SMBIOS_TABLE_STRING Version
;
76 SMBIOS_TABLE_STRING SerialNumber
;
79 SMBIOS_TABLE_STRING SKUNumber
;
80 SMBIOS_TABLE_STRING Family
;
85 /// Base Board (or Module) Information (Type 2)
89 SMBIOS_TABLE_STRING Manufacturer
;
90 SMBIOS_TABLE_STRING ProductName
;
91 SMBIOS_TABLE_STRING Version
;
92 SMBIOS_TABLE_STRING SerialNumber
;
93 SMBIOS_TABLE_STRING AssetTag
;
95 SMBIOS_TABLE_STRING LocationInChassis
;
98 UINT8 NumberOfContainedObjectHandles
;
99 UINT16 ContainedObjectHandles
[1];
100 } SMBIOS_TABLE_TYPE2
;
104 UINT8 ContainedElementType
;
105 UINT8 ContainedElementMinimum
;
106 UINT8 ContainedElementMaximum
;
110 /// System Enclosure or Chassis (Type 3)
113 SMBIOS_STRUCTURE Hdr
;
114 SMBIOS_TABLE_STRING Manufacturer
;
116 SMBIOS_TABLE_STRING Version
;
117 SMBIOS_TABLE_STRING SerialNumber
;
118 SMBIOS_TABLE_STRING AssetTag
;
120 UINT8 PowerSupplyState
;
122 UINT8 SecurityStatus
;
125 UINT8 NumberofPowerCords
;
126 UINT8 ContainedElementCount
;
127 UINT8 ContainedElementRecordLength
;
128 CONTAINED_ELEMENT ContainedElements
[1];
129 } SMBIOS_TABLE_TYPE3
;
132 /// Processor Information (Type 4)
135 SMBIOS_STRUCTURE Hdr
;
138 UINT8 ProcessorFamily
;
139 SMBIOS_TABLE_STRING ProcessorManufacture
;
140 UINT8 ProcessorId
[8];
141 SMBIOS_TABLE_STRING ProcessorVersion
;
143 UINT16 ExternalClock
;
147 UINT8 ProcessorUpgrade
;
148 UINT16 L1CacheHandle
;
149 UINT16 L2CacheHandle
;
150 UINT16 L3CacheHandle
;
151 SMBIOS_TABLE_STRING SerialNumber
;
152 SMBIOS_TABLE_STRING AssetTag
;
153 SMBIOS_TABLE_STRING PartNumber
;
155 // Add for smbios 2.5
158 UINT8 EnabledCoreCount
;
160 UINT16 ProcessorCharacteristics
;
162 // Add for smbios 2.6
164 UINT16 ProcessorFamily2
;
165 } SMBIOS_TABLE_TYPE4
;
169 /// Memory Controller Information (Type 5, Obsolete)
172 SMBIOS_STRUCTURE Hdr
;
173 UINT8 ErrDetectMethod
;
174 UINT8 ErrCorrectCapability
;
175 UINT8 SupportInterleave
;
176 UINT8 CurrentInterleave
;
177 UINT8 MaxMemoryModuleSize
;
179 UINT16 SupportMemoryType
;
180 UINT8 MemoryModuleVoltage
;
181 UINT8 AssociatedMemorySlotNum
;
182 UINT16 MemoryModuleConfigHandles
[1];
183 } SMBIOS_TABLE_TYPE5
;
186 /// Memory Module Information (Type 6, Obsolete)
189 SMBIOS_STRUCTURE Hdr
;
190 SMBIOS_TABLE_STRING SocketDesignation
;
191 UINT8 BankConnections
;
193 UINT16 CurrentMemoryType
;
197 } SMBIOS_TABLE_TYPE6
;
200 /// Cache Information (Type 7)
203 SMBIOS_STRUCTURE Hdr
;
204 SMBIOS_TABLE_STRING SocketDesignation
;
205 UINT16 CacheConfiguration
;
206 UINT16 MaximumCacheSize
;
207 UINT16 InstalledSize
;
208 UINT16 SupportedSRAMType
;
209 UINT16 CurrentSRAMType
;
211 UINT8 ErrorCorrectionType
;
212 UINT8 SystemCacheType
;
214 } SMBIOS_TABLE_TYPE7
;
218 /// Port Connector Information (Type 8)
221 SMBIOS_STRUCTURE Hdr
;
222 SMBIOS_TABLE_STRING InternalReferenceDesignator
;
223 UINT8 InternalConnectorType
;
224 SMBIOS_TABLE_STRING ExternalReferenceDesignator
;
225 UINT8 ExternalConnectorType
;
227 } SMBIOS_TABLE_TYPE8
;
231 /// System Slots (Type 9)
234 SMBIOS_STRUCTURE Hdr
;
235 SMBIOS_TABLE_STRING SlotDesignation
;
237 UINT8 SlotDataBusWidth
;
241 UINT8 SlotCharacteristics1
;
242 UINT8 SlotCharacteristics2
;
244 // Add for smbios 2.6
246 UINT16 SegmentGroupNum
;
249 } SMBIOS_TABLE_TYPE9
;
254 SMBIOS_TABLE_STRING DescriptionString
;
258 /// On Board Devices Information (Type 10, obsolete)
261 SMBIOS_STRUCTURE Hdr
;
262 DEVICE_STRUCT Device
[1];
263 } SMBIOS_TABLE_TYPE10
;
266 /// OEM Strings (Type 11)
269 SMBIOS_STRUCTURE Hdr
;
271 } SMBIOS_TABLE_TYPE11
;
274 /// System Configuration Options (Type 12)
277 SMBIOS_STRUCTURE Hdr
;
279 } SMBIOS_TABLE_TYPE12
;
282 /// BIOS Language Information (Type 13)
285 SMBIOS_STRUCTURE Hdr
;
286 UINT8 InstallableLanguages
;
289 SMBIOS_TABLE_STRING CurrentLanguages
;
290 } SMBIOS_TABLE_TYPE13
;
299 /// Group Associations (Type 14)
302 SMBIOS_STRUCTURE Hdr
;
303 SMBIOS_TABLE_STRING GroupName
;
304 GROUP_STRUCT Group
[1];
305 } SMBIOS_TABLE_TYPE14
;
309 UINT8 DataFormatType
;
313 /// System Event Log (Type 15)
316 SMBIOS_STRUCTURE Hdr
;
317 UINT16 LogAreaLength
;
318 UINT16 LogHeaderStartOffset
;
319 UINT16 LogDataStartOffset
;
322 UINT32 LogChangeToken
;
323 UINT32 AccessMethodAddress
;
324 UINT8 LogHeaderFormat
;
325 UINT8 NumberOfSupportedLogTypeDescriptors
;
326 UINT8 LengthOfLogTypeDescriptor
;
327 EVENT_LOG_TYPE EventLogTypeDescriptors
[1];
328 } SMBIOS_TABLE_TYPE15
;
331 /// Physical Memory Array (Type 16)
334 SMBIOS_STRUCTURE Hdr
;
337 UINT8 MemoryErrorCorrection
;
338 UINT32 MaximumCapacity
;
339 UINT16 MemoryErrorInformationHandle
;
340 UINT16 NumberOfMemoryDevices
;
341 } SMBIOS_TABLE_TYPE16
;
344 /// Memory Device (Type 17)
347 SMBIOS_STRUCTURE Hdr
;
348 UINT16 MemoryArrayHandle
;
349 UINT16 MemoryErrorInformationHandle
;
355 SMBIOS_TABLE_STRING DeviceLocator
;
356 SMBIOS_TABLE_STRING BankLocator
;
360 SMBIOS_TABLE_STRING Manufacturer
;
361 SMBIOS_TABLE_STRING SerialNumber
;
362 SMBIOS_TABLE_STRING AssetTag
;
363 SMBIOS_TABLE_STRING PartNumber
;
365 // Add for smbios 2.6
368 } SMBIOS_TABLE_TYPE17
;
371 /// 32-bit Memory Error Information (Type 18)
374 SMBIOS_STRUCTURE Hdr
;
376 UINT8 ErrorGranularity
;
377 UINT8 ErrorOperation
;
378 UINT32 VendorSyndrome
;
379 UINT32 MemoryArrayErrorAddress
;
380 UINT32 DeviceErrorAddress
;
381 UINT32 ErrorResolution
;
382 } SMBIOS_TABLE_TYPE18
;
386 /// Memory Array Mapped Address (Type 19)
389 SMBIOS_STRUCTURE Hdr
;
390 UINT32 StartingAddress
;
391 UINT32 EndingAddress
;
392 UINT16 MemoryArrayHandle
;
393 UINT8 PartitionWidth
;
394 } SMBIOS_TABLE_TYPE19
;
397 /// Memory Device Mapped Address (Type 20)
400 SMBIOS_STRUCTURE Hdr
;
401 UINT32 StartingAddress
;
402 UINT32 EndingAddress
;
403 UINT16 MemoryDeviceHandle
;
404 UINT16 MemoryArrayMappedAddressHandle
;
405 UINT8 PartitionRowPosition
;
406 UINT8 InterleavePosition
;
407 UINT8 InterleavedDataDepth
;
408 } SMBIOS_TABLE_TYPE20
;
411 /// Built-in Pointing Device (Type 21)
414 SMBIOS_STRUCTURE Hdr
;
417 UINT8 NumberOfButtons
;
418 } SMBIOS_TABLE_TYPE21
;
422 /// Portable Battery (Type 22)
425 SMBIOS_STRUCTURE Hdr
;
426 SMBIOS_TABLE_STRING Location
;
427 SMBIOS_TABLE_STRING Manufacturer
;
428 SMBIOS_TABLE_STRING ManufactureDate
;
429 SMBIOS_TABLE_STRING SerialNumber
;
430 SMBIOS_TABLE_STRING DeviceName
;
431 UINT8 DeviceChemistry
;
432 UINT16 DeviceCapacity
;
433 UINT16 DesignVoltage
;
434 SMBIOS_TABLE_STRING SBDSVersionNumber
;
435 UINT8 MaximumErrorInBatteryData
;
436 UINT16 SBDSSerialNumber
;
437 UINT16 SBDSManufactureDate
;
438 SMBIOS_TABLE_STRING SBDSDeviceChemistry
;
439 UINT8 DesignCapacityMultiplier
;
441 } SMBIOS_TABLE_TYPE22
;
444 /// System Reset (Type 23)
447 SMBIOS_STRUCTURE Hdr
;
451 UINT16 TimerInterval
;
453 } SMBIOS_TABLE_TYPE23
;
457 /// Hardware Security (Type 24)
460 SMBIOS_STRUCTURE Hdr
;
461 UINT8 HardwareSecuritySettings
;
462 } SMBIOS_TABLE_TYPE24
;
465 /// System Power Controls (Type 25)
468 SMBIOS_STRUCTURE Hdr
;
469 UINT8 NextScheduledPowerOnMonth
;
470 UINT8 NextScheduledPowerOnDayOfMonth
;
471 UINT8 NextScheduledPowerOnHour
;
472 UINT8 NextScheduledPowerOnMinute
;
473 UINT8 NextScheduledPowerOnSecond
;
474 } SMBIOS_TABLE_TYPE25
;
477 /// Voltage Probe (Type 26)
480 SMBIOS_STRUCTURE Hdr
;
481 SMBIOS_TABLE_STRING Description
;
482 UINT8 LocationAndStatus
;
490 } SMBIOS_TABLE_TYPE26
;
493 /// Cooling Device (Type 27)
496 SMBIOS_STRUCTURE Hdr
;
497 UINT16 TemperatureProbeHandle
;
498 UINT8 DeviceTypeAndStatus
;
499 UINT8 CoolingUnitGroup
;
502 } SMBIOS_TABLE_TYPE27
;
505 /// Temperature Probe (Type 28)
508 SMBIOS_STRUCTURE Hdr
;
509 SMBIOS_TABLE_STRING Description
;
510 UINT8 LocationAndStatus
;
518 } SMBIOS_TABLE_TYPE28
;
521 /// Electrical Current Probe (Type 29)
524 SMBIOS_STRUCTURE Hdr
;
525 SMBIOS_TABLE_STRING Description
;
526 UINT8 LocationAndStatus
;
534 } SMBIOS_TABLE_TYPE29
;
537 /// Out-of-Band Remote Access (Type 30)
540 SMBIOS_STRUCTURE Hdr
;
541 SMBIOS_TABLE_STRING ManufacturerName
;
543 } SMBIOS_TABLE_TYPE30
;
546 /// Boot Integrity Services (BIS) Entry Point (Type 31)
549 SMBIOS_STRUCTURE Hdr
;
557 } SMBIOS_TABLE_TYPE31
;
560 /// System Boot Information (Type 32)
563 SMBIOS_STRUCTURE Hdr
;
566 } SMBIOS_TABLE_TYPE32
;
570 /// 64-bit Memory Error Information (Type 33)
573 SMBIOS_STRUCTURE Hdr
;
575 UINT8 ErrorGranularity
;
576 UINT8 ErrorOperation
;
577 UINT32 VendorSyndrome
;
578 UINT64 MemoryArrayErrorAddress
;
579 UINT64 DeviceErrorAddress
;
580 UINT32 ErrorResolution
;
581 } SMBIOS_TABLE_TYPE33
;
584 /// Management Device (Type 34)
587 SMBIOS_STRUCTURE Hdr
;
588 SMBIOS_TABLE_STRING Description
;
592 } SMBIOS_TABLE_TYPE34
;
595 /// Management Device Component (Type 35)
598 SMBIOS_STRUCTURE Hdr
;
599 SMBIOS_TABLE_STRING Description
;
600 UINT16 ManagementDeviceHandle
;
601 UINT16 ComponentHandle
;
602 UINT16 ThresholdHandle
;
603 } SMBIOS_TABLE_TYPE35
;
607 /// Management Device Threshold Data (Type 36)
610 SMBIOS_STRUCTURE Hdr
;
611 UINT16 LowerThresholdNonCritical
;
612 UINT16 UpperThresholdNonCritical
;
613 UINT16 LowerThresholdCritical
;
614 UINT16 UpperThresholdCritical
;
615 UINT16 LowerThresholdNonRecoverable
;
616 UINT16 UpperThresholdNonRecoverable
;
617 } SMBIOS_TABLE_TYPE36
;
626 /// Memory Channel (Type 37)
629 SMBIOS_STRUCTURE Hdr
;
631 UINT8 MaximumChannelLoad
;
632 UINT8 MemoryDeviceCount
;
633 MEMORY_DEVICE MemoryDevice
[1];
634 } SMBIOS_TABLE_TYPE37
;
638 /// IPMI Device Information (Type 38)
641 SMBIOS_STRUCTURE Hdr
;
643 UINT8 IPMISpecificationRevision
;
644 UINT8 I2CSlaveAddress
;
645 UINT8 NVStorageDeviceAddress
;
647 UINT8 BaseAddressModifier_InterruptInfo
;
648 UINT8 InterruptNumber
;
649 } SMBIOS_TABLE_TYPE38
;
652 /// System Power Supply (Type 39)
655 SMBIOS_STRUCTURE Hdr
;
656 UINT8 PowerUnitGroup
;
657 SMBIOS_TABLE_STRING Location
;
658 SMBIOS_TABLE_STRING DeviceName
;
659 SMBIOS_TABLE_STRING Manufacturer
;
660 SMBIOS_TABLE_STRING SerialNumber
;
661 SMBIOS_TABLE_STRING AssetTagNumber
;
662 SMBIOS_TABLE_STRING ModelPartNumber
;
663 SMBIOS_TABLE_STRING RevisionLevel
;
664 UINT16 MaxPowerCapacity
;
665 UINT16 PowerSupplyCharacteristics
;
666 UINT16 InputVoltageProbeHandle
;
667 UINT16 CoolingDeviceHandle
;
668 UINT16 InputCurrentProbeHandle
;
669 } SMBIOS_TABLE_TYPE39
;
674 UINT16 ReferencedHandle
;
675 UINT8 ReferencedOffset
;
676 SMBIOS_TABLE_STRING EntryString
;
678 }ADDITIONAL_INFORMATION_ENTRY
;
681 /// Additional Information (Type 40)
684 SMBIOS_STRUCTURE Hdr
;
685 UINT8 NumberOfAdditionalInformationEntries
;
686 ADDITIONAL_INFORMATION_ENTRY AdditionalInfoEntries
[1];
687 } SMBIOS_TABLE_TYPE40
;
690 /// Onboard Devices Extended Information (Type 41)
693 SMBIOS_STRUCTURE Hdr
;
694 SMBIOS_TABLE_STRING ReferenceDesignation
;
696 UINT8 DeviceTypeInstance
;
697 UINT16 SegmentGroupNum
;
700 } SMBIOS_TABLE_TYPE41
;
704 /// Inactive (Type 126)
707 SMBIOS_STRUCTURE Hdr
;
708 } SMBIOS_TABLE_TYPE126
;
711 /// End-of-Table (Type 127)
714 SMBIOS_STRUCTURE Hdr
;
715 } SMBIOS_TABLE_TYPE127
;
718 /// Union of all the possible SMBIOS record types
721 SMBIOS_STRUCTURE
*Hdr
;
722 SMBIOS_TABLE_TYPE0
*Type0
;
723 SMBIOS_TABLE_TYPE1
*Type1
;
724 SMBIOS_TABLE_TYPE2
*Type2
;
725 SMBIOS_TABLE_TYPE3
*Type3
;
726 SMBIOS_TABLE_TYPE4
*Type4
;
727 SMBIOS_TABLE_TYPE5
*Type5
;
728 SMBIOS_TABLE_TYPE6
*Type6
;
729 SMBIOS_TABLE_TYPE7
*Type7
;
730 SMBIOS_TABLE_TYPE8
*Type8
;
731 SMBIOS_TABLE_TYPE9
*Type9
;
732 SMBIOS_TABLE_TYPE10
*Type10
;
733 SMBIOS_TABLE_TYPE11
*Type11
;
734 SMBIOS_TABLE_TYPE12
*Type12
;
735 SMBIOS_TABLE_TYPE13
*Type13
;
736 SMBIOS_TABLE_TYPE14
*Type14
;
737 SMBIOS_TABLE_TYPE15
*Type15
;
738 SMBIOS_TABLE_TYPE16
*Type16
;
739 SMBIOS_TABLE_TYPE17
*Type17
;
740 SMBIOS_TABLE_TYPE18
*Type18
;
741 SMBIOS_TABLE_TYPE19
*Type19
;
742 SMBIOS_TABLE_TYPE20
*Type20
;
743 SMBIOS_TABLE_TYPE21
*Type21
;
744 SMBIOS_TABLE_TYPE22
*Type22
;
745 SMBIOS_TABLE_TYPE23
*Type23
;
746 SMBIOS_TABLE_TYPE24
*Type24
;
747 SMBIOS_TABLE_TYPE25
*Type25
;
748 SMBIOS_TABLE_TYPE26
*Type26
;
749 SMBIOS_TABLE_TYPE27
*Type27
;
750 SMBIOS_TABLE_TYPE28
*Type28
;
751 SMBIOS_TABLE_TYPE29
*Type29
;
752 SMBIOS_TABLE_TYPE30
*Type30
;
753 SMBIOS_TABLE_TYPE31
*Type31
;
754 SMBIOS_TABLE_TYPE32
*Type32
;
755 SMBIOS_TABLE_TYPE33
*Type33
;
756 SMBIOS_TABLE_TYPE34
*Type34
;
757 SMBIOS_TABLE_TYPE35
*Type35
;
758 SMBIOS_TABLE_TYPE36
*Type36
;
759 SMBIOS_TABLE_TYPE37
*Type37
;
760 SMBIOS_TABLE_TYPE38
*Type38
;
761 SMBIOS_TABLE_TYPE39
*Type39
;
762 SMBIOS_TABLE_TYPE40
*Type40
;
763 SMBIOS_TABLE_TYPE41
*Type41
;
764 SMBIOS_TABLE_TYPE126
*Type126
;
765 SMBIOS_TABLE_TYPE127
*Type127
;
767 } SMBIOS_STRUCTURE_POINTER
;