2 This file defines GUIDs and associated data structures for records posted to the Data Hub.
3 The producers of these records use these definitions to construct records.
4 The consumers of these records use these definitions to retrieve, filter and parse records.
6 Copyright (c) 2007, Intel Corporation
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 Module Name: DataHubRecords.h
17 @par Revision Reference:
18 DataHubRecord.h include all data hub sub class defitions from Cache subclass
19 spec 0.9, DataHub SubClass spec 0.9, Memory SubClass Spec 0.9, Processor
20 Subclass spec 0.9,Misc SubClass spec 0.9.
24 #ifndef _DATAHUB_RECORDS_H_
25 #define _DATAHUB_RECORDS_H_
28 #include <Protocol/DevicePath.h>
29 #include <Protocol/FrameworkHii.h>
31 #define EFI_PROCESSOR_SUBCLASS_VERSION 0x0100
35 typedef struct _USB_PORT_DEVICE_PATH
{
36 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
37 PCI_DEVICE_PATH PciBusDevicePath
;
38 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
39 } USB_PORT_DEVICE_PATH
;
44 typedef struct _IDE_DEVICE_PATH
{
45 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
46 PCI_DEVICE_PATH PciBusDevicePath
;
47 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
53 typedef struct _RMC_CONN_DEVICE_PATH
{
54 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
55 PCI_DEVICE_PATH PciBridgeDevicePath
;
56 PCI_DEVICE_PATH PciBusDevicePath
;
57 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
58 } RMC_CONN_DEVICE_PATH
;
63 typedef struct _RIDE_DEVICE_PATH
{
64 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
65 PCI_DEVICE_PATH PciBridgeDevicePath
;
66 PCI_DEVICE_PATH PciBusDevicePath
;
67 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
73 typedef struct _GB_NIC_DEVICE_PATH
{
74 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
75 PCI_DEVICE_PATH PciBridgeDevicePath
;
76 PCI_DEVICE_PATH PciXBridgeDevicePath
;
77 PCI_DEVICE_PATH PciXBusDevicePath
;
78 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
84 typedef struct _PS2_CONN_DEVICE_PATH
{
85 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
86 PCI_DEVICE_PATH LpcBridgeDevicePath
;
87 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
88 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
89 } PS2_CONN_DEVICE_PATH
;
92 // Serial Port Connector
94 typedef struct _SERIAL_CONN_DEVICE_PATH
{
95 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
96 PCI_DEVICE_PATH LpcBridgeDevicePath
;
97 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
98 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
99 } SERIAL_CONN_DEVICE_PATH
;
102 // Parallel Port Connector
104 typedef struct _PARALLEL_CONN_DEVICE_PATH
{
105 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
106 PCI_DEVICE_PATH LpcBridgeDevicePath
;
107 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
108 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
109 } PARALLEL_CONN_DEVICE_PATH
;
114 typedef struct _FLOOPY_CONN_DEVICE_PATH
{
115 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
116 PCI_DEVICE_PATH LpcBridgeDevicePath
;
117 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
118 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
119 } FLOOPY_CONN_DEVICE_PATH
;
122 /// Inconsistent with specification here:
123 /// In MiscSubclass spec0.9, this data structure and corrsponding fields are NOT defined.
124 /// It's implementation-specific to simplify the code logic.
126 typedef union _EFI_MISC_PORT_DEVICE_PATH
{
127 USB_PORT_DEVICE_PATH UsbDevicePath
;
128 IDE_DEVICE_PATH IdeDevicePath
;
129 RMC_CONN_DEVICE_PATH RmcConnDevicePath
;
130 RIDE_DEVICE_PATH RideDevicePath
;
131 GB_NIC_DEVICE_PATH GbNicDevicePath
;
132 PS2_CONN_DEVICE_PATH Ps2ConnDevicePath
;
133 SERIAL_CONN_DEVICE_PATH SerialConnDevicePath
;
134 PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath
;
135 FLOOPY_CONN_DEVICE_PATH FloppyConnDevicePath
;
136 } EFI_MISC_PORT_DEVICE_PATH
;
140 /// Each data record that is a member of some subclass starts with a standard
141 /// header of type EFI_SUBCLASS_TYPE1_HEADER.
142 /// This header is only a guideline and applicable only to a data
143 /// subclass that is producing SMBIOS data records. A subclass can start with a
144 /// different header if needed.
148 /// The version of the specification to which a specific subclass data record adheres.
152 /// The size in bytes of this data class header.
156 /// The instance number of the subclass with the same ProducerName. This number is
157 /// applicable in cases where multiple subclass instances that were produced by the same
158 /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not
159 /// Applicable. All data consumer drivers should be able to handle all the possible values
160 /// of Instance, including Not Applicable and Reserved.
164 /// The instance number of the RecordType for the same Instance. This number is
165 /// applicable in cases where multiple instances of the RecordType exist for a specific
166 /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.
167 /// All data consumer drivers should be able to handle all the possible values of
168 /// SubInstance, including Not Applicable and Reserved.
172 /// The record number for the data record being specified. The numbering scheme and
173 /// definition is defined in the specific subclass specification.
176 } EFI_SUBCLASS_TYPE1_HEADER
;
179 /// This structure is used to link data records in the same subclasses. A data record is
180 /// defined as a link to another data record in the same subclass using this structure.
184 /// An EFI_GUID that identifies the component that produced this data record. Type
185 /// EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
187 EFI_GUID ProducerName
;
189 /// The instance number of the subclass with the same ProducerName. This number is
190 /// applicable in cases where multiple subclass instances that were produced by the same
191 /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not
192 /// Applicable. All data consumer drivers should be able to handle all the possible values
193 /// of Instance, including Not Applicable and Reserved.
196 /// The instance number of the RecordType for the same Instance. This number is
197 /// applicable in cases where multiple instances of the RecordType exist for a specific
198 /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.
199 /// All data consumer drivers should be able to handle all the possible values of
200 /// SubInstance, including Not Applicable and Reserved.
202 } EFI_INTER_LINK_DATA
;
208 /// This macro provides a calculation for base-10 representations. Value and Exponent are each
209 /// INT16. It is signed to cover negative values and is 16 bits wide (15 bits for data and 1 bit
214 /// The INT16 number by which to multiply the base-10 representation.
218 /// The INT16 number by which to raise the base-10 calculation.
221 } EFI_EXP_BASE2_DATA
;
224 /// This macro provides a calculation for base-2 representations. Value and Exponent are each
225 /// INT16. It is 16 bits wide and is unsigned to mean nonnegative values.
229 /// The INT16 number by which to multiply the base-2 representation.
233 /// The INT16 number by which to raise the base-2 calculation.
236 } EFI_EXP_BASE10_DATA
;
238 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA
;
239 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA
;
240 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_CORE_FREQUENCY_DATA
;
243 /// This data record refers to the list of frequencies that the processor core supports. The list of
244 /// supported frequencies is determined by the firmware based on hardware capabilities--for example,
245 /// it could be a common subset of all processors and the chipset. The unit of measurement of this data
246 /// record is in Hertz. For asynchronous processors, the content of this data record is zero.
247 /// The list is terminated by -1 in the Value field of the last element. A Value field of zero means
248 /// that the processor/driver supports automatic frequency selection.
250 typedef EFI_EXP_BASE10_DATA
*EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA
;
253 /// This data record refers to the list of supported frequencies of the processor external bus. The list of
254 /// supported frequencies is determined by the firmware based on hardware capabilities--for example,
255 /// it could be a common subset of all processors and the chipset. The unit of measurement of this data
256 /// record is in Hertz. For asynchronous processors, the content of this data record is NULL.
257 /// The list is terminated by -1 in the Value field of the last element. A Value field of zero means
258 /// that the processor/driver supports automatic frequency selection.
260 typedef EFI_EXP_BASE10_DATA
*EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA
;
261 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_FSB_FREQUENCY_DATA
;
262 typedef STRING_REF EFI_PROCESSOR_VERSION_DATA
;
263 typedef STRING_REF EFI_PROCESSOR_MANUFACTURER_DATA
;
264 typedef STRING_REF EFI_PROCESSOR_SERIAL_NUMBER_DATA
;
265 typedef STRING_REF EFI_PROCESSOR_ASSET_TAG_DATA
;
268 UINT32 ProcessorSteppingId
:4;
269 UINT32 ProcessorModel
: 4;
270 UINT32 ProcessorFamily
: 4;
271 UINT32 ProcessorType
: 2;
272 UINT32 ProcessorReserved1
: 2;
273 UINT32 ProcessorXModel
: 4;
274 UINT32 ProcessorXFamily
: 8;
275 UINT32 ProcessorReserved2
: 4;
276 } EFI_PROCESSOR_SIGNATURE
;
279 UINT32 ProcessorBrandIndex
:8;
280 UINT32 ProcessorClflush
:8;
281 UINT32 LogicalProcessorCount
:8;
282 UINT32 ProcessorDfltApicId
:8;
283 } EFI_PROCESSOR_MISC_INFO
;
286 UINT32 ProcessorFpu
: 1;
287 UINT32 ProcessorVme
: 1;
288 UINT32 ProcessorDe
: 1;
289 UINT32 ProcessorPse
: 1;
290 UINT32 ProcessorTsc
: 1;
291 UINT32 ProcessorMsr
: 1;
292 UINT32 ProcessorPae
: 1;
293 UINT32 ProcessorMce
: 1;
294 UINT32 ProcessorCx8
: 1;
295 UINT32 ProcessorApic
: 1;
296 UINT32 ProcessorReserved1
: 1;
297 UINT32 ProcessorSep
: 1;
298 UINT32 ProcessorMtrr
: 1;
299 UINT32 ProcessorPge
: 1;
300 UINT32 ProcessorMca
: 1;
301 UINT32 ProcessorCmov
: 1;
302 UINT32 ProcessorPat
: 1;
303 UINT32 ProcessorPse36
: 1;
304 UINT32 ProcessorPsn
: 1;
305 UINT32 ProcessorClfsh
: 1;
306 UINT32 ProcessorReserved2
: 1;
307 UINT32 ProcessorDs
: 1;
308 UINT32 ProcessorAcpi
: 1;
309 UINT32 ProcessorMmx
: 1;
310 UINT32 ProcessorFxsr
: 1;
311 UINT32 ProcessorSse
: 1;
312 UINT32 ProcessorSse2
: 1;
313 UINT32 ProcessorSs
: 1;
314 UINT32 ProcessorReserved3
: 1;
315 UINT32 ProcessorTm
: 1;
316 UINT32 ProcessorReserved4
: 2;
317 } EFI_PROCESSOR_FEATURE_FLAGS
;
320 /// This data record refers to the unique ID that identifies a set of processors. This data record is 16
321 /// bytes in length. The data in this structure is processor specific and reserved values can be defined
322 /// for future use. The consumer of this data should not make any assumption and should use this data
323 /// with respect to the processor family defined in the Family record number.
327 /// Identifies the processor.
329 EFI_PROCESSOR_SIGNATURE Signature
;
331 /// Provides additional processor information.
333 EFI_PROCESSOR_MISC_INFO MiscInfo
;
335 /// Reserved for future use.
339 /// Provides additional processor information.
341 EFI_PROCESSOR_FEATURE_FLAGS FeatureFlags
;
342 } EFI_PROCESSOR_ID_DATA
;
345 /// This data record refers to the general classification of the processor. This data record is 4 bytes in
349 EfiProcessorOther
= 1,
350 EfiProcessorUnknown
= 2,
351 EfiCentralProcessor
= 3,
352 EfiMathProcessor
= 4,
354 EfiVideoProcessor
= 6
355 } EFI_PROCESSOR_TYPE_DATA
;
358 /// This data record refers to the family of the processor as defined by the DMTF.
359 /// This data record is 4 bytes in length.
362 EfiProcessorFamilyOther
= 0x01,
363 EfiProcessorFamilyUnknown
= 0x02,
364 EfiProcessorFamily8086
= 0x03,
365 EfiProcessorFamily80286
= 0x04,
366 EfiProcessorFamilyIntel386
= 0x05,
367 EfiProcessorFamilyIntel486
= 0x06,
368 EfiProcessorFamily8087
= 0x07,
369 EfiProcessorFamily80287
= 0x08,
370 EfiProcessorFamily80387
= 0x09,
371 EfiProcessorFamily80487
= 0x0A,
372 EfiProcessorFamilyPentium
= 0x0B,
373 EfiProcessorFamilyPentiumPro
= 0x0C,
374 EfiProcessorFamilyPentiumII
= 0x0D,
375 EfiProcessorFamilyPentiumMMX
= 0x0E,
376 EfiProcessorFamilyCeleron
= 0x0F,
377 EfiProcessorFamilyPentiumIIXeon
= 0x10,
378 EfiProcessorFamilyPentiumIII
= 0x11,
379 EfiProcessorFamilyM1
= 0x12,
380 EfiProcessorFamilyM2
= 0x13,
381 EfiProcessorFamilyM1Reserved2
= 0x14,
382 EfiProcessorFamilyM1Reserved3
= 0x15,
383 EfiProcessorFamilyM1Reserved4
= 0x16,
384 EfiProcessorFamilyM1Reserved5
= 0x17,
385 EfiProcessorFamilyAmdDuron
= 0x18,
386 EfiProcessorFamilyK5
= 0x19,
387 EfiProcessorFamilyK6
= 0x1A,
388 EfiProcessorFamilyK6_2
= 0x1B,
389 EfiProcessorFamilyK6_3
= 0x1C,
390 EfiProcessorFamilyAmdAthlon
= 0x1D,
391 EfiProcessorFamilyAmd29000
= 0x1E,
392 EfiProcessorFamilyK6_2Plus
= 0x1F,
393 EfiProcessorFamilyPowerPC
= 0x20,
394 EfiProcessorFamilyPowerPC601
= 0x21,
395 EfiProcessorFamilyPowerPC603
= 0x22,
396 EfiProcessorFamilyPowerPC603Plus
= 0x23,
397 EfiProcessorFamilyPowerPC604
= 0x24,
398 EfiProcessorFamilyPowerPC620
= 0x25,
399 EfiProcessorFamilyPowerPCx704
= 0x26,
400 EfiProcessorFamilyPowerPC750
= 0x27,
401 EfiProcessorFamilyAlpha3
= 0x30,
402 EfiProcessorFamilyAlpha21064
= 0x31,
403 EfiProcessorFamilyAlpha21066
= 0x32,
404 EfiProcessorFamilyAlpha21164
= 0x33,
405 EfiProcessorFamilyAlpha21164PC
= 0x34,
406 EfiProcessorFamilyAlpha21164a
= 0x35,
407 EfiProcessorFamilyAlpha21264
= 0x36,
408 EfiProcessorFamilyAlpha21364
= 0x37,
409 EfiProcessorFamilyMips
= 0x40,
410 EfiProcessorFamilyMIPSR4000
= 0x41,
411 EfiProcessorFamilyMIPSR4200
= 0x42,
412 EfiProcessorFamilyMIPSR4400
= 0x43,
413 EfiProcessorFamilyMIPSR4600
= 0x44,
414 EfiProcessorFamilyMIPSR10000
= 0x45,
415 EfiProcessorFamilySparc
= 0x50,
416 EfiProcessorFamilySuperSparc
= 0x51,
417 EfiProcessorFamilymicroSparcII
= 0x52,
418 EfiProcessorFamilymicroSparcIIep
= 0x53,
419 EfiProcessorFamilyUltraSparc
= 0x54,
420 EfiProcessorFamilyUltraSparcII
= 0x55,
421 EfiProcessorFamilyUltraSparcIIi
= 0x56,
422 EfiProcessorFamilyUltraSparcIII
= 0x57,
424 /// Inconsistent with specification here:
425 /// This field in ProcSubClass spec0.9 is defined as EfiProcessorFamilyUltraSparcIIi, it's a typo.
427 EfiProcessorFamilyUltraSparcIIIi
= 0x58,
428 EfiProcessorFamily68040
= 0x60,
429 EfiProcessorFamily68xxx
= 0x61,
430 EfiProcessorFamily68000
= 0x62,
431 EfiProcessorFamily68010
= 0x63,
432 EfiProcessorFamily68020
= 0x64,
433 EfiProcessorFamily68030
= 0x65,
434 EfiProcessorFamilyHobbit
= 0x70,
435 EfiProcessorFamilyCrusoeTM5000
= 0x78,
436 EfiProcessorFamilyCrusoeTM3000
= 0x79,
437 EfiProcessorFamilyEfficeonTM8000
= 0x7A,
438 EfiProcessorFamilyWeitek
= 0x80,
439 EfiProcessorFamilyItanium
= 0x82,
440 EfiProcessorFamilyAmdAthlon64
= 0x83,
441 EfiProcessorFamilyAmdOpteron
= 0x84,
442 EfiProcessorFamilyAmdSempron
= 0x85,
443 EfiProcessorFamilyAmdTurion64Mobile
= 0x86,
444 EfiProcessorFamilyDualCoreAmdOpteron
= 0x87,
445 EfiProcessorFamilyAmdAthlon64X2DualCore
= 0x88,
446 EfiProcessorFamilyAmdTurion64X2Mobile
= 0x89,
447 EfiProcessorFamilyPARISC
= 0x90,
448 EfiProcessorFamilyPaRisc8500
= 0x91,
449 EfiProcessorFamilyPaRisc8000
= 0x92,
450 EfiProcessorFamilyPaRisc7300LC
= 0x93,
451 EfiProcessorFamilyPaRisc7200
= 0x94,
452 EfiProcessorFamilyPaRisc7100LC
= 0x95,
453 EfiProcessorFamilyPaRisc7100
= 0x96,
454 EfiProcessorFamilyV30
= 0xA0,
455 EfiProcessorFamilyPentiumIIIXeon
= 0xB0,
456 EfiProcessorFamilyPentiumIIISpeedStep
= 0xB1,
457 EfiProcessorFamilyPentium4
= 0xB2,
458 EfiProcessorFamilyIntelXeon
= 0xB3,
459 EfiProcessorFamilyAS400
= 0xB4,
460 EfiProcessorFamilyIntelXeonMP
= 0xB5,
461 EfiProcessorFamilyAMDAthlonXP
= 0xB6,
462 EfiProcessorFamilyAMDAthlonMP
= 0xB7,
463 EfiProcessorFamilyIntelItanium2
= 0xB8,
465 /// Inconsistent with specification here:
466 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
468 EfiProcessorFamilyIntelPentiumM
= 0xB9,
470 /// Inconsistent with specification here:
471 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
473 EfiProcessorFamilyIntelCeleronD
= 0xBA,
475 /// Inconsistent with specification here:
476 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
478 EfiProcessorFamilyIntelPentiumD
= 0xBB,
480 /// Inconsistent with specification here:
481 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
483 EfiProcessorFamilyIntelPentiumEx
= 0xBC,
485 /// Inconsistent with specification here:
486 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
488 EfiProcessorFamilyIntelCoreSolo
= 0xBD,
490 /// Inconsistent with specification here:
491 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
493 EfiProcessorFamilyReserved
= 0xBE,
495 /// Inconsistent with specification here:
496 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
498 EfiProcessorFamilyIntelCore2
= 0xBF,
499 EfiProcessorFamilyIBM390
= 0xC8,
500 EfiProcessorFamilyG4
= 0xC9,
501 EfiProcessorFamilyG5
= 0xCA,
503 /// Inconsistent with specification here:
504 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
506 EfiProcessorFamilyG6
= 0xCB,
508 /// Inconsistent with specification here:
509 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
511 EfiProcessorFamilyzArchitectur
= 0xCC,
513 /// Inconsistent with specification here:
514 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
516 EfiProcessorFamilyViaC7M
= 0xD2,
518 /// Inconsistent with specification here:
519 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
521 EfiProcessorFamilyViaC7D
= 0xD3,
523 /// Inconsistent with specification here:
524 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
526 EfiProcessorFamilyViaC7
= 0xD4,
528 /// Inconsistent with specification here:
529 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
531 EfiProcessorFamilyViaEden
= 0xD5,
532 EfiProcessorFamilyi860
= 0xFA,
533 EfiProcessorFamilyi960
= 0xFB,
535 /// Inconsistent with specification here:
536 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
538 EfiProcessorFamilyIndicatorFamily2
= 0xFE,
540 /// Inconsistent with specification here:
541 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
543 EfiProcessorFamilyReserved1
= 0xFF
544 } EFI_PROCESSOR_FAMILY_DATA
;
547 /// This data record refers to the core voltage of the processor being defined. The unit of measurement
548 /// of this data record is in volts.
550 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_VOLTAGE_DATA
;
553 /// This data record refers to the base address of the APIC of the processor being defined. This data
554 /// record is a physical address location.
556 typedef EFI_PHYSICAL_ADDRESS EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA
;
559 /// This data record refers to the ID of the APIC of the processor being defined. This data record is a
562 typedef UINT32 EFI_PROCESSOR_APIC_ID_DATA
;
565 /// This data record refers to the version number of the APIC of the processor being defined. This data
566 /// record is a 4-byte entry.
568 typedef UINT32 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA
;
571 EfiProcessorIa32Microcode
= 1,
572 EfiProcessorIpfPalAMicrocode
= 2,
573 EfiProcessorIpfPalBMicrocode
= 3
574 } EFI_PROCESSOR_MICROCODE_TYPE
;
577 /// This data record refers to the revision of the processor microcode that is loaded in the processor.
578 /// This data record is a 4-byte entry.
582 /// Identifies what type of microcode the data is.
584 EFI_PROCESSOR_MICROCODE_TYPE ProcessorMicrocodeType
;
586 /// Indicates the revision number of this microcode.
588 UINT32 ProcessorMicrocodeRevisionNumber
;
589 } EFI_PROCESSOR_MICROCODE_REVISION_DATA
;
592 /// This data record refers to the status of the processor.
595 UINT32 CpuStatus
:3; ///> Indicates the status of the processor.
596 UINT32 Reserved1
:3; ///> Reserved for future use. Should be set to zero.
597 UINT32 SocketPopulated
:1; ///> Indicates if the processor is socketed or not.
598 UINT32 Reserved2
:1; ///> Reserved for future use. Should be set to zero.
599 UINT32 ApicEnable
:1; ///> Indicates if the APIC is enabled or not.
600 UINT32 BootApplicationProcessor
:1; ///> Indicates if this processor is the boot processor.
601 UINT32 Reserved3
:22;///> Reserved for future use. Should be set to zero.
602 } EFI_PROCESSOR_STATUS_DATA
;
605 EfiCpuStatusUnknown
= 0,
606 EfiCpuStatusEnabled
= 1,
607 EfiCpuStatusDisabledByUser
= 2,
608 EfiCpuStatusDisabledbyBios
= 3,
609 EfiCpuStatusIdle
= 4,
610 EfiCpuStatusOther
= 7
614 EfiProcessorSocketOther
= 1,
615 EfiProcessorSocketUnknown
= 2,
616 EfiProcessorSocketDaughterBoard
= 3,
617 EfiProcessorSocketZIF
= 4,
618 EfiProcessorSocketReplacePiggyBack
= 5,
619 EfiProcessorSocketNone
= 6,
620 EfiProcessorSocketLIF
= 7,
621 EfiProcessorSocketSlot1
= 8,
622 EfiProcessorSocketSlot2
= 9,
623 EfiProcessorSocket370Pin
= 0xA,
624 EfiProcessorSocketSlotA
= 0xB,
625 EfiProcessorSocketSlotM
= 0xC,
626 EfiProcessorSocket423
= 0xD,
627 EfiProcessorSocketA462
= 0xE,
628 EfiProcessorSocket478
= 0xF,
629 EfiProcessorSocket754
= 0x10,
630 EfiProcessorSocket940
= 0x11,
632 /// Inconsistent with specification here:
633 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
635 EfiProcessorSocket939
= 0x12,
637 /// Inconsistent with specification here:
638 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
640 EfiProcessorSocketmPGA604
= 0x13,
642 /// Inconsistent with specification here:
643 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
645 EfiProcessorSocketLGA771
= 0x14,
647 /// Inconsistent with specification here:
648 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
650 EfiProcessorSocketLGA775
= 0x15
652 } EFI_PROCESSOR_SOCKET_TYPE_DATA
;
654 typedef STRING_REF EFI_PROCESSOR_SOCKET_NAME_DATA
;
655 typedef EFI_INTER_LINK_DATA EFI_PROCESSOR_CACHE_ASSOCIATION_DATA
;
658 /// This data record refers to the health status of the processor.
661 EfiProcessorHealthy
= 1,
662 EfiProcessorPerfRestricted
= 2,
663 EfiProcessorFuncRestricted
= 3
664 } EFI_PROCESSOR_HEALTH_STATUS_DATA
;
667 /// This data record refers to the package number of this processor. Multiple logical processors can
668 /// exist in a system and each logical processor can be correlated to the physical processor using this
671 typedef UINTN EFI_PROCESSOR_PACKAGE_NUMBER_DATA
;
674 ProcessorCoreFrequencyRecordType
= 1,
675 ProcessorFsbFrequencyRecordType
= 2,
676 ProcessorVersionRecordType
= 3,
677 ProcessorManufacturerRecordType
= 4,
678 ProcessorSerialNumberRecordType
= 5,
679 ProcessorIdRecordType
= 6,
680 ProcessorTypeRecordType
= 7,
681 ProcessorFamilyRecordType
= 8,
682 ProcessorVoltageRecordType
= 9,
683 ProcessorApicBaseAddressRecordType
= 10,
684 ProcessorApicIdRecordType
= 11,
685 ProcessorApicVersionNumberRecordType
= 12,
686 CpuUcodeRevisionDataRecordType
= 13,
687 ProcessorStatusRecordType
= 14,
688 ProcessorSocketTypeRecordType
= 15,
689 ProcessorSocketNameRecordType
= 16,
690 CacheAssociationRecordType
= 17,
691 ProcessorMaxCoreFrequencyRecordType
= 18,
692 ProcessorAssetTagRecordType
= 19,
693 ProcessorMaxFsbFrequencyRecordType
= 20,
694 ProcessorPackageNumberRecordType
= 21,
695 ProcessorCoreFrequencyListRecordType
= 22,
696 ProcessorFsbFrequencyListRecordType
= 23,
697 ProcessorHealthStatusRecordType
= 24
698 } EFI_CPU_VARIABLE_RECORD_TYPE
;
701 EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA ProcessorCoreFrequencyList
;
702 EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA ProcessorFsbFrequencyList
;
703 EFI_PROCESSOR_SERIAL_NUMBER_DATA ProcessorSerialNumber
;
704 EFI_PROCESSOR_CORE_FREQUENCY_DATA ProcessorCoreFrequency
;
705 EFI_PROCESSOR_FSB_FREQUENCY_DATA ProcessorFsbFrequency
;
706 EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA ProcessorMaxCoreFrequency
;
707 EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA ProcessorMaxFsbFrequency
;
708 EFI_PROCESSOR_VERSION_DATA ProcessorVersion
;
709 EFI_PROCESSOR_MANUFACTURER_DATA ProcessorManufacturer
;
710 EFI_PROCESSOR_ID_DATA ProcessorId
;
711 EFI_PROCESSOR_TYPE_DATA ProcessorType
;
712 EFI_PROCESSOR_FAMILY_DATA ProcessorFamily
;
713 EFI_PROCESSOR_VOLTAGE_DATA ProcessorVoltage
;
714 EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA ProcessorApicBase
;
715 EFI_PROCESSOR_APIC_ID_DATA ProcessorApicId
;
716 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA ProcessorApicVersionNumber
;
717 EFI_PROCESSOR_MICROCODE_REVISION_DATA CpuUcodeRevisionData
;
718 EFI_PROCESSOR_STATUS_DATA ProcessorStatus
;
719 EFI_PROCESSOR_SOCKET_TYPE_DATA ProcessorSocketType
;
720 EFI_PROCESSOR_SOCKET_NAME_DATA ProcessorSocketName
;
721 EFI_PROCESSOR_ASSET_TAG_DATA ProcessorAssetTag
;
722 EFI_PROCESSOR_HEALTH_STATUS_DATA ProcessorHealthStatus
;
723 EFI_PROCESSOR_PACKAGE_NUMBER_DATA ProcessorPackageNumber
;
724 } EFI_CPU_VARIABLE_RECORD
;
727 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader
;
728 EFI_CPU_VARIABLE_RECORD VariableRecord
;
729 } EFI_CPU_DATA_RECORD
;
731 #define EFI_CACHE_SUBCLASS_VERSION 0x00010000
733 typedef EFI_EXP_BASE2_DATA EFI_CACHE_SIZE_DATA
;
734 typedef EFI_EXP_BASE2_DATA EFI_MAXIMUM_CACHE_SIZE_DATA
;
735 typedef EFI_EXP_BASE10_DATA EFI_CACHE_SPEED_DATA
;
736 typedef STRING_REF EFI_CACHE_SOCKET_DATA
;
743 UINT32 PipelineBurst
:1;
744 UINT32 Asynchronous
:1;
745 UINT32 Synchronous
:1;
747 } EFI_CACHE_SRAM_TYPE_DATA
;
749 typedef EFI_CACHE_SRAM_TYPE_DATA EFI_CACHE_SRAM_INSTALL_DATA
;
752 EfiCacheErrorOther
= 1,
753 EfiCacheErrorUnknown
= 2,
754 EfiCacheErrorNone
= 3,
755 EfiCacheErrorParity
= 4,
756 EfiCacheErrorSingleBit
= 5,
757 EfiCacheErrorMultiBit
= 6
758 } EFI_CACHE_ERROR_TYPE_DATA
;
761 EfiCacheTypeOther
= 1,
762 EfiCacheTypeUnknown
= 2,
763 EfiCacheTypeInstruction
= 3,
764 EfiCacheTypeData
= 4,
765 EfiCacheTypeUnified
= 5
766 } EFI_CACHE_TYPE_DATA
;
769 EfiCacheAssociativityOther
= 1,
770 EfiCacheAssociativityUnknown
= 2,
771 EfiCacheAssociativityDirectMapped
= 3,
772 EfiCacheAssociativity2Way
= 4,
773 EfiCacheAssociativity4Way
= 5,
774 EfiCacheAssociativityFully
= 6,
775 EfiCacheAssociativity8Way
= 7,
776 EfiCacheAssociativity16Way
= 8
777 } EFI_CACHE_ASSOCIATIVITY_DATA
;
785 UINT32 OperationalMode
:2;
786 UINT32 Reserved1
:22;
787 } EFI_CACHE_CONFIGURATION_DATA
;
789 #define EFI_CACHE_L1 1
790 #define EFI_CACHE_L2 2
791 #define EFI_CACHE_L3 3
792 #define EFI_CACHE_L4 4
793 #define EFI_CACHE_LMAX EFI_CACHE_L4
795 #define EFI_CACHE_SOCKETED 1
796 #define EFI_CACHE_NOT_SOCKETED 0
799 EfiCacheInternal
= 0,
800 EfiCacheExternal
= 1,
801 EfiCacheReserved
= 2,
803 } EFI_CACHE_LOCATION
;
805 #define EFI_CACHE_ENABLED 1
806 #define EFI_CACHE_DISABLED 0
809 EfiCacheWriteThrough
= 0,
810 EfiCacheWriteBack
= 1,
811 EfiCacheDynamicMode
= 2,
812 EfiCacheUnknownMode
= 3
813 } EFI_CACHE_OPERATIONAL_MODE
;
818 CacheSizeRecordType
= 1,
819 MaximumSizeCacheRecordType
= 2,
820 CacheSpeedRecordType
= 3,
821 CacheSocketRecordType
= 4,
822 CacheSramTypeRecordType
= 5,
823 CacheInstalledSramTypeRecordType
= 6,
824 CacheErrorTypeRecordType
= 7,
825 CacheTypeRecordType
= 8,
826 CacheAssociativityRecordType
= 9,
827 CacheConfigRecordType
= 10
828 } EFI_CACHE_VARIABLE_RECORD_TYPE
;
832 EFI_CACHE_SIZE_DATA CacheSize
;
833 EFI_MAXIMUM_CACHE_SIZE_DATA MaximumCacheSize
;
834 EFI_CACHE_SPEED_DATA CacheSpeed
;
835 EFI_CACHE_SOCKET_DATA CacheSocket
;
836 EFI_CACHE_SRAM_TYPE_DATA CacheSramType
;
837 EFI_CACHE_SRAM_TYPE_DATA CacheInstalledSramType
;
838 EFI_CACHE_ERROR_TYPE_DATA CacheErrorType
;
839 EFI_CACHE_TYPE_DATA CacheType
;
840 EFI_CACHE_ASSOCIATIVITY_DATA CacheAssociativity
;
841 EFI_CACHE_CONFIGURATION_DATA CacheConfig
;
842 EFI_PROCESSOR_CACHE_ASSOCIATION_DATA CacheAssociation
;
843 } EFI_CACHE_VARIABLE_RECORD
;
846 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader
;
847 EFI_CACHE_VARIABLE_RECORD VariableRecord
;
848 } EFI_CACHE_DATA_RECORD
;
850 #define EFI_MEMORY_SUBCLASS_VERSION 0x0100
851 #define EFI_MEMORY_SIZE_RECORD_NUMBER 0x00000001
853 typedef enum _EFI_MEMORY_REGION_TYPE
{
854 EfiMemoryRegionMemory
= 0x01,
855 EfiMemoryRegionReserved
= 0x02,
856 EfiMemoryRegionAcpi
= 0x03,
857 EfiMemoryRegionNvs
= 0x04
858 } EFI_MEMORY_REGION_TYPE
;
861 /// This data record refers to the size of a memory region. The regions that are
862 /// described can refer to physical memory, memory-mapped I/O, or reserved BIOS memory regions.
863 /// The unit of measurement of this data record is in bytes.
867 /// A zero-based value that indicates which processor(s) can access the memory region.
868 /// A value of 0xFFFF indicates the region is accessible by all processors.
870 UINT32 ProcessorNumber
;
872 /// A zero-based value that indicates the starting bus that can access the memory region.
874 UINT16 StartBusNumber
;
876 /// A zero-based value that indicates the ending bus that can access the memory region.
877 /// A value of 0xFF for a PCI system indicates the region is accessible by all buses and
878 /// is global in scope. An example of the EndBusNumber not being 0xFF is a system
879 /// with two or more peer-to-host PCI bridges.
883 /// The type of memory region from the operating system's point of view.
884 /// MemoryRegionType values are equivalent to the legacy INT 15 AX = E820 BIOS
887 EFI_MEMORY_REGION_TYPE MemoryRegionType
;
889 /// The size of the memory region in bytes.
891 EFI_EXP_BASE2_DATA MemorySize
;
893 /// The starting physical address of the memory region.
895 EFI_PHYSICAL_ADDRESS MemoryStartAddress
;
896 } EFI_MEMORY_SIZE_DATA
;
899 #define EFI_MEMORY_ARRAY_LOCATION_RECORD_NUMBER 0x00000002
901 typedef enum _EFI_MEMORY_ARRAY_LOCATION
{
902 EfiMemoryArrayLocationOther
= 0x01,
903 EfiMemoryArrayLocationUnknown
= 0x02,
904 EfiMemoryArrayLocationSystemBoard
= 0x03,
905 EfiMemoryArrayLocationIsaAddonCard
= 0x04,
906 EfiMemoryArrayLocationEisaAddonCard
= 0x05,
907 EfiMemoryArrayLocationPciAddonCard
= 0x06,
908 EfiMemoryArrayLocationMcaAddonCard
= 0x07,
909 EfiMemoryArrayLocationPcmciaAddonCard
= 0x08,
910 EfiMemoryArrayLocationProprietaryAddonCard
= 0x09,
911 EfiMemoryArrayLocationNuBus
= 0x0A,
912 EfiMemoryArrayLocationPc98C20AddonCard
= 0xA0,
913 EfiMemoryArrayLocationPc98C24AddonCard
= 0xA1,
914 EfiMemoryArrayLocationPc98EAddonCard
= 0xA2,
915 EfiMemoryArrayLocationPc98LocalBusAddonCard
= 0xA3
916 } EFI_MEMORY_ARRAY_LOCATION
;
918 typedef enum _EFI_MEMORY_ARRAY_USE
{
919 EfiMemoryArrayUseOther
= 0x01,
920 EfiMemoryArrayUseUnknown
= 0x02,
921 EfiMemoryArrayUseSystemMemory
= 0x03,
922 EfiMemoryArrayUseVideoMemory
= 0x04,
923 EfiMemoryArrayUseFlashMemory
= 0x05,
924 EfiMemoryArrayUseNonVolatileRam
= 0x06,
925 EfiMemoryArrayUseCacheMemory
= 0x07
926 } EFI_MEMORY_ARRAY_USE
;
928 typedef enum _EFI_MEMORY_ERROR_CORRECTION
{
929 EfiMemoryErrorCorrectionOther
= 0x01,
930 EfiMemoryErrorCorrectionUnknown
= 0x02,
931 EfiMemoryErrorCorrectionNone
= 0x03,
932 EfiMemoryErrorCorrectionParity
= 0x04,
933 EfiMemoryErrorCorrectionSingleBitEcc
= 0x05,
934 EfiMemoryErrorCorrectionMultiBitEcc
= 0x06,
935 EfiMemoryErrorCorrectionCrc
= 0x07
936 } EFI_MEMORY_ERROR_CORRECTION
;
939 /// This data record refers to the physical memory array. This data record is a structure.
940 /// The type definition structure for EFI_MEMORY_ARRAY_LOCATION_DATA is in SMBIOS 2.3.4:
941 /// - Table 3.3.17.1, Type 16, Offset 0x4
942 /// - Table 3.3.17.2, Type 16, Offset 0x5
943 /// - Table 3.3.17.3, Type 16, with the following offsets:
951 /// The physical location of the memory array.
953 EFI_MEMORY_ARRAY_LOCATION MemoryArrayLocation
;
955 /// The memory array usage.
957 EFI_MEMORY_ARRAY_USE MemoryArrayUse
;
959 /// The primary error correction or detection supported by this memory array.
961 EFI_MEMORY_ERROR_CORRECTION MemoryErrorCorrection
;
963 /// The maximum memory capacity size in kilobytes. If capacity is unknown, then
964 /// values of MaximumMemoryCapacity.Value = 0x00 and
965 /// MaximumMemoryCapacity.Exponent = 0x8000 are used.
967 EFI_EXP_BASE2_DATA MaximumMemoryCapacity
;
969 /// The number of memory slots or sockets that are available for memory devices
972 UINT16 NumberMemoryDevices
;
973 } EFI_MEMORY_ARRAY_LOCATION_DATA
;
976 #define EFI_MEMORY_ARRAY_LINK_RECORD_NUMBER 0x00000003
978 typedef enum _EFI_MEMORY_FORM_FACTOR
{
979 EfiMemoryFormFactorOther
= 0x01,
980 EfiMemoryFormFactorUnknown
= 0x02,
981 EfiMemoryFormFactorSimm
= 0x03,
982 EfiMemoryFormFactorSip
= 0x04,
983 EfiMemoryFormFactorChip
= 0x05,
984 EfiMemoryFormFactorDip
= 0x06,
985 EfiMemoryFormFactorZip
= 0x07,
986 EfiMemoryFormFactorProprietaryCard
= 0x08,
987 EfiMemoryFormFactorDimm
= 0x09,
988 EfiMemoryFormFactorTsop
= 0x0A,
989 EfiMemoryFormFactorRowOfChips
= 0x0B,
990 EfiMemoryFormFactorRimm
= 0x0C,
991 EfiMemoryFormFactorSodimm
= 0x0D,
992 EfiMemoryFormFactorSrimm
= 0x0E,
993 EfiMemoryFormFactorFbDimm
= 0x0F
994 } EFI_MEMORY_FORM_FACTOR
;
996 typedef enum _EFI_MEMORY_ARRAY_TYPE
{
997 EfiMemoryTypeOther
= 0x01,
998 EfiMemoryTypeUnknown
= 0x02,
999 EfiMemoryTypeDram
= 0x03,
1000 EfiMemoryTypeEdram
= 0x04,
1001 EfiMemoryTypeVram
= 0x05,
1002 EfiMemoryTypeSram
= 0x06,
1003 EfiMemoryTypeRam
= 0x07,
1004 EfiMemoryTypeRom
= 0x08,
1005 EfiMemoryTypeFlash
= 0x09,
1006 EfiMemoryTypeEeprom
= 0x0A,
1007 EfiMemoryTypeFeprom
= 0x0B,
1008 EfiMemoryTypeEprom
= 0x0C,
1009 EfiMemoryTypeCdram
= 0x0D,
1010 EfiMemoryType3Dram
= 0x0E,
1011 EfiMemoryTypeSdram
= 0x0F,
1012 EfiMemoryTypeSgram
= 0x10,
1013 EfiMemoryTypeRdram
= 0x11,
1014 EfiMemoryTypeDdr
= 0x12,
1015 EfiMemoryTypeDdr2
= 0x13,
1016 EfiMemoryTypeDdr2FbDimm
= 0x14
1017 } EFI_MEMORY_ARRAY_TYPE
;
1023 UINT32 FastPaged
:1;
1024 UINT32 StaticColumn
:1;
1025 UINT32 PseudoStatic
:1;
1027 UINT32 Synchronous
:1;
1030 UINT32 WindowDram
:1;
1031 UINT32 CacheDram
:1;
1032 UINT32 Nonvolatile
:1;
1033 UINT32 Reserved1
:19;
1034 } EFI_MEMORY_TYPE_DETAIL
;
1037 EfiMemoryStateEnabled
= 0,
1038 EfiMemoryStateUnknown
= 1,
1039 EfiMemoryStateUnsupported
= 2,
1040 EfiMemoryStateError
= 3,
1041 EfiMemoryStateAbsent
= 4,
1042 EfiMemoryStateDisabled
= 5,
1043 EfiMemoryStatePartial
= 6
1047 /// This data record describes a memory device. This data record is a structure.
1048 /// The type definition structure for EFI_MEMORY_ARRAY_LINK_DATA is in SMBIOS 2.3.4.
1052 /// A string that identifies the physically labeled socket or board position where the
1053 /// memory device is located.
1055 STRING_REF MemoryDeviceLocator
;
1057 /// A string denoting the physically labeled bank where the memory device is located.
1059 STRING_REF MemoryBankLocator
;
1061 /// A string denoting the memory manufacturer.
1063 STRING_REF MemoryManufacturer
;
1065 /// A string denoting the serial number of the memory device.
1067 STRING_REF MemorySerialNumber
;
1069 /// The asset tag of the memory device.
1071 STRING_REF MemoryAssetTag
;
1073 /// A string denoting the part number of the memory device.
1075 STRING_REF MemoryPartNumber
;
1077 /// A link to a memory array structure set.
1079 EFI_INTER_LINK_DATA MemoryArrayLink
;
1081 /// A link to a memory array structure set.
1083 EFI_INTER_LINK_DATA MemorySubArrayLink
;
1085 /// The total width in bits of this memory device. If there are no error correcting bits,
1086 /// then the total width equals the data width. If the width is unknown, then set the field
1089 UINT16 MemoryTotalWidth
;
1091 /// The data width in bits of the memory device. A data width of 0x00 and a total width
1092 /// of 0x08 indicate that the device is used solely for error correction.
1094 UINT16 MemoryDataWidth
;
1096 /// The size in bytes of the memory device. A value of 0x00 denotes that no device is
1097 /// installed, while a value of all Fs denotes that the size is not known.
1099 EFI_EXP_BASE2_DATA MemoryDeviceSize
;
1101 /// The form factor of the memory device.
1103 EFI_MEMORY_FORM_FACTOR MemoryFormFactor
;
1105 /// A memory device set that must be populated with all devices of the same type and
1106 /// size. A value of 0x00 indicates that the device is not part of any set. A value of 0xFF
1107 /// indicates that the attribute is unknown. Any other value denotes the set number.
1109 UINT8 MemoryDeviceSet
;
1111 /// The memory type in the socket.
1113 EFI_MEMORY_ARRAY_TYPE MemoryType
;
1115 /// The memory type details.
1117 EFI_MEMORY_TYPE_DETAIL MemoryTypeDetail
;
1119 /// The memory speed in megahertz (MHz). A value of 0x00 denotes that
1120 /// the speed is unknown.
1122 EFI_EXP_BASE10_DATA MemorySpeed
;
1124 /// The memory state.
1126 EFI_MEMORY_STATE MemoryState
;
1127 } EFI_MEMORY_ARRAY_LINK_DATA
;
1130 #define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER 0x00000004
1133 /// This data record refers to a specified physical memory array associated with
1134 /// a given memory range.
1138 /// The starting physical address in bytes of memory mapped to a specified physical
1141 EFI_PHYSICAL_ADDRESS MemoryArrayStartAddress
;
1143 /// The last physical address in bytes of memory mapped to a specified physical memory
1146 EFI_PHYSICAL_ADDRESS MemoryArrayEndAddress
;
1148 /// See Physical Memory Array (Type 16) for physical memory array structures.
1150 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink
;
1152 /// The number of memory devices that form a single row of memory for the address
1155 UINT16 MemoryArrayPartitionWidth
;
1156 } EFI_MEMORY_ARRAY_START_ADDRESS_DATA
;
1159 #define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER 0x00000005
1162 /// This data record refers to a physical memory device that is associated with
1163 /// a given memory range.
1167 /// The starting physical address that is associated with the device.
1169 EFI_PHYSICAL_ADDRESS MemoryDeviceStartAddress
;
1171 /// The ending physical address that is associated with the device.
1173 EFI_PHYSICAL_ADDRESS MemoryDeviceEndAddress
;
1175 /// A link to the memory device data structure.
1177 EFI_INTER_LINK_DATA PhysicalMemoryDeviceLink
;
1179 /// A link to the memory array data structure.
1181 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink
;
1183 /// The position of the memory device in a row. A value of 0x00 is reserved and a value
1184 /// of 0xFF indicates that the position is unknown.
1186 UINT8 MemoryDevicePartitionRowPosition
;
1188 /// The position of the device in an interleave.
1190 UINT8 MemoryDeviceInterleavePosition
;
1192 /// The maximum number of consecutive rows from the device that are accessed in a
1193 /// single interleave transfer. A value of 0x00 indicates that the device is not interleaved
1194 /// and a value of 0xFF indicates that the interleave configuration is unknown.
1196 UINT8 MemoryDeviceInterleaveDataDepth
;
1197 } EFI_MEMORY_DEVICE_START_ADDRESS_DATA
;
1201 // Memory. Channel Device Type - SMBIOS Type 37
1204 #define EFI_MEMORY_CHANNEL_TYPE_RECORD_NUMBER 0x00000006
1206 typedef enum _EFI_MEMORY_CHANNEL_TYPE
{
1207 EfiMemoryChannelTypeOther
= 1,
1208 EfiMemoryChannelTypeUnknown
= 2,
1209 EfiMemoryChannelTypeRambus
= 3,
1210 EfiMemoryChannelTypeSyncLink
= 4
1211 } EFI_MEMORY_CHANNEL_TYPE
;
1214 /// This data record refers the type of memory that is associated with the channel. This data record is a
1216 /// The type definition structure for EFI_MEMORY_CHANNEL_TYPE_DATA is in SMBIOS 2.3.4,
1217 /// Table 3.3.38, Type 37, with the following offsets:
1224 /// The type of memory that is associated with the channel.
1226 EFI_MEMORY_CHANNEL_TYPE MemoryChannelType
;
1228 /// The maximum load that is supported by the channel.
1230 UINT8 MemoryChannelMaximumLoad
;
1232 /// The number of memory devices on this channel.
1234 UINT8 MemoryChannelDeviceCount
;
1235 } EFI_MEMORY_CHANNEL_TYPE_DATA
;
1237 #define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER 0x00000007
1240 /// This data record refers to the memory device that is associated with the memory channel. This data
1241 /// record is a structure.
1242 /// The type definition structure for EFI_MEMORY_CHANNEL_DEVICE_DATA is in SMBIOS 2.3.4,
1243 /// Table 3.3.38, Type 37, with the following offsets:
1249 /// A number between one and MemoryChannelDeviceCount plus an arbitrary base.
1253 /// The Link of the associated memory device. See Memory Device (Type 17) for
1256 EFI_INTER_LINK_DATA DeviceLink
;
1258 /// The number of load units that this device consumes.
1260 UINT8 MemoryChannelDeviceLoad
;
1261 } EFI_MEMORY_CHANNEL_DEVICE_DATA
;
1264 // Memory. Controller Information - SMBIOS Type 5
1266 #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER 0x00000008
1269 EfiErrorDetectingMethodOther
= 1,
1270 EfiErrorDetectingMethodUnknown
= 2,
1271 EfiErrorDetectingMethodNone
= 3,
1272 EfiErrorDetectingMethodParity
= 4,
1273 EfiErrorDetectingMethod32Ecc
= 5,
1274 EfiErrorDetectingMethod64Ecc
= 6,
1275 EfiErrorDetectingMethod128Ecc
= 7,
1276 EfiErrorDetectingMethodCrc
= 8
1277 } EFI_MEMORY_ERROR_DETECT_METHOD_TYPE
;
1283 UINT8 SingleBitErrorCorrect
:1;
1284 UINT8 DoubleBitErrorCorrect
:1;
1285 UINT8 ErrorScrubbing
:1;
1287 } EFI_MEMORY_ERROR_CORRECT_CAPABILITY
;
1290 EfiMemoryInterleaveOther
= 1,
1291 EfiMemoryInterleaveUnknown
= 2,
1292 EfiMemoryInterleaveOneWay
= 3,
1293 EfiMemoryInterleaveTwoWay
= 4,
1294 EfiMemoryInterleaveFourWay
= 5,
1295 EfiMemoryInterleaveEightWay
= 6,
1296 EfiMemoryInterleaveSixteenWay
= 7
1297 } EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE
;
1305 UINT16 Reserved
:11;
1306 } EFI_MEMORY_SPEED_TYPE
;
1312 UINT16 FastPageMode
:1;
1321 } EFI_MEMORY_SUPPORTED_TYPE
;
1328 } EFI_MEMORY_MODULE_VOLTAGE_TYPE
;
1331 // EFI_MEMORY_CONTROLLER_INFORMATION is obsolete
1332 // Use EFI_MEMORY_CONTROLLER_INFORMATION_DATA instead
1335 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod
;
1336 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability
;
1337 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave
;
1338 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave
;
1339 UINT8 MaxMemoryModuleSize
;
1340 EFI_MEMORY_SPEED_TYPE MemorySpeedType
;
1341 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType
;
1342 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage
;
1343 UINT8 NumberofMemorySlot
;
1344 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability
;
1345 UINT16
*MemoryModuleConfigHandles
;
1346 } EFI_MEMORY_CONTROLLER_INFORMATION
;
1349 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod
;
1350 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability
;
1351 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave
;
1352 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave
;
1353 UINT8 MaxMemoryModuleSize
;
1354 EFI_MEMORY_SPEED_TYPE MemorySpeedType
;
1355 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType
;
1356 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage
;
1357 UINT8 NumberofMemorySlot
;
1358 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability
;
1359 EFI_INTER_LINK_DATA MemoryModuleConfig
[1];
1360 } EFI_MEMORY_CONTROLLER_INFORMATION_DATA
;
1363 // Memory. Error Information - SMBIOS Type 18
1365 #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER 0x00000009
1368 EfiMemoryErrorOther
= 1,
1369 EfiMemoryErrorUnknown
= 2,
1370 EfiMemoryErrorOk
= 3,
1371 EfiMemoryErrorBadRead
= 4,
1372 EfiMemoryErrorParity
= 5,
1373 EfiMemoryErrorSigleBit
= 6,
1374 EfiMemoryErrorDoubleBit
= 7,
1375 EfiMemoryErrorMultiBit
= 8,
1376 EfiMemoryErrorNibble
= 9,
1377 EfiMemoryErrorChecksum
= 10,
1378 EfiMemoryErrorCrc
= 11,
1379 EfiMemoryErrorCorrectSingleBit
= 12,
1380 EfiMemoryErrorCorrected
= 13,
1381 EfiMemoryErrorUnCorrectable
= 14
1382 } EFI_MEMORY_ERROR_TYPE
;
1385 EfiMemoryGranularityOther
= 1,
1386 EfiMemoryGranularityOtherUnknown
= 2,
1387 EfiMemoryGranularityDeviceLevel
= 3,
1388 EfiMemoryGranularityMemPartitionLevel
= 4
1389 } EFI_MEMORY_ERROR_GRANULARITY_TYPE
;
1392 EfiMemoryErrorOperationOther
= 1,
1393 EfiMemoryErrorOperationUnknown
= 2,
1394 EfiMemoryErrorOperationRead
= 3,
1395 EfiMemoryErrorOperationWrite
= 4,
1396 EfiMemoryErrorOperationPartialWrite
= 5
1397 } EFI_MEMORY_ERROR_OPERATION_TYPE
;
1400 EFI_MEMORY_ERROR_TYPE MemoryErrorType
;
1401 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity
;
1402 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation
;
1403 UINT32 VendorSyndrome
;
1404 UINT32 MemoryArrayErrorAddress
;
1405 UINT32 DeviceErrorAddress
;
1406 UINT32 DeviceErrorResolution
;
1407 } EFI_MEMORY_32BIT_ERROR_INFORMATION
;
1410 // Memory. Error Information - SMBIOS Type 33
1412 #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER 0x0000000A
1415 EFI_MEMORY_ERROR_TYPE MemoryErrorType
;
1416 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity
;
1417 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation
;
1418 UINT32 VendorSyndrome
;
1419 UINT64 MemoryArrayErrorAddress
;
1420 UINT64 DeviceErrorAddress
;
1421 UINT32 DeviceErrorResolution
;
1422 } EFI_MEMORY_64BIT_ERROR_INFORMATION
;
1424 typedef union _EFI_MEMORY_SUBCLASS_RECORDS
{
1425 EFI_MEMORY_SIZE_DATA SizeData
;
1426 EFI_MEMORY_ARRAY_LOCATION_DATA ArrayLocationData
;
1427 EFI_MEMORY_ARRAY_LINK_DATA ArrayLink
;
1428 EFI_MEMORY_ARRAY_START_ADDRESS_DATA ArrayStartAddress
;
1429 EFI_MEMORY_DEVICE_START_ADDRESS_DATA DeviceStartAddress
;
1430 EFI_MEMORY_CHANNEL_TYPE_DATA ChannelTypeData
;
1431 EFI_MEMORY_CHANNEL_DEVICE_DATA ChannelDeviceData
;
1432 EFI_MEMORY_CONTROLLER_INFORMATION MemoryControllerInfo
;
1433 EFI_MEMORY_32BIT_ERROR_INFORMATION Memory32bitErrorInfo
;
1434 EFI_MEMORY_64BIT_ERROR_INFORMATION Memory64bitErrorInfo
;
1435 } EFI_MEMORY_SUBCLASS_RECORDS
;
1438 EFI_SUBCLASS_TYPE1_HEADER Header
;
1439 EFI_MEMORY_SUBCLASS_RECORDS Record
;
1440 } EFI_MEMORY_SUBCLASS_DRIVER_DATA
;
1442 #define EFI_MISC_SUBCLASS_VERSION 0x0100
1447 // Last PCI Bus Number
1449 #define EFI_MISC_LAST_PCI_BUS_RECORD_NUMBER 0x00000001
1453 } EFI_MISC_LAST_PCI_BUS_DATA
;
1456 // Misc. BIOS Vendor - SMBIOS Type 0
1458 #define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER 0x00000002
1461 UINT64 Reserved1
:2;
1463 UINT64 BiosCharacteristicsNotSupported
:1;
1464 UINT64 IsaIsSupported
:1;
1465 UINT64 McaIsSupported
:1;
1466 UINT64 EisaIsSupported
:1;
1467 UINT64 PciIsSupported
:1;
1468 UINT64 PcmciaIsSupported
:1;
1469 UINT64 PlugAndPlayIsSupported
:1;
1470 UINT64 ApmIsSupported
:1;
1471 UINT64 BiosIsUpgradable
:1;
1472 UINT64 BiosShadowingAllowed
:1;
1473 UINT64 VlVesaIsSupported
:1;
1474 UINT64 EscdSupportIsAvailable
:1;
1475 UINT64 BootFromCdIsSupported
:1;
1476 UINT64 SelectableBootIsSupported
:1;
1477 UINT64 RomBiosIsSocketed
:1;
1478 UINT64 BootFromPcmciaIsSupported
:1;
1479 UINT64 EDDSpecificationIsSupported
:1;
1480 UINT64 JapaneseNecFloppyIsSupported
:1;
1481 UINT64 JapaneseToshibaFloppyIsSupported
:1;
1482 UINT64 Floppy525_360IsSupported
:1;
1483 UINT64 Floppy525_12IsSupported
:1;
1484 UINT64 Floppy35_720IsSupported
:1;
1485 UINT64 Floppy35_288IsSupported
:1;
1486 UINT64 PrintScreenIsSupported
:1;
1487 UINT64 Keyboard8042IsSupported
:1;
1488 UINT64 SerialIsSupported
:1;
1489 UINT64 PrinterIsSupported
:1;
1490 UINT64 CgaMonoIsSupported
:1;
1492 UINT64 AcpiIsSupported
:1;
1493 UINT64 UsbLegacyIsSupported
:1;
1494 UINT64 AgpIsSupported
:1;
1495 UINT64 I20BootIsSupported
:1;
1496 UINT64 Ls120BootIsSupported
:1;
1497 UINT64 AtapiZipDriveBootIsSupported
:1;
1498 UINT64 Boot1394IsSupported
:1;
1499 UINT64 SmartBatteryIsSupported
:1;
1500 UINT64 BiosBootSpecIsSupported
:1;
1501 UINT64 FunctionKeyNetworkBootIsSupported
:1;
1502 UINT64 Reserved
:22;
1503 } EFI_MISC_BIOS_CHARACTERISTICS
;
1506 UINT64 BiosReserved
:16;
1507 UINT64 SystemReserved
:16;
1508 UINT64 Reserved
:32;
1509 } EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
;
1512 STRING_REF BiosVendor
;
1513 STRING_REF BiosVersion
;
1514 STRING_REF BiosReleaseDate
;
1515 EFI_PHYSICAL_ADDRESS BiosStartingAddress
;
1516 EFI_EXP_BASE2_DATA BiosPhysicalDeviceSize
;
1517 EFI_MISC_BIOS_CHARACTERISTICS BiosCharacteristics1
;
1518 EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
1519 BiosCharacteristics2
;
1520 UINT8 BiosMajorRelease
;
1521 UINT8 BiosMinorRelease
;
1522 UINT8 BiosEmbeddedFirmwareMajorRelease
;
1523 UINT8 BiosEmbeddedFirmwareMinorRelease
;
1524 } EFI_MISC_BIOS_VENDOR_DATA
;
1527 // Misc. System Manufacturer - SMBIOS Type 1
1529 #define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003
1532 EfiSystemWakeupTypeReserved
= 0,
1533 EfiSystemWakeupTypeOther
= 1,
1534 EfiSystemWakeupTypeUnknown
= 2,
1535 EfiSystemWakeupTypeApmTimer
= 3,
1536 EfiSystemWakeupTypeModemRing
= 4,
1537 EfiSystemWakeupTypeLanRemote
= 5,
1538 EfiSystemWakeupTypePowerSwitch
= 6,
1539 EfiSystemWakeupTypePciPme
= 7,
1540 EfiSystemWakeupTypeAcPowerRestored
= 8
1541 } EFI_MISC_SYSTEM_WAKEUP_TYPE
;
1544 STRING_REF SystemManufacturer
;
1545 STRING_REF SystemProductName
;
1546 STRING_REF SystemVersion
;
1547 STRING_REF SystemSerialNumber
;
1548 EFI_GUID SystemUuid
;
1549 EFI_MISC_SYSTEM_WAKEUP_TYPE SystemWakeupType
;
1550 STRING_REF SystemSKUNumber
;
1551 STRING_REF SystemFamily
;
1552 } EFI_MISC_SYSTEM_MANUFACTURER_DATA
;
1555 // Misc. Base Board Manufacturer - SMBIOS Type 2
1557 #define EFI_MISC_BASE_BOARD_MANUFACTURER_RECORD_NUMBER 0x00000004
1560 UINT32 Motherboard
:1;
1561 UINT32 RequiresDaughterCard
:1;
1562 UINT32 Removable
:1;
1563 UINT32 Replaceable
:1;
1564 UINT32 HotSwappable
:1;
1565 UINT32 Reserved
:27;
1566 } EFI_BASE_BOARD_FEATURE_FLAGS
;
1569 EfiBaseBoardTypeUnknown
= 1,
1570 EfiBaseBoardTypeOther
= 2,
1571 EfiBaseBoardTypeServerBlade
= 3,
1572 EfiBaseBoardTypeConnectivitySwitch
= 4,
1573 EfiBaseBoardTypeSystemManagementModule
= 5,
1574 EfiBaseBoardTypeProcessorModule
= 6,
1575 EfiBaseBoardTypeIOModule
= 7,
1576 EfiBaseBoardTypeMemoryModule
= 8,
1577 EfiBaseBoardTypeDaughterBoard
= 9,
1578 EfiBaseBoardTypeMotherBoard
= 0xA,
1579 EfiBaseBoardTypeProcessorMemoryModule
= 0xB,
1580 EfiBaseBoardTypeProcessorIOModule
= 0xC,
1581 EfiBaseBoardTypeInterconnectBoard
= 0xD
1582 } EFI_BASE_BOARD_TYPE
;
1585 STRING_REF BaseBoardManufacturer
;
1586 STRING_REF BaseBoardProductName
;
1587 STRING_REF BaseBoardVersion
;
1588 STRING_REF BaseBoardSerialNumber
;
1589 STRING_REF BaseBoardAssetTag
;
1590 STRING_REF BaseBoardChassisLocation
;
1591 EFI_BASE_BOARD_FEATURE_FLAGS BaseBoardFeatureFlags
;
1592 EFI_BASE_BOARD_TYPE BaseBoardType
;
1593 EFI_INTER_LINK_DATA BaseBoardChassisLink
;
1594 UINT32 BaseBoardNumberLinks
;
1595 EFI_INTER_LINK_DATA LinkN
;
1596 } EFI_MISC_BASE_BOARD_MANUFACTURER_DATA
;
1599 // Misc. System/Chassis Enclosure - SMBIOS Type 3
1601 #define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER 0x00000005
1604 EfiMiscChassisTypeOther
= 0x1,
1605 EfiMiscChassisTypeUnknown
= 0x2,
1606 EfiMiscChassisTypeDeskTop
= 0x3,
1607 EfiMiscChassisTypeLowProfileDesktop
= 0x4,
1608 EfiMiscChassisTypePizzaBox
= 0x5,
1609 EfiMiscChassisTypeMiniTower
= 0x6,
1610 EfiMiscChassisTypeTower
= 0x7,
1611 EfiMiscChassisTypePortable
= 0x8,
1612 EfiMiscChassisTypeLapTop
= 0x9,
1613 EfiMiscChassisTypeNotebook
= 0xA,
1614 EfiMiscChassisTypeHandHeld
= 0xB,
1615 EfiMiscChassisTypeDockingStation
= 0xC,
1616 EfiMiscChassisTypeAllInOne
= 0xD,
1617 EfiMiscChassisTypeSubNotebook
= 0xE,
1618 EfiMiscChassisTypeSpaceSaving
= 0xF,
1619 EfiMiscChassisTypeLunchBox
= 0x10,
1620 EfiMiscChassisTypeMainServerChassis
= 0x11,
1621 EfiMiscChassisTypeExpansionChassis
= 0x12,
1622 EfiMiscChassisTypeSubChassis
= 0x13,
1623 EfiMiscChassisTypeBusExpansionChassis
= 0x14,
1624 EfiMiscChassisTypePeripheralChassis
= 0x15,
1625 EfiMiscChassisTypeRaidChassis
= 0x16,
1626 EfiMiscChassisTypeRackMountChassis
= 0x17,
1627 EfiMiscChassisTypeSealedCasePc
= 0x18,
1628 EfiMiscChassisMultiSystemChassis
= 0x19
1629 } EFI_MISC_CHASSIS_TYPE
;
1632 UINT32 ChassisType
:16;
1633 UINT32 ChassisLockPresent
:1;
1634 UINT32 Reserved
:15;
1635 } EFI_MISC_CHASSIS_STATUS
;
1638 EfiChassisStateOther
= 0x01,
1639 EfiChassisStateUnknown
= 0x02,
1640 EfiChassisStateSafe
= 0x03,
1641 EfiChassisStateWarning
= 0x04,
1642 EfiChassisStateCritical
= 0x05,
1643 EfiChassisStateNonRecoverable
= 0x06
1644 } EFI_MISC_CHASSIS_STATE
;
1647 EfiChassisSecurityStatusOther
= 0x01,
1648 EfiChassisSecurityStatusUnknown
= 0x02,
1649 EfiChassisSecurityStatusNone
= 0x03,
1650 EfiChassisSecurityStatusExternalInterfaceLockedOut
= 0x04,
1651 EfiChassisSecurityStatusExternalInterfaceLockedEnabled
= 0x05
1652 } EFI_MISC_CHASSIS_SECURITY_STATE
;
1655 UINT32 RecordType
:1;
1657 UINT32 Reserved
:24;
1658 } EFI_MISC_ELEMENT_TYPE
;
1661 EFI_MISC_ELEMENT_TYPE ChassisElementType
;
1662 EFI_INTER_LINK_DATA ChassisElementStructure
;
1663 EFI_BASE_BOARD_TYPE ChassisBaseBoard
;
1664 UINT32 ChassisElementMinimum
;
1665 UINT32 ChassisElementMaximum
;
1666 } EFI_MISC_ELEMENTS
;
1669 STRING_REF ChassisManufacturer
;
1670 STRING_REF ChassisVersion
;
1671 STRING_REF ChassisSerialNumber
;
1672 STRING_REF ChassisAssetTag
;
1673 EFI_MISC_CHASSIS_STATUS ChassisType
;
1674 EFI_MISC_CHASSIS_STATE ChassisBootupState
;
1675 EFI_MISC_CHASSIS_STATE ChassisPowerSupplyState
;
1676 EFI_MISC_CHASSIS_STATE ChassisThermalState
;
1677 EFI_MISC_CHASSIS_SECURITY_STATE ChassisSecurityState
;
1678 UINT32 ChassisOemDefined
;
1679 UINT32 ChassisHeight
;
1680 UINT32 ChassisNumberPowerCords
;
1681 UINT32 ChassisElementCount
;
1682 UINT32 ChassisElementRecordLength
;
1683 EFI_MISC_ELEMENTS ChassisElements
;
1684 } EFI_MISC_CHASSIS_MANUFACTURER_DATA
;
1687 // Misc. Port Connector Information - SMBIOS Type 8
1689 #define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006
1692 EfiPortConnectorTypeNone
= 0x00,
1693 EfiPortConnectorTypeCentronics
= 0x01,
1694 EfiPortConnectorTypeMiniCentronics
= 0x02,
1695 EfiPortConnectorTypeProprietary
= 0x03,
1696 EfiPortConnectorTypeDB25Male
= 0x04,
1697 EfiPortConnectorTypeDB25Female
= 0x05,
1698 EfiPortConnectorTypeDB15Male
= 0x06,
1699 EfiPortConnectorTypeDB15Female
= 0x07,
1700 EfiPortConnectorTypeDB9Male
= 0x08,
1701 EfiPortConnectorTypeDB9Female
= 0x09,
1702 EfiPortConnectorTypeRJ11
= 0x0A,
1703 EfiPortConnectorTypeRJ45
= 0x0B,
1704 EfiPortConnectorType50PinMiniScsi
= 0x0C,
1705 EfiPortConnectorTypeMiniDin
= 0x0D,
1706 EfiPortConnectorTypeMicriDin
= 0x0E,
1707 EfiPortConnectorTypePS2
= 0x0F,
1708 EfiPortConnectorTypeInfrared
= 0x10,
1709 EfiPortConnectorTypeHpHil
= 0x11,
1710 EfiPortConnectorTypeUsb
= 0x12,
1711 EfiPortConnectorTypeSsaScsi
= 0x13,
1712 EfiPortConnectorTypeCircularDin8Male
= 0x14,
1713 EfiPortConnectorTypeCircularDin8Female
= 0x15,
1714 EfiPortConnectorTypeOnboardIde
= 0x16,
1715 EfiPortConnectorTypeOnboardFloppy
= 0x17,
1716 EfiPortConnectorType9PinDualInline
= 0x18,
1717 EfiPortConnectorType25PinDualInline
= 0x19,
1718 EfiPortConnectorType50PinDualInline
= 0x1A,
1719 EfiPortConnectorType68PinDualInline
= 0x1B,
1720 EfiPortConnectorTypeOnboardSoundInput
= 0x1C,
1721 EfiPortConnectorTypeMiniCentronicsType14
= 0x1D,
1722 EfiPortConnectorTypeMiniCentronicsType26
= 0x1E,
1723 EfiPortConnectorTypeHeadPhoneMiniJack
= 0x1F,
1724 EfiPortConnectorTypeBNC
= 0x20,
1725 EfiPortConnectorType1394
= 0x21,
1726 EfiPortConnectorTypePC98
= 0xA0,
1727 EfiPortConnectorTypePC98Hireso
= 0xA1,
1728 EfiPortConnectorTypePCH98
= 0xA2,
1729 EfiPortConnectorTypePC98Note
= 0xA3,
1730 EfiPortConnectorTypePC98Full
= 0xA4,
1731 EfiPortConnectorTypeOther
= 0xFF
1732 } EFI_MISC_PORT_CONNECTOR_TYPE
;
1735 EfiPortTypeNone
= 0x00,
1736 EfiPortTypeParallelXtAtCompatible
= 0x01,
1737 EfiPortTypeParallelPortPs2
= 0x02,
1738 EfiPortTypeParallelPortEcp
= 0x03,
1739 EfiPortTypeParallelPortEpp
= 0x04,
1740 EfiPortTypeParallelPortEcpEpp
= 0x05,
1741 EfiPortTypeSerialXtAtCompatible
= 0x06,
1742 EfiPortTypeSerial16450Compatible
= 0x07,
1743 EfiPortTypeSerial16550Compatible
= 0x08,
1744 EfiPortTypeSerial16550ACompatible
= 0x09,
1745 EfiPortTypeScsi
= 0x0A,
1746 EfiPortTypeMidi
= 0x0B,
1747 EfiPortTypeJoyStick
= 0x0C,
1748 EfiPortTypeKeyboard
= 0x0D,
1749 EfiPortTypeMouse
= 0x0E,
1750 EfiPortTypeSsaScsi
= 0x0F,
1751 EfiPortTypeUsb
= 0x10,
1752 EfiPortTypeFireWire
= 0x11,
1753 EfiPortTypePcmciaTypeI
= 0x12,
1754 EfiPortTypePcmciaTypeII
= 0x13,
1755 EfiPortTypePcmciaTypeIII
= 0x14,
1756 EfiPortTypeCardBus
= 0x15,
1757 EfiPortTypeAccessBusPort
= 0x16,
1758 EfiPortTypeScsiII
= 0x17,
1759 EfiPortTypeScsiWide
= 0x18,
1760 EfiPortTypePC98
= 0x19,
1761 EfiPortTypePC98Hireso
= 0x1A,
1762 EfiPortTypePCH98
= 0x1B,
1763 EfiPortTypeVideoPort
= 0x1C,
1764 EfiPortTypeAudioPort
= 0x1D,
1765 EfiPortTypeModemPort
= 0x1E,
1766 EfiPortTypeNetworkPort
= 0x1F,
1767 EfiPortType8251Compatible
= 0xA0,
1768 EfiPortType8251FifoCompatible
= 0xA1,
1769 EfiPortTypeOther
= 0xFF
1770 } EFI_MISC_PORT_TYPE
;
1773 STRING_REF PortInternalConnectorDesignator
;
1774 STRING_REF PortExternalConnectorDesignator
;
1775 EFI_MISC_PORT_CONNECTOR_TYPE PortInternalConnectorType
;
1776 EFI_MISC_PORT_CONNECTOR_TYPE PortExternalConnectorType
;
1777 EFI_MISC_PORT_TYPE PortType
;
1778 EFI_MISC_PORT_DEVICE_PATH PortPath
;
1779 } EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA
;
1782 // Misc. System Slots - SMBIOS Type 9
1784 #define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007
1787 EfiSlotTypeOther
= 0x01,
1788 EfiSlotTypeUnknown
= 0x02,
1789 EfiSlotTypeIsa
= 0x03,
1790 EfiSlotTypeMca
= 0x04,
1791 EfiSlotTypeEisa
= 0x05,
1792 EfiSlotTypePci
= 0x06,
1793 EfiSlotTypePcmcia
= 0x07,
1794 EfiSlotTypeVlVesa
= 0x08,
1795 EfiSlotTypeProprietary
= 0x09,
1796 EfiSlotTypeProcessorCardSlot
= 0x0A,
1797 EfiSlotTypeProprietaryMemoryCardSlot
= 0x0B,
1798 EfiSlotTypeIORiserCardSlot
= 0x0C,
1799 EfiSlotTypeNuBus
= 0x0D,
1800 EfiSlotTypePci66MhzCapable
= 0x0E,
1801 EfiSlotTypeAgp
= 0x0F,
1802 EfiSlotTypeApg2X
= 0x10,
1803 EfiSlotTypeAgp4X
= 0x11,
1804 EfiSlotTypePciX
= 0x12,
1805 EfiSlotTypeAgp4x
= 0x13,
1806 EfiSlotTypePC98C20
= 0xA0,
1807 EfiSlotTypePC98C24
= 0xA1,
1808 EfiSlotTypePC98E
= 0xA2,
1809 EfiSlotTypePC98LocalBus
= 0xA3,
1810 EfiSlotTypePC98Card
= 0xA4,
1811 EfiSlotTypePciExpress
= 0xA5
1812 } EFI_MISC_SLOT_TYPE
;
1815 EfiSlotDataBusWidthOther
= 0x01,
1816 EfiSlotDataBusWidthUnknown
= 0x02,
1817 EfiSlotDataBusWidth8Bit
= 0x03,
1818 EfiSlotDataBusWidth16Bit
= 0x04,
1819 EfiSlotDataBusWidth32Bit
= 0x05,
1820 EfiSlotDataBusWidth64Bit
= 0x06,
1821 EfiSlotDataBusWidth128Bit
= 0x07
1822 } EFI_MISC_SLOT_DATA_BUS_WIDTH
;
1825 EfiSlotUsageOther
= 1,
1826 EfiSlotUsageUnknown
= 2,
1827 EfiSlotUsageAvailable
= 3,
1828 EfiSlotUsageInUse
= 4
1829 } EFI_MISC_SLOT_USAGE
;
1832 EfiSlotLengthOther
= 1,
1833 EfiSlotLengthUnknown
= 2,
1834 EfiSlotLengthShort
= 3,
1835 EfiSlotLengthLong
= 4
1836 } EFI_MISC_SLOT_LENGTH
;
1839 UINT32 CharacteristicsUnknown
:1;
1840 UINT32 Provides50Volts
:1;
1841 UINT32 Provides33Volts
:1;
1842 UINT32 SharedSlot
:1;
1843 UINT32 PcCard16Supported
:1;
1844 UINT32 CardBusSupported
:1;
1845 UINT32 ZoomVideoSupported
:1;
1846 UINT32 ModemRingResumeSupported
:1;
1847 UINT32 PmeSignalSupported
:1;
1848 UINT32 HotPlugDevicesSupported
:1;
1849 UINT32 SmbusSignalSupported
:1;
1850 UINT32 Reserved
:21;
1851 } EFI_MISC_SLOT_CHARACTERISTICS
;
1854 STRING_REF SlotDesignation
;
1855 EFI_MISC_SLOT_TYPE SlotType
;
1856 EFI_MISC_SLOT_DATA_BUS_WIDTH SlotDataBusWidth
;
1857 EFI_MISC_SLOT_USAGE SlotUsage
;
1858 EFI_MISC_SLOT_LENGTH SlotLength
;
1860 EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics
;
1861 EFI_DEVICE_PATH_PROTOCOL SlotDevicePath
;
1862 } EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA
;
1865 // Misc. Onboard Device - SMBIOS Type 10
1867 #define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008
1870 EfiOnBoardDeviceTypeOther
= 1,
1871 EfiOnBoardDeviceTypeUnknown
= 2,
1872 EfiOnBoardDeviceTypeVideo
= 3,
1873 EfiOnBoardDeviceTypeScsiController
= 4,
1874 EfiOnBoardDeviceTypeEthernet
= 5,
1875 EfiOnBoardDeviceTypeTokenRing
= 6,
1876 EfiOnBoardDeviceTypeSound
= 7
1877 } EFI_MISC_ONBOARD_DEVICE_TYPE
;
1880 UINT32 DeviceType
:16;
1881 UINT32 DeviceEnabled
:1;
1882 UINT32 Reserved
:15;
1883 } EFI_MISC_ONBOARD_DEVICE_STATUS
;
1886 STRING_REF OnBoardDeviceDescription
;
1887 EFI_MISC_ONBOARD_DEVICE_STATUS OnBoardDeviceStatus
;
1888 EFI_DEVICE_PATH_PROTOCOL OnBoardDevicePath
;
1889 } EFI_MISC_ONBOARD_DEVICE_DATA
;
1892 // Misc. BIOS Language Information - SMBIOS Type 11
1894 #define EFI_MISC_OEM_STRING_RECORD_NUMBER 0x00000009
1897 STRING_REF OemStringRef
[1];
1898 } EFI_MISC_OEM_STRING_DATA
;
1901 // Misc. System Options - SMBIOS Type 12
1904 STRING_REF SystemOptionStringRef
[1];
1905 } EFI_MISC_SYSTEM_OPTION_STRING_DATA
;
1907 #define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A
1910 // Misc. Number of Installable Languages - SMBIOS Type 13
1912 #define EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_RECORD_NUMBER 0x0000000B
1915 UINT32 AbbreviatedLanguageFormat
:1;
1916 UINT32 Reserved
:31;
1917 } EFI_MISC_LANGUAGE_FLAGS
;
1920 UINT16 NumberOfInstallableLanguages
;
1921 EFI_MISC_LANGUAGE_FLAGS LanguageFlags
;
1922 UINT16 CurrentLanguageNumber
;
1923 } EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA
;
1926 // Misc. System Language String
1928 #define EFI_MISC_SYSTEM_LANGUAGE_STRING_RECORD_NUMBER 0x0000000C
1932 STRING_REF SystemLanguageString
;
1933 } EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA
;
1936 // Group Associations - SMBIOS Type 14
1938 #define EFI_MISC_GROUP_NAME_RECORD_NUMBER 0x0000000D
1941 STRING_REF GroupName
;
1942 UINT16 NumberGroupItems
;
1944 } EFI_MISC_GROUP_NAME_DATA
;
1947 // Group Item Set Element
1949 #define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER 0x0000000E
1953 EFI_INTER_LINK_DATA GroupLink
;
1955 UINT16 GroupElementId
;
1956 } EFI_MISC_GROUP_ITEM_SET_DATA
;
1959 // Misc. Pointing Device Type - SMBIOS Type 21
1961 #define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F
1964 EfiPointingDeviceTypeOther
= 0x01,
1965 EfiPointingDeviceTypeUnknown
= 0x02,
1966 EfiPointingDeviceTypeMouse
= 0x03,
1967 EfiPointingDeviceTypeTrackBall
= 0x04,
1968 EfiPointingDeviceTypeTrackPoint
= 0x05,
1969 EfiPointingDeviceTypeGlidePoint
= 0x06,
1970 EfiPointingDeviceTouchPad
= 0x07,
1971 EfiPointingDeviceTouchScreen
= 0x08,
1972 EfiPointingDeviceOpticalSensor
= 0x09
1973 } EFI_MISC_POINTING_DEVICE_TYPE
;
1976 EfiPointingDeviceInterfaceOther
= 0x01,
1977 EfiPointingDeviceInterfaceUnknown
= 0x02,
1978 EfiPointingDeviceInterfaceSerial
= 0x03,
1979 EfiPointingDeviceInterfacePs2
= 0x04,
1980 EfiPointingDeviceInterfaceInfrared
= 0x05,
1981 EfiPointingDeviceInterfaceHpHil
= 0x06,
1982 EfiPointingDeviceInterfaceBusMouse
= 0x07,
1983 EfiPointingDeviceInterfaceADB
= 0x08,
1984 EfiPointingDeviceInterfaceBusMouseDB9
= 0xA0,
1985 EfiPointingDeviceInterfaceBusMouseMicroDin
= 0xA1,
1986 EfiPointingDeviceInterfaceUsb
= 0xA2
1987 } EFI_MISC_POINTING_DEVICE_INTERFACE
;
1990 EFI_MISC_POINTING_DEVICE_TYPE PointingDeviceType
;
1991 EFI_MISC_POINTING_DEVICE_INTERFACE PointingDeviceInterface
;
1992 UINT16 NumberPointingDeviceButtons
;
1993 EFI_DEVICE_PATH_PROTOCOL PointingDevicePath
;
1994 } EFI_MISC_PORTING_DEVICE_TYPE_DATA
;
1997 // Portable Battery - SMBIOS Type 22
1999 #define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER 0x00000010
2002 EfiPortableBatteryDeviceChemistryOther
= 1,
2003 EfiPortableBatteryDeviceChemistryUnknown
= 2,
2004 EfiPortableBatteryDeviceChemistryLeadAcid
= 3,
2005 EfiPortableBatteryDeviceChemistryNickelCadmium
= 4,
2006 EfiPortableBatteryDeviceChemistryNickelMetalHydride
= 5,
2007 EfiPortableBatteryDeviceChemistryLithiumIon
= 6,
2008 EfiPortableBatteryDeviceChemistryZincAir
= 7,
2009 EfiPortableBatteryDeviceChemistryLithiumPolymer
= 8
2010 } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
;
2013 STRING_REF Location
;
2014 STRING_REF Manufacturer
;
2015 STRING_REF ManufactureDate
;
2016 STRING_REF SerialNumber
;
2017 STRING_REF DeviceName
;
2018 EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
2020 UINT16 DesignCapacity
;
2021 UINT16 DesignVoltage
;
2022 STRING_REF SBDSVersionNumber
;
2024 UINT16 SBDSSerialNumber
;
2025 UINT16 SBDSManufactureDate
;
2026 STRING_REF SBDSDeviceChemistry
;
2027 UINT8 DesignCapacityMultiplier
;
2029 UINT8 BatteryNumber
; // Temporary
2030 BOOLEAN Valid
; // Is entry valid - Temporary
2031 } EFI_MISC_PORTABLE_BATTERY
;
2034 // Misc. Reset Capabilities - SMBIOS Type 23
2036 #define EFI_MISC_RESET_CAPABILITIES_RECORD_NUMBER 0x00000011
2040 UINT32 BootOption
:2;
2041 UINT32 BootOptionOnLimit
:2;
2042 UINT32 WatchdogTimerPresent
:1;
2043 UINT32 Reserved
:26;
2044 } EFI_MISC_RESET_CAPABILITIES_TYPE
;
2047 EFI_MISC_RESET_CAPABILITIES_TYPE ResetCapabilities
;
2050 UINT16 ResetTimerInterval
;
2051 UINT16 ResetTimeout
;
2052 } EFI_MISC_RESET_CAPABILITIES
;
2055 EFI_MISC_RESET_CAPABILITIES ResetCapabilities
;
2058 UINT16 ResetTimerInterval
;
2059 UINT16 ResetTimeout
;
2060 } EFI_MISC_RESET_CAPABILITIES_DATA
;
2063 // Misc. Hardware Security - SMBIOS Type 24
2065 #define EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA_RECORD_NUMBER 0x00000012
2068 EfiHardwareSecurityStatusDisabled
= 0,
2069 EfiHardwareSecurityStatusEnabled
= 1,
2070 EfiHardwareSecurityStatusNotImplemented
= 2,
2071 EfiHardwareSecurityStatusUnknown
= 3
2072 } EFI_MISC_HARDWARE_SECURITY_STATUS
;
2075 EFI_MISC_HARDWARE_SECURITY_STATUS FrontPanelResetStatus
:2;
2076 EFI_MISC_HARDWARE_SECURITY_STATUS AdministratorPasswordStatus
:2;
2077 EFI_MISC_HARDWARE_SECURITY_STATUS KeyboardPasswordStatus
:2;
2078 EFI_MISC_HARDWARE_SECURITY_STATUS PowerOnPasswordStatus
:2;
2079 EFI_MISC_HARDWARE_SECURITY_STATUS Reserved
:24;
2080 } EFI_MISC_HARDWARE_SECURITY_SETTINGS
;
2083 EFI_MISC_HARDWARE_SECURITY_SETTINGS HardwareSecuritySettings
;
2084 } EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA
;
2087 // System Power Controls - SMBIOS Type 25
2089 #define EFI_MISC_SCHEDULED_POWER_ON_MONTH_RECORD_NUMBER 0x00000013
2092 UINT16 ScheduledPoweronMonth
;
2093 UINT16 ScheduledPoweronDayOfMonth
;
2094 UINT16 ScheduledPoweronHour
;
2095 UINT16 ScheduledPoweronMinute
;
2096 UINT16 ScheduledPoweronSecond
;
2097 } EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA
;
2100 // Voltage Probe - SMBIOS Type 26
2102 #define EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000014
2105 UINT32 VoltageProbeSite
:5;
2106 UINT32 VoltageProbeStatus
:3;
2107 UINT32 Reserved
:24;
2108 } EFI_MISC_VOLTAGE_PROBE_LOCATION
;
2111 STRING_REF VoltageProbeDescription
;
2112 EFI_MISC_VOLTAGE_PROBE_LOCATION VoltageProbeLocation
;
2113 EFI_EXP_BASE10_DATA VoltageProbeMaximumValue
;
2114 EFI_EXP_BASE10_DATA VoltageProbeMinimumValue
;
2115 EFI_EXP_BASE10_DATA VoltageProbeResolution
;
2116 EFI_EXP_BASE10_DATA VoltageProbeTolerance
;
2117 EFI_EXP_BASE10_DATA VoltageProbeAccuracy
;
2118 EFI_EXP_BASE10_DATA VoltageProbeNominalValue
;
2119 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2120 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2121 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2122 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2123 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2124 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2125 UINT32 VoltageProbeOemDefined
;
2126 } EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA
;
2129 // Cooling Device - SMBIOS Type 27
2131 #define EFI_MISC_COOLING_DEVICE_TEMP_LINK_RECORD_NUMBER 0x00000015
2134 UINT32 CoolingDevice
:5;
2135 UINT32 CoolingDeviceStatus
:3;
2136 UINT32 Reserved
:24;
2137 } EFI_MISC_COOLING_DEVICE_TYPE
;
2140 EFI_MISC_COOLING_DEVICE_TYPE CoolingDeviceType
;
2141 EFI_INTER_LINK_DATA CoolingDeviceTemperatureLink
;
2142 UINT16 CoolingDeviceUnitGroup
;
2143 EFI_EXP_BASE10_DATA CoolingDeviceNominalSpeed
;
2144 UINT32 CoolingDeviceOemDefined
;
2145 } EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA
;
2148 // Temperature Probe - SMBIOS Type 28
2150 #define EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000016
2153 UINT32 TemperatureProbeSite
:5;
2154 UINT32 TemperatureProbeStatus
:3;
2155 UINT32 Reserved
:24;
2156 } EFI_MISC_TEMPERATURE_PROBE_LOCATION
;
2159 STRING_REF TemperatureProbeDescription
;
2160 EFI_MISC_TEMPERATURE_PROBE_LOCATION
2161 TemperatureProbeLocation
;
2162 EFI_EXP_BASE10_DATA TemperatureProbeMaximumValue
;
2163 EFI_EXP_BASE10_DATA TemperatureProbeMinimumValue
;
2164 EFI_EXP_BASE10_DATA TemperatureProbeResolution
;
2165 EFI_EXP_BASE10_DATA TemperatureProbeTolerance
;
2166 EFI_EXP_BASE10_DATA TemperatureProbeAccuracy
;
2167 EFI_EXP_BASE10_DATA TemperatureProbeNominalValue
;
2168 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2169 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2170 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2171 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2172 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2173 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2174 UINT32 TemperatureProbeOemDefined
;
2175 } EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA
;
2178 // Electrical Current Probe - SMBIOS Type 29
2181 #define EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000017
2184 UINT32 ElectricalCurrentProbeSite
:5;
2185 UINT32 ElectricalCurrentProbeStatus
:3;
2186 UINT32 Reserved
:24;
2187 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
;
2190 STRING_REF ElectricalCurrentProbeDescription
;
2191 EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
2192 ElectricalCurrentProbeLocation
;
2193 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMaximumValue
;
2194 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMinimumValue
;
2195 EFI_EXP_BASE10_DATA ElectricalCurrentProbeResolution
;
2196 EFI_EXP_BASE10_DATA ElectricalCurrentProbeTolerance
;
2197 EFI_EXP_BASE10_DATA ElectricalCurrentProbeAccuracy
;
2198 EFI_EXP_BASE10_DATA ElectricalCurrentProbeNominalValue
;
2199 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2200 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2201 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2202 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2203 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2204 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2205 UINT32 ElectricalCurrentProbeOemDefined
;
2206 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA
;
2209 // Out-of-Band Remote Access - SMBIOS Type 30
2212 #define EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_RECORD_NUMBER 0x00000018
2215 UINT32 InboundConnectionEnabled
:1;
2216 UINT32 OutboundConnectionEnabled
:1;
2217 UINT32 Reserved
:30;
2218 } EFI_MISC_REMOTE_ACCESS_CONNECTIONS
;
2221 STRING_REF RemoteAccessManufacturerNameDescription
;
2222 EFI_MISC_REMOTE_ACCESS_CONNECTIONS RemoteAccessConnections
;
2223 } EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
;
2226 // Misc. BIS Entry Point - SMBIOS Type 31
2228 #define EFI_MISC_BIS_ENTRY_POINT_RECORD_NUMBER 0x00000019
2231 EFI_PHYSICAL_ADDRESS BisEntryPoint
;
2232 } EFI_MISC_BIS_ENTRY_POINT_DATA
;
2235 // Misc. Boot Information - SMBIOS Type 32
2237 #define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER 0x0000001A
2240 EfiBootInformationStatusNoError
= 0x00,
2241 EfiBootInformationStatusNoBootableMedia
= 0x01,
2242 EfiBootInformationStatusNormalOSFailedLoading
= 0x02,
2243 EfiBootInformationStatusFirmwareDetectedFailure
= 0x03,
2244 EfiBootInformationStatusOSDetectedFailure
= 0x04,
2245 EfiBootInformationStatusUserRequestedBoot
= 0x05,
2246 EfiBootInformationStatusSystemSecurityViolation
= 0x06,
2247 EfiBootInformationStatusPreviousRequestedImage
= 0x07,
2248 EfiBootInformationStatusWatchdogTimerExpired
= 0x08,
2249 EfiBootInformationStatusStartReserved
= 0x09,
2250 EfiBootInformationStatusStartOemSpecific
= 0x80,
2251 EfiBootInformationStatusStartProductSpecific
= 0xC0
2252 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE
;
2255 EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE BootInformationStatus
;
2256 UINT8 BootInformationData
[9];
2257 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA
;
2260 // Management Device - SMBIOS Type 34
2262 #define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER 0x0000001B
2265 EfiManagementDeviceTypeOther
= 0x01,
2266 EfiManagementDeviceTypeUnknown
= 0x02,
2267 EfiManagementDeviceTypeLm75
= 0x03,
2268 EfiManagementDeviceTypeLm78
= 0x04,
2269 EfiManagementDeviceTypeLm79
= 0x05,
2270 EfiManagementDeviceTypeLm80
= 0x06,
2271 EfiManagementDeviceTypeLm81
= 0x07,
2272 EfiManagementDeviceTypeAdm9240
= 0x08,
2273 EfiManagementDeviceTypeDs1780
= 0x09,
2274 EfiManagementDeviceTypeMaxim1617
= 0x0A,
2275 EfiManagementDeviceTypeGl518Sm
= 0x0B,
2276 EfiManagementDeviceTypeW83781D
= 0x0C,
2277 EfiManagementDeviceTypeHt82H791
= 0x0D
2278 } EFI_MISC_MANAGEMENT_DEVICE_TYPE
;
2281 EfiManagementDeviceAddressTypeOther
= 1,
2282 EfiManagementDeviceAddressTypeUnknown
= 2,
2283 EfiManagementDeviceAddressTypeIOPort
= 3,
2284 EfiManagementDeviceAddressTypeMemory
= 4,
2285 EfiManagementDeviceAddressTypeSmbus
= 5
2286 } EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
;
2289 STRING_REF ManagementDeviceDescription
;
2290 EFI_MISC_MANAGEMENT_DEVICE_TYPE ManagementDeviceType
;
2291 UINTN ManagementDeviceAddress
;
2292 EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
2293 ManagementDeviceAddressType
;
2294 } EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA
;
2297 // Management Device Component - SMBIOS Type 35
2300 #define EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_RECORD_NUMBER 0x0000001C
2303 STRING_REF ManagementDeviceComponentDescription
;
2304 EFI_INTER_LINK_DATA ManagementDeviceLink
;
2305 EFI_INTER_LINK_DATA ManagementDeviceComponentLink
;
2306 EFI_INTER_LINK_DATA ManagementDeviceThresholdLink
;
2307 } EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
;
2310 // IPMI Data Record - SMBIOS Type 38
2317 } EFI_MISC_IPMI_INTERFACE_TYPE
;
2320 UINT16 IpmiSpecLeastSignificantDigit
:4;
2321 UINT16 IpmiSpecMostSignificantDigit
: 4;
2323 } EFI_MISC_IPMI_SPECIFICATION_REVISION
;
2326 EFI_MISC_IPMI_INTERFACE_TYPE IpmiInterfaceType
;
2327 EFI_MISC_IPMI_SPECIFICATION_REVISION
2328 IpmiSpecificationRevision
;
2329 UINT16 IpmiI2CSlaveAddress
;
2330 UINT16 IpmiNvDeviceAddress
;
2331 UINT64 IpmiBaseAddress
;
2332 EFI_DEVICE_PATH_PROTOCOL IpmiDevicePath
;
2333 } EFI_MISC_IPMI_INTERFACE_TYPE_DATA
;
2335 #define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER 0x0000001D
2338 //System Power supply Record - SMBIOS Type 39
2341 UINT16 PowerSupplyHotReplaceable
:1;
2342 UINT16 PowerSupplyPresent
:1;
2343 UINT16 PowerSupplyUnplugged
:1;
2344 UINT16 InputVoltageRangeSwitch
:4;
2345 UINT16 PowerSupplyStatus
:3;
2346 UINT16 PowerSupplyType
:4;
2348 } POWER_SUPPLY_CHARACTERISTICS
;
2351 UINT16 PowerUnitGroup
;
2352 STRING_REF PowerSupplyLocation
;
2353 STRING_REF PowerSupplyDeviceName
;
2354 STRING_REF PowerSupplyManufacturer
;
2355 STRING_REF PowerSupplySerialNumber
;
2356 STRING_REF PowerSupplyAssetTagNumber
;
2357 STRING_REF PowerSupplyModelPartNumber
;
2358 STRING_REF PowerSupplyRevisionLevel
;
2359 UINT16 PowerSupplyMaxPowerCapacity
;
2360 POWER_SUPPLY_CHARACTERISTICS PowerSupplyCharacteristics
;
2361 EFI_INTER_LINK_DATA PowerSupplyInputVoltageProbeLink
;
2362 EFI_INTER_LINK_DATA PowerSupplyCoolingDeviceLink
;
2363 EFI_INTER_LINK_DATA PowerSupplyInputCurrentProbeLink
;
2364 } EFI_MISC_SYSTEM_POWER_SUPPLY_DATA
;
2366 #define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E
2369 // OEM Data Record - SMBIOS Type 0x80-0xFF
2375 } SMBIOS_STRUCTURE_HDR
;
2378 SMBIOS_STRUCTURE_HDR Header
;
2380 } EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA
;
2382 #define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER 0x0000001F
2385 // Misc. System Event Log - SMBIOS Type 15
2387 #define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x00000020
2389 UINT16 LogAreaLength
;
2390 UINT16 LogHeaderStartOffset
;
2391 UINT16 LogDataStartOffset
;
2394 UINT32 LogChangeToken
;
2395 UINT32 AccessMethodAddress
;
2396 UINT8 LogHeaderFormat
;
2397 UINT8 NumberOfSupportedLogType
;
2398 UINT8 LengthOfLogDescriptor
;
2399 } EFI_MISC_SYSTEM_EVENT_LOG_DATA
;
2403 // 0x00~0x04: as following definition
2404 // 0x05~0x7f: Available for future assignment.
2405 // 0x80~0xff: BIOS Vendor/OEM-specific.
2407 #define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT 0x00
2408 #define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT 0X01
2409 #define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT 0X02
2410 #define ACCESS_MEMORY_MAPPED 0x03
2411 #define ACCESS_GPNV 0x04
2414 //Management Device Threshold Data Record - SMBIOS Type 36
2416 #define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER 0x00000021
2419 UINT16 LowerThresNonCritical
;
2420 UINT16 UpperThresNonCritical
;
2421 UINT16 LowerThresCritical
;
2422 UINT16 UpperThresCritical
;
2423 UINT16 LowerThresNonRecover
;
2424 UINT16 UpperThresNonRecover
;
2425 } EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD
;
2428 // Declare the following strutures alias to use them more conviniently.
2430 typedef EFI_MISC_LAST_PCI_BUS_DATA EFI_MISC_LAST_PCI_BUS
;
2431 typedef EFI_MISC_BIOS_VENDOR_DATA EFI_MISC_BIOS_VENDOR
;
2432 typedef EFI_MISC_SYSTEM_MANUFACTURER_DATA EFI_MISC_SYSTEM_MANUFACTURER
;
2433 typedef EFI_MISC_BASE_BOARD_MANUFACTURER_DATA EFI_MISC_BASE_BOARD_MANUFACTURER
;
2434 typedef EFI_MISC_CHASSIS_MANUFACTURER_DATA EFI_MISC_CHASSIS_MANUFACTURER
;
2435 typedef EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR
;
2436 typedef EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA EFI_MISC_SYSTEM_SLOT_DESIGNATION
;
2437 typedef EFI_MISC_ONBOARD_DEVICE_DATA EFI_MISC_ONBOARD_DEVICE
;
2438 typedef EFI_MISC_PORTING_DEVICE_TYPE_DATA EFI_MISC_ONBOARD_DEVICE_TYPE_DATA
;
2439 typedef EFI_MISC_OEM_STRING_DATA EFI_MISC_OEM_STRING
;
2440 typedef EFI_MISC_SYSTEM_OPTION_STRING_DATA EFI_MISC_SYSTEM_OPTION_STRING
;
2441 typedef EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES
;
2442 typedef EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA EFI_MISC_SYSTEM_LANGUAGE_STRING
;
2443 typedef EFI_MISC_SYSTEM_EVENT_LOG_DATA EFI_MISC_SYSTEM_EVENT_LOG
;
2444 typedef EFI_MISC_BIS_ENTRY_POINT_DATA EFI_MISC_BIS_ENTRY_POINT
;
2445 typedef EFI_MISC_BOOT_INFORMATION_STATUS_DATA EFI_MISC_BOOT_INFORMATION_STATUS
;
2446 typedef EFI_MISC_SYSTEM_POWER_SUPPLY_DATA EFI_MISC_SYSTEM_POWER_SUPPLY
;
2447 typedef EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION
;
2448 typedef EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA EFI_MISC_SCHEDULED_POWER_ON_MONTH
;
2449 typedef EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA EFI_MISC_VOLTAGE_PROBE_DESCRIPTION
;
2450 typedef EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA EFI_MISC_COOLING_DEVICE_TEMP_LINK
;
2451 typedef EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION
;
2452 typedef EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
2453 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION
;
2454 typedef EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION
;
2455 typedef EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION
;
2458 EFI_MISC_LAST_PCI_BUS_DATA LastPciBus
;
2459 EFI_MISC_BIOS_VENDOR_DATA MiscBiosVendor
;
2460 EFI_MISC_SYSTEM_MANUFACTURER_DATA MiscSystemManufacturer
;
2461 EFI_MISC_BASE_BOARD_MANUFACTURER_DATA MiscBaseBoardManufacturer
;
2462 EFI_MISC_CHASSIS_MANUFACTURER_DATA MiscChassisManufacturer
;
2463 EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA MiscPortInternalConnectorDesignator
;
2464 EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA MiscSystemSlotDesignation
;
2465 EFI_MISC_ONBOARD_DEVICE_DATA MiscOnboardDevice
;
2466 EFI_MISC_OEM_STRING_DATA MiscOemString
;
2467 EFI_MISC_SYSTEM_OPTION_STRING_DATA MiscOptionString
;
2468 EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA NumberOfInstallableLanguages
;
2469 EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA MiscSystemLanguageString
;
2470 EFI_MISC_SYSTEM_EVENT_LOG_DATA MiscSystemEventLog
;
2471 EFI_MISC_GROUP_NAME_DATA MiscGroupNameData
;
2472 EFI_MISC_GROUP_ITEM_SET_DATA MiscGroupItemSetData
;
2473 EFI_MISC_PORTING_DEVICE_TYPE_DATA MiscPortingDeviceTypeData
;
2474 EFI_MISC_RESET_CAPABILITIES_DATA MiscResetCapablilitiesData
;
2475 EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA MiscHardwareSecuritySettingsData
;
2476 EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA MiscScheduledPowerOnMonthData
;
2477 EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA MiscVoltagePorbeDescriptionData
;
2478 EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA MiscCoolingDeviceTempLinkData
;
2479 EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA MiscTemperatureProbeDescriptionData
;
2480 EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA MiscElectricalCurrentProbeDescriptionData
;
2481 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
2482 MiscRemoteAccessManufacturerDescriptionData
;
2483 EFI_MISC_BIS_ENTRY_POINT_DATA MiscBisEntryPoint
;
2484 EFI_MISC_BOOT_INFORMATION_STATUS_DATA MiscBootInformationStatus
;
2485 EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA MiscMangementDeviceDescriptionData
;
2486 EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
2487 MiscmangementDeviceComponentDescriptionData
;
2488 EFI_MISC_IPMI_INTERFACE_TYPE_DATA MiscIpmiInterfaceTypeData
;
2489 EFI_MISC_SYSTEM_POWER_SUPPLY_DATA MiscPowerSupplyInfo
;
2490 EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA MiscSmbiosStructEncapsulation
;
2491 EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD MiscManagementDeviceThreshold
;
2492 } EFI_MISC_SUBCLASS_RECORDS
;
2498 EFI_SUBCLASS_TYPE1_HEADER Header
;
2499 EFI_MISC_SUBCLASS_RECORDS Record
;
2500 } EFI_MISC_SUBCLASS_DRIVER_DATA
;
2505 // Sub Class Header type1
2508 #define EFI_SUBCLASS_INSTANCE_RESERVED 0
2509 #define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF //16 bit