2 DataHubRecord.h includes all data hub sub class GUID definitions.
4 This file includes all data hub sub class defitions from
5 Cache subclass spec 0.9, DataHub SubClass spec 0.9, Memory SubClass Spec 0.9,
6 Processor Subclass spec 0.9, and Misc SubClass spec 0.9.
8 Copyright (c) 2007 - 2009, Intel Corporation
9 All rights reserved. This program and the accompanying materials
10 are licensed and made available under the terms and conditions of the BSD License
11 which accompanies this distribution. The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #ifndef _DATAHUB_RECORDS_GUID_H_
19 #define _DATAHUB_RECORDS_GUID_H_
21 #define EFI_PROCESSOR_SUBCLASS_GUID \
22 { 0x26fdeb7e, 0xb8af, 0x4ccf, {0xaa, 0x97, 0x02, 0x63, 0x3c, 0xe4, 0x8c, 0xa7 } }
24 extern EFI_GUID gEfiProcessorSubClassGuid
;
27 #define EFI_CACHE_SUBCLASS_GUID \
28 { 0x7f0013a7, 0xdc79, 0x4b22, {0x80, 0x99, 0x11, 0xf7, 0x5f, 0xdc, 0x82, 0x9d } }
30 extern EFI_GUID gEfiCacheSubClassGuid
;
33 /// The memory subclass belongs to the data class and is identified as the memory
34 /// subclass by the GUID.
36 #define EFI_MEMORY_SUBCLASS_GUID \
37 {0x4E8F4EBB, 0x64B9, 0x4e05, {0x9B, 0x18, 0x4C, 0xFE, 0x49, 0x23, 0x50, 0x97} }
39 extern EFI_GUID gEfiMemorySubClassGuid
;
41 #define EFI_MISC_SUBCLASS_GUID \
42 { 0x772484B2, 0x7482, 0x4b91, {0x9F, 0x9A, 0xAD, 0x43, 0xF8, 0x1C, 0x58, 0x81 } }
44 extern EFI_GUID gEfiMiscSubClassGuid
;
48 /// Inconsistent with specification here:
49 /// In ProcSubclass spec 0.9, the value is 0x0100.
50 /// Keep it unchanged from the perspective of binary consistency.
52 #define EFI_PROCESSOR_SUBCLASS_VERSION 0x00010000
56 typedef struct _USB_PORT_DEVICE_PATH
{
57 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
58 PCI_DEVICE_PATH PciBusDevicePath
;
59 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
60 } USB_PORT_DEVICE_PATH
;
65 typedef struct _IDE_DEVICE_PATH
{
66 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
67 PCI_DEVICE_PATH PciBusDevicePath
;
68 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
74 typedef struct _RMC_CONN_DEVICE_PATH
{
75 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
76 PCI_DEVICE_PATH PciBridgeDevicePath
;
77 PCI_DEVICE_PATH PciBusDevicePath
;
78 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
79 } RMC_CONN_DEVICE_PATH
;
84 typedef struct _RIDE_DEVICE_PATH
{
85 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
86 PCI_DEVICE_PATH PciBridgeDevicePath
;
87 PCI_DEVICE_PATH PciBusDevicePath
;
88 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
94 typedef struct _GB_NIC_DEVICE_PATH
{
95 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
96 PCI_DEVICE_PATH PciBridgeDevicePath
;
97 PCI_DEVICE_PATH PciXBridgeDevicePath
;
98 PCI_DEVICE_PATH PciXBusDevicePath
;
99 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
100 } GB_NIC_DEVICE_PATH
;
105 typedef struct _PS2_CONN_DEVICE_PATH
{
106 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
107 PCI_DEVICE_PATH LpcBridgeDevicePath
;
108 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
109 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
110 } PS2_CONN_DEVICE_PATH
;
113 // Serial Port Connector
115 typedef struct _SERIAL_CONN_DEVICE_PATH
{
116 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
117 PCI_DEVICE_PATH LpcBridgeDevicePath
;
118 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
119 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
120 } SERIAL_CONN_DEVICE_PATH
;
123 // Parallel Port Connector
125 typedef struct _PARALLEL_CONN_DEVICE_PATH
{
126 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
127 PCI_DEVICE_PATH LpcBridgeDevicePath
;
128 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
129 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
130 } PARALLEL_CONN_DEVICE_PATH
;
135 typedef struct _FLOOPY_CONN_DEVICE_PATH
{
136 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
137 PCI_DEVICE_PATH LpcBridgeDevicePath
;
138 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
139 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
140 } FLOOPY_CONN_DEVICE_PATH
;
143 /// Inconsistent with specification here:
144 /// In MiscSubclass spec 0.9, this data structure and corrsponding fields are NOT defined.
145 /// It's implementation-specific to simplify the code logic.
147 typedef union _EFI_MISC_PORT_DEVICE_PATH
{
148 USB_PORT_DEVICE_PATH UsbDevicePath
;
149 IDE_DEVICE_PATH IdeDevicePath
;
150 RMC_CONN_DEVICE_PATH RmcConnDevicePath
;
151 RIDE_DEVICE_PATH RideDevicePath
;
152 GB_NIC_DEVICE_PATH GbNicDevicePath
;
153 PS2_CONN_DEVICE_PATH Ps2ConnDevicePath
;
154 SERIAL_CONN_DEVICE_PATH SerialConnDevicePath
;
155 PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath
;
156 FLOOPY_CONN_DEVICE_PATH FloppyConnDevicePath
;
157 } EFI_MISC_PORT_DEVICE_PATH
;
162 /// String Token Definition
164 /// Inconsistent with specification here:
165 /// The macro isn't defined by any spec.
166 /// Keep it unchanged for backward compatibility.
168 #define EFI_STRING_TOKEN UINT16
171 /// Each data record that is a member of some subclass starts with a standard
172 /// header of type EFI_SUBCLASS_TYPE1_HEADER.
173 /// This header is only a guideline and applicable only to a data
174 /// subclass that is producing SMBIOS data records. A subclass can start with a
175 /// different header if needed.
179 /// The version of the specification to which a specific subclass data record adheres.
183 /// The size in bytes of this data class header.
187 /// The instance number of the subclass with the same ProducerName. This number is
188 /// applicable in cases where multiple subclass instances that were produced by the same
189 /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not
190 /// Applicable. All data consumer drivers should be able to handle all the possible values
191 /// of Instance, including Not Applicable and Reserved.
195 /// The instance number of the RecordType for the same Instance. This number is
196 /// applicable in cases where multiple instances of the RecordType exist for a specific
197 /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.
198 /// All data consumer drivers should be able to handle all the possible values of
199 /// SubInstance, including Not Applicable and Reserved.
203 /// The record number for the data record being specified. The numbering scheme and
204 /// definition is defined in the specific subclass specification.
207 } EFI_SUBCLASS_TYPE1_HEADER
;
210 /// This structure is used to link data records in the same subclasses. A data record is
211 /// defined as a link to another data record in the same subclass using this structure.
215 /// An EFI_GUID that identifies the component that produced this data record. Type
216 /// EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
218 EFI_GUID ProducerName
;
220 /// The instance number of the subclass with the same ProducerName. This number is
221 /// applicable in cases where multiple subclass instances that were produced by the same
222 /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not
223 /// Applicable. All data consumer drivers should be able to handle all the possible values
224 /// of Instance, including Not Applicable and Reserved.
227 /// The instance number of the RecordType for the same Instance. This number is
228 /// applicable in cases where multiple instances of the RecordType exist for a specific
229 /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.
230 /// All data consumer drivers should be able to handle all the possible values of
231 /// SubInstance, including Not Applicable and Reserved.
233 } EFI_INTER_LINK_DATA
;
239 /// This macro provides a calculation for base-10 representations. Value and Exponent are each
240 /// INT16. It is signed to cover negative values and is 16 bits wide (15 bits for data and 1 bit
245 /// The INT16 number by which to multiply the base-10 representation.
249 /// The INT16 number by which to raise the base-10 calculation.
252 } EFI_EXP_BASE2_DATA
;
255 /// This macro provides a calculation for base-2 representations. Value and Exponent are each
256 /// INT16. It is 16 bits wide and is unsigned to mean nonnegative values.
260 /// The INT16 number by which to multiply the base-2 representation.
264 /// The INT16 number by which to raise the base-2 calculation.
267 } EFI_EXP_BASE10_DATA
;
269 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA
;
270 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA
;
271 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_CORE_FREQUENCY_DATA
;
274 /// This data record refers to the list of frequencies that the processor core supports. The list of
275 /// supported frequencies is determined by the firmware based on hardware capabilities--for example,
276 /// it could be a common subset of all processors and the chipset. The unit of measurement of this data
277 /// record is in Hertz. For asynchronous processors, the content of this data record is zero.
278 /// The list is terminated by -1 in the Value field of the last element. A Value field of zero means
279 /// that the processor/driver supports automatic frequency selection.
281 /// Inconsistent with specification here:
282 /// According to MiscSubclass 0.9 spec, it should be a pointer since it refers to a list of frequencies.
284 typedef EFI_EXP_BASE10_DATA
*EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA
;
287 /// This data record refers to the list of supported frequencies of the processor external bus. The list of
288 /// supported frequencies is determined by the firmware based on hardware capabilities--for example,
289 /// it could be a common subset of all processors and the chipset. The unit of measurement of this data
290 /// record is in Hertz. For asynchronous processors, the content of this data record is NULL.
291 /// The list is terminated by -1 in the Value field of the last element. A Value field of zero means
292 /// that the processor/driver supports automatic frequency selection.
294 typedef EFI_EXP_BASE10_DATA
*EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA
;
295 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_FSB_FREQUENCY_DATA
;
296 typedef STRING_REF EFI_PROCESSOR_VERSION_DATA
;
297 typedef STRING_REF EFI_PROCESSOR_MANUFACTURER_DATA
;
298 typedef STRING_REF EFI_PROCESSOR_SERIAL_NUMBER_DATA
;
299 typedef STRING_REF EFI_PROCESSOR_ASSET_TAG_DATA
;
302 UINT32 ProcessorSteppingId
:4;
303 UINT32 ProcessorModel
: 4;
304 UINT32 ProcessorFamily
: 4;
305 UINT32 ProcessorType
: 2;
306 UINT32 ProcessorReserved1
: 2;
307 UINT32 ProcessorXModel
: 4;
308 UINT32 ProcessorXFamily
: 8;
309 UINT32 ProcessorReserved2
: 4;
310 } EFI_PROCESSOR_SIGNATURE
;
314 /// Inconsistent with specification here:
315 /// The name of third field in ProcSubClass spec0.9 is LogicalProcessorCount.
316 /// Keep it unchanged for backward compatibility.
319 UINT32 ProcessorBrandIndex
:8;
320 UINT32 ProcessorClflush
:8;
321 UINT32 ProcessorReserved
:8;
322 UINT32 ProcessorDfltApicId
:8;
323 } EFI_PROCESSOR_MISC_INFO
;
326 UINT32 ProcessorFpu
: 1;
327 UINT32 ProcessorVme
: 1;
328 UINT32 ProcessorDe
: 1;
329 UINT32 ProcessorPse
: 1;
330 UINT32 ProcessorTsc
: 1;
331 UINT32 ProcessorMsr
: 1;
332 UINT32 ProcessorPae
: 1;
333 UINT32 ProcessorMce
: 1;
334 UINT32 ProcessorCx8
: 1;
335 UINT32 ProcessorApic
: 1;
336 UINT32 ProcessorReserved1
: 1;
337 UINT32 ProcessorSep
: 1;
338 UINT32 ProcessorMtrr
: 1;
339 UINT32 ProcessorPge
: 1;
340 UINT32 ProcessorMca
: 1;
341 UINT32 ProcessorCmov
: 1;
342 UINT32 ProcessorPat
: 1;
343 UINT32 ProcessorPse36
: 1;
344 UINT32 ProcessorPsn
: 1;
345 UINT32 ProcessorClfsh
: 1;
346 UINT32 ProcessorReserved2
: 1;
347 UINT32 ProcessorDs
: 1;
348 UINT32 ProcessorAcpi
: 1;
349 UINT32 ProcessorMmx
: 1;
350 UINT32 ProcessorFxsr
: 1;
351 UINT32 ProcessorSse
: 1;
352 UINT32 ProcessorSse2
: 1;
353 UINT32 ProcessorSs
: 1;
354 UINT32 ProcessorReserved3
: 1;
355 UINT32 ProcessorTm
: 1;
356 UINT32 ProcessorReserved4
: 2;
357 } EFI_PROCESSOR_FEATURE_FLAGS
;
360 /// This data record refers to the unique ID that identifies a set of processors. This data record is 16
361 /// bytes in length. The data in this structure is processor specific and reserved values can be defined
362 /// for future use. The consumer of this data should not make any assumption and should use this data
363 /// with respect to the processor family defined in the Family record number.
367 /// Identifies the processor.
369 EFI_PROCESSOR_SIGNATURE Signature
;
371 /// Provides additional processor information.
373 EFI_PROCESSOR_MISC_INFO MiscInfo
;
375 /// Reserved for future use.
379 /// Provides additional processor information.
381 EFI_PROCESSOR_FEATURE_FLAGS FeatureFlags
;
382 } EFI_PROCESSOR_ID_DATA
;
385 /// This data record refers to the general classification of the processor. This data record is 4 bytes in
389 EfiProcessorOther
= 1,
390 EfiProcessorUnknown
= 2,
391 EfiCentralProcessor
= 3,
392 EfiMathProcessor
= 4,
394 EfiVideoProcessor
= 6
395 } EFI_PROCESSOR_TYPE_DATA
;
398 /// This data record refers to the family of the processor as defined by the DMTF.
399 /// This data record is 4 bytes in length.
402 EfiProcessorFamilyOther
= 0x01,
403 EfiProcessorFamilyUnknown
= 0x02,
404 EfiProcessorFamily8086
= 0x03,
405 EfiProcessorFamily80286
= 0x04,
406 EfiProcessorFamilyIntel386
= 0x05,
407 EfiProcessorFamilyIntel486
= 0x06,
408 EfiProcessorFamily8087
= 0x07,
409 EfiProcessorFamily80287
= 0x08,
410 EfiProcessorFamily80387
= 0x09,
411 EfiProcessorFamily80487
= 0x0A,
412 EfiProcessorFamilyPentium
= 0x0B,
413 EfiProcessorFamilyPentiumPro
= 0x0C,
414 EfiProcessorFamilyPentiumII
= 0x0D,
415 EfiProcessorFamilyPentiumMMX
= 0x0E,
416 EfiProcessorFamilyCeleron
= 0x0F,
417 EfiProcessorFamilyPentiumIIXeon
= 0x10,
418 EfiProcessorFamilyPentiumIII
= 0x11,
419 EfiProcessorFamilyM1
= 0x12,
420 EfiProcessorFamilyM2
= 0x13,
421 EfiProcessorFamilyM1Reserved2
= 0x14,
422 EfiProcessorFamilyM1Reserved3
= 0x15,
423 EfiProcessorFamilyM1Reserved4
= 0x16,
424 EfiProcessorFamilyM1Reserved5
= 0x17,
425 EfiProcessorFamilyAmdDuron
= 0x18,
426 EfiProcessorFamilyK5
= 0x19,
427 EfiProcessorFamilyK6
= 0x1A,
428 EfiProcessorFamilyK6_2
= 0x1B,
429 EfiProcessorFamilyK6_3
= 0x1C,
430 EfiProcessorFamilyAmdAthlon
= 0x1D,
431 EfiProcessorFamilyAmd29000
= 0x1E,
432 EfiProcessorFamilyK6_2Plus
= 0x1F,
433 EfiProcessorFamilyPowerPC
= 0x20,
434 EfiProcessorFamilyPowerPC601
= 0x21,
435 EfiProcessorFamilyPowerPC603
= 0x22,
436 EfiProcessorFamilyPowerPC603Plus
= 0x23,
437 EfiProcessorFamilyPowerPC604
= 0x24,
438 EfiProcessorFamilyPowerPC620
= 0x25,
439 EfiProcessorFamilyPowerPCx704
= 0x26,
440 EfiProcessorFamilyPowerPC750
= 0x27,
441 EfiProcessorFamilyAlpha3
= 0x30,
442 EfiProcessorFamilyAlpha21064
= 0x31,
443 EfiProcessorFamilyAlpha21066
= 0x32,
444 EfiProcessorFamilyAlpha21164
= 0x33,
445 EfiProcessorFamilyAlpha21164PC
= 0x34,
446 EfiProcessorFamilyAlpha21164a
= 0x35,
447 EfiProcessorFamilyAlpha21264
= 0x36,
448 EfiProcessorFamilyAlpha21364
= 0x37,
449 EfiProcessorFamilyMips
= 0x40,
450 EfiProcessorFamilyMIPSR4000
= 0x41,
451 EfiProcessorFamilyMIPSR4200
= 0x42,
452 EfiProcessorFamilyMIPSR4400
= 0x43,
453 EfiProcessorFamilyMIPSR4600
= 0x44,
454 EfiProcessorFamilyMIPSR10000
= 0x45,
455 EfiProcessorFamilySparc
= 0x50,
456 EfiProcessorFamilySuperSparc
= 0x51,
457 EfiProcessorFamilymicroSparcII
= 0x52,
458 EfiProcessorFamilymicroSparcIIep
= 0x53,
459 EfiProcessorFamilyUltraSparc
= 0x54,
460 EfiProcessorFamilyUltraSparcII
= 0x55,
461 EfiProcessorFamilyUltraSparcIIi
= 0x56,
462 EfiProcessorFamilyUltraSparcIII
= 0x57,
464 /// Inconsistent with specification here:
465 /// This field in ProcSubClass spec 0.9 is defined as EfiProcessorFamilyUltraSparcIIi.
466 /// Change it to EfiProcessorFamilyUltraSparcIIIi to avoid build break.
468 EfiProcessorFamilyUltraSparcIIIi
= 0x58,
469 EfiProcessorFamily68040
= 0x60,
470 EfiProcessorFamily68xxx
= 0x61,
471 EfiProcessorFamily68000
= 0x62,
472 EfiProcessorFamily68010
= 0x63,
473 EfiProcessorFamily68020
= 0x64,
474 EfiProcessorFamily68030
= 0x65,
475 EfiProcessorFamilyHobbit
= 0x70,
476 EfiProcessorFamilyCrusoeTM5000
= 0x78,
477 EfiProcessorFamilyCrusoeTM3000
= 0x79,
478 EfiProcessorFamilyEfficeonTM8000
= 0x7A,
479 EfiProcessorFamilyWeitek
= 0x80,
480 EfiProcessorFamilyItanium
= 0x82,
481 EfiProcessorFamilyAmdAthlon64
= 0x83,
482 EfiProcessorFamilyAmdOpteron
= 0x84,
483 EfiProcessorFamilyAmdSempron
= 0x85,
484 EfiProcessorFamilyAmdTurion64Mobile
= 0x86,
485 EfiProcessorFamilyDualCoreAmdOpteron
= 0x87,
486 EfiProcessorFamilyAmdAthlon64X2DualCore
= 0x88,
487 EfiProcessorFamilyAmdTurion64X2Mobile
= 0x89,
488 EfiProcessorFamilyPARISC
= 0x90,
489 EfiProcessorFamilyPaRisc8500
= 0x91,
490 EfiProcessorFamilyPaRisc8000
= 0x92,
491 EfiProcessorFamilyPaRisc7300LC
= 0x93,
492 EfiProcessorFamilyPaRisc7200
= 0x94,
493 EfiProcessorFamilyPaRisc7100LC
= 0x95,
494 EfiProcessorFamilyPaRisc7100
= 0x96,
495 EfiProcessorFamilyV30
= 0xA0,
496 EfiProcessorFamilyPentiumIIIXeon
= 0xB0,
497 EfiProcessorFamilyPentiumIIISpeedStep
= 0xB1,
498 EfiProcessorFamilyPentium4
= 0xB2,
499 EfiProcessorFamilyIntelXeon
= 0xB3,
500 EfiProcessorFamilyAS400
= 0xB4,
501 EfiProcessorFamilyIntelXeonMP
= 0xB5,
502 EfiProcessorFamilyAMDAthlonXP
= 0xB6,
503 EfiProcessorFamilyAMDAthlonMP
= 0xB7,
504 EfiProcessorFamilyIntelItanium2
= 0xB8,
506 /// Inconsistent with specification here:
507 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
509 EfiProcessorFamilyIntelPentiumM
= 0xB9,
511 /// Inconsistent with specification here:
512 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
514 EfiProcessorFamilyIntelCeleronD
= 0xBA,
516 /// Inconsistent with specification here:
517 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
519 EfiProcessorFamilyIntelPentiumD
= 0xBB,
521 /// Inconsistent with specification here:
522 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
524 EfiProcessorFamilyIntelPentiumEx
= 0xBC,
526 /// Inconsistent with specification here:
527 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
529 EfiProcessorFamilyIntelCoreSolo
= 0xBD,
531 /// Inconsistent with specification here:
532 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
534 EfiProcessorFamilyReserved
= 0xBE,
536 /// Inconsistent with specification here:
537 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
539 EfiProcessorFamilyIntelCore2
= 0xBF,
540 EfiProcessorFamilyIBM390
= 0xC8,
541 EfiProcessorFamilyG4
= 0xC9,
542 EfiProcessorFamilyG5
= 0xCA,
544 /// Inconsistent with specification here:
545 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
547 EfiProcessorFamilyG6
= 0xCB,
549 /// Inconsistent with specification here:
550 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
552 EfiProcessorFamilyzArchitectur
= 0xCC,
554 /// Inconsistent with specification here:
555 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
557 EfiProcessorFamilyViaC7M
= 0xD2,
559 /// Inconsistent with specification here:
560 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
562 EfiProcessorFamilyViaC7D
= 0xD3,
564 /// Inconsistent with specification here:
565 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
567 EfiProcessorFamilyViaC7
= 0xD4,
569 /// Inconsistent with specification here:
570 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
572 EfiProcessorFamilyViaEden
= 0xD5,
573 EfiProcessorFamilyi860
= 0xFA,
574 EfiProcessorFamilyi960
= 0xFB,
576 /// Inconsistent with specification here:
577 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
579 EfiProcessorFamilyIndicatorFamily2
= 0xFE,
581 /// Inconsistent with specification here:
582 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
584 EfiProcessorFamilyReserved1
= 0xFF
585 } EFI_PROCESSOR_FAMILY_DATA
;
588 /// This data record refers to the core voltage of the processor being defined. The unit of measurement
589 /// of this data record is in volts.
591 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_VOLTAGE_DATA
;
594 /// This data record refers to the base address of the APIC of the processor being defined. This data
595 /// record is a physical address location.
597 typedef EFI_PHYSICAL_ADDRESS EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA
;
600 /// This data record refers to the ID of the APIC of the processor being defined. This data record is a
603 typedef UINT32 EFI_PROCESSOR_APIC_ID_DATA
;
606 /// This data record refers to the version number of the APIC of the processor being defined. This data
607 /// record is a 4-byte entry.
609 typedef UINT32 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA
;
612 EfiProcessorIa32Microcode
= 1,
613 EfiProcessorIpfPalAMicrocode
= 2,
614 EfiProcessorIpfPalBMicrocode
= 3
615 } EFI_PROCESSOR_MICROCODE_TYPE
;
618 /// This data record refers to the revision of the processor microcode that is loaded in the processor.
619 /// This data record is a 4-byte entry.
623 /// Identifies what type of microcode the data is.
625 EFI_PROCESSOR_MICROCODE_TYPE ProcessorMicrocodeType
;
627 /// Indicates the revision number of this microcode.
629 UINT32 ProcessorMicrocodeRevisionNumber
;
630 } EFI_PROCESSOR_MICROCODE_REVISION_DATA
;
633 /// This data record refers to the status of the processor.
636 UINT32 CpuStatus
:3; ///< Indicates the status of the processor.
637 UINT32 Reserved1
:3; ///< Reserved for future use. Should be set to zero.
638 UINT32 SocketPopulated
:1; ///< Indicates if the processor is socketed or not.
639 UINT32 Reserved2
:1; ///< Reserved for future use. Should be set to zero.
640 UINT32 ApicEnable
:1; ///< Indicates if the APIC is enabled or not.
641 UINT32 BootApplicationProcessor
:1; ///< Indicates if this processor is the boot processor.
642 UINT32 Reserved3
:22;///< Reserved for future use. Should be set to zero.
643 } EFI_PROCESSOR_STATUS_DATA
;
646 EfiCpuStatusUnknown
= 0,
647 EfiCpuStatusEnabled
= 1,
648 EfiCpuStatusDisabledByUser
= 2,
649 EfiCpuStatusDisabledbyBios
= 3,
650 EfiCpuStatusIdle
= 4,
651 EfiCpuStatusOther
= 7
655 EfiProcessorSocketOther
= 1,
656 EfiProcessorSocketUnknown
= 2,
657 EfiProcessorSocketDaughterBoard
= 3,
658 EfiProcessorSocketZIF
= 4,
659 EfiProcessorSocketReplacePiggyBack
= 5,
660 EfiProcessorSocketNone
= 6,
661 EfiProcessorSocketLIF
= 7,
662 EfiProcessorSocketSlot1
= 8,
663 EfiProcessorSocketSlot2
= 9,
664 EfiProcessorSocket370Pin
= 0xA,
665 EfiProcessorSocketSlotA
= 0xB,
666 EfiProcessorSocketSlotM
= 0xC,
667 EfiProcessorSocket423
= 0xD,
668 EfiProcessorSocketA462
= 0xE,
669 EfiProcessorSocket478
= 0xF,
670 EfiProcessorSocket754
= 0x10,
671 EfiProcessorSocket940
= 0x11,
673 /// Inconsistent with specification here:
674 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
676 EfiProcessorSocket939
= 0x12,
678 /// Inconsistent with specification here:
679 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
681 EfiProcessorSocketmPGA604
= 0x13,
683 /// Inconsistent with specification here:
684 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
686 EfiProcessorSocketLGA771
= 0x14,
688 /// Inconsistent with specification here:
689 /// This field is NOT defined in ProcSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
691 EfiProcessorSocketLGA775
= 0x15
693 } EFI_PROCESSOR_SOCKET_TYPE_DATA
;
695 typedef STRING_REF EFI_PROCESSOR_SOCKET_NAME_DATA
;
698 /// Inconsistent with specification here:
699 /// In ProcSubclass spec 0.9, the naming is EFI_PROCESSOR_CACHE_ASSOCIATION_DATA.
700 /// Keep it unchanged for backward compatibilty.
702 typedef EFI_INTER_LINK_DATA EFI_CACHE_ASSOCIATION_DATA
;
705 /// This data record refers to the health status of the processor.
707 /// Inconsistent with specification here:
708 /// In ProcSubclass spec 0.9, the naming is EFI_PROCESSOR_HEALTH_STATUS_DATA.
709 /// Keep it unchanged for backward compatibilty.
712 EfiProcessorHealthy
= 1,
713 EfiProcessorPerfRestricted
= 2,
714 EfiProcessorFuncRestricted
= 3
715 } EFI_PROCESSOR_HEALTH_STATUS
;
718 /// This data record refers to the package number of this processor. Multiple logical processors can
719 /// exist in a system and each logical processor can be correlated to the physical processor using this
722 typedef UINTN EFI_PROCESSOR_PACKAGE_NUMBER_DATA
;
725 /// Inconsistent with specification here:
726 /// In ProcSubclass spec 0.9, the enumeration type data structure is NOT defined.
727 /// The equivalent in spec is
728 /// #define EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER 0x00000001
729 /// #define EFI_PROCESSOR_BUS_FREQUENCY_RECORD_NUMBER 0x00000002
730 /// #define EFI_PROCESSOR_VERSION_RECORD_NUMBER 0x00000003
731 /// #define EFI_PROCESSOR_MANUFACTURER_RECORD_NUMBER 0x00000004
732 /// #define EFI_PROCESSOR_SERIAL_NUMBER_RECORD_NUMBER 0x00000005
733 /// #define EFI_PROCESSOR_ID_RECORD_NUMBER 0x00000006
734 /// #define EFI_PROCESSOR_TYPE_RECORD_NUMBER 0x00000007
735 /// #define EFI_PROCESSOR_FAMILY_RECORD_NUMBER 0x00000008
736 /// #define EFI_PROCESSOR_VOLTAGE_RECORD_NUMBER 0x00000009
737 /// #define EFI_PROCESSOR_APIC_BASE_ADDRESS_RECORD_NUMBER 0x0000000A
738 /// #define EFI_PROCESSOR_APIC_ID_RECORD_NUMBER 0x0000000B
739 /// #define EFI_PROCESSOR_APIC_VER_NUMBER_RECORD_NUMBER 0x0000000C
740 /// #define EFI_PROCESSOR_MICROCODE_REVISION_RECORD_NUMBER 0x0000000D
741 /// #define EFI_PROCESSOR_STATUS_RECORD_NUMBER 0x0000000E
742 /// #define EFI_PROCESSOR_SOCKET_TYPE_RECORD_NUMBER 0x0000000F
743 /// #define EFI_PROCESSOR_SOCKET_NAME_RECORD_NUMBER 0x00000010
744 /// #define EFI_PROCESSOR_CACHE_ASSOCIATION_RECORD_NUMBER 0x00000011
745 /// #define EFI_PROCESSOR_MAX_FREQUENCY_RECORD_NUMBER 0x00000012
746 /// #define EFI_PROCESSOR_ASSET_TAG_RECORD_NUMBER 0x00000013
747 /// #define EFI_PROCESSOR_MAX_FSB_FREQUENCY_RECORD_NUMBER 0x00000014
748 /// #define EFI_PROCESSOR_PACKAGE_NUMBER_RECORD_NUMBER 0x00000015
749 /// #define EFI_PROCESSOR_FREQUENCY_LIST_RECORD_NUMBER 0x00000016
750 /// #define EFI_PROCESSOR_FSB_FREQUENCY_LIST_RECORD_NUMBER 0x00000017
751 /// #define EFI_PROCESSOR_HEALTH_STATUS_RECORD_NUMBER 0x00000018
753 /// Keep the definition unchanged for backward compatibility.
755 ProcessorCoreFrequencyRecordType
= 1,
756 ProcessorFsbFrequencyRecordType
= 2,
757 ProcessorVersionRecordType
= 3,
758 ProcessorManufacturerRecordType
= 4,
759 ProcessorSerialNumberRecordType
= 5,
760 ProcessorIdRecordType
= 6,
761 ProcessorTypeRecordType
= 7,
762 ProcessorFamilyRecordType
= 8,
763 ProcessorVoltageRecordType
= 9,
764 ProcessorApicBaseAddressRecordType
= 10,
765 ProcessorApicIdRecordType
= 11,
766 ProcessorApicVersionNumberRecordType
= 12,
767 CpuUcodeRevisionDataRecordType
= 13,
768 ProcessorStatusRecordType
= 14,
769 ProcessorSocketTypeRecordType
= 15,
770 ProcessorSocketNameRecordType
= 16,
771 CacheAssociationRecordType
= 17,
772 ProcessorMaxCoreFrequencyRecordType
= 18,
773 ProcessorAssetTagRecordType
= 19,
774 ProcessorMaxFsbFrequencyRecordType
= 20,
775 ProcessorPackageNumberRecordType
= 21,
776 ProcessorCoreFrequencyListRecordType
= 22,
777 ProcessorFsbFrequencyListRecordType
= 23,
778 ProcessorHealthStatusRecordType
= 24
779 } EFI_CPU_VARIABLE_RECORD_TYPE
;
782 /// Inconsistent with specification here:
783 /// In ProcSubclass spec 0.9, the union type data structure is NOT defined.
784 /// It's implementation-specific to simplify the code logic.
787 EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA ProcessorCoreFrequencyList
;
788 EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA ProcessorFsbFrequencyList
;
789 EFI_PROCESSOR_SERIAL_NUMBER_DATA ProcessorSerialNumber
;
790 EFI_PROCESSOR_CORE_FREQUENCY_DATA ProcessorCoreFrequency
;
791 EFI_PROCESSOR_FSB_FREQUENCY_DATA ProcessorFsbFrequency
;
792 EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA ProcessorMaxCoreFrequency
;
793 EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA ProcessorMaxFsbFrequency
;
794 EFI_PROCESSOR_VERSION_DATA ProcessorVersion
;
795 EFI_PROCESSOR_MANUFACTURER_DATA ProcessorManufacturer
;
796 EFI_PROCESSOR_ID_DATA ProcessorId
;
797 EFI_PROCESSOR_TYPE_DATA ProcessorType
;
798 EFI_PROCESSOR_FAMILY_DATA ProcessorFamily
;
799 EFI_PROCESSOR_VOLTAGE_DATA ProcessorVoltage
;
800 EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA ProcessorApicBase
;
801 EFI_PROCESSOR_APIC_ID_DATA ProcessorApicId
;
802 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA ProcessorApicVersionNumber
;
803 EFI_PROCESSOR_MICROCODE_REVISION_DATA CpuUcodeRevisionData
;
804 EFI_PROCESSOR_STATUS_DATA ProcessorStatus
;
805 EFI_PROCESSOR_SOCKET_TYPE_DATA ProcessorSocketType
;
806 EFI_PROCESSOR_SOCKET_NAME_DATA ProcessorSocketName
;
807 EFI_PROCESSOR_ASSET_TAG_DATA ProcessorAssetTag
;
808 EFI_PROCESSOR_HEALTH_STATUS ProcessorHealthStatus
;
809 EFI_PROCESSOR_PACKAGE_NUMBER_DATA ProcessorPackageNumber
;
810 } EFI_CPU_VARIABLE_RECORD
;
813 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader
;
814 EFI_CPU_VARIABLE_RECORD VariableRecord
;
815 } EFI_CPU_DATA_RECORD
;
817 #define EFI_CACHE_SUBCLASS_VERSION 0x00010000
819 typedef EFI_EXP_BASE2_DATA EFI_CACHE_SIZE_DATA
;
821 /// Inconsistent with specification here:
822 /// In CacheSubclass spec 0.9, the naming is EFI_CACHE_MAXIMUM_SIZE_DATA.
823 /// Keep it unchanged for backward compatibilty.
825 typedef EFI_EXP_BASE2_DATA EFI_MAXIMUM_CACHE_SIZE_DATA
;
826 typedef EFI_EXP_BASE10_DATA EFI_CACHE_SPEED_DATA
;
827 typedef STRING_REF EFI_CACHE_SOCKET_DATA
;
834 UINT32 PipelineBurst
:1;
835 UINT32 Asynchronous
:1;
836 UINT32 Synchronous
:1;
838 } EFI_CACHE_SRAM_TYPE_DATA
;
840 typedef EFI_CACHE_SRAM_TYPE_DATA EFI_CACHE_SRAM_INSTALL_DATA
;
843 EfiCacheErrorOther
= 1,
844 EfiCacheErrorUnknown
= 2,
845 EfiCacheErrorNone
= 3,
846 EfiCacheErrorParity
= 4,
847 EfiCacheErrorSingleBit
= 5,
848 EfiCacheErrorMultiBit
= 6
849 } EFI_CACHE_ERROR_TYPE_DATA
;
852 EfiCacheTypeOther
= 1,
853 EfiCacheTypeUnknown
= 2,
854 EfiCacheTypeInstruction
= 3,
855 EfiCacheTypeData
= 4,
856 EfiCacheTypeUnified
= 5
857 } EFI_CACHE_TYPE_DATA
;
860 EfiCacheAssociativityOther
= 1,
861 EfiCacheAssociativityUnknown
= 2,
862 EfiCacheAssociativityDirectMapped
= 3,
863 EfiCacheAssociativity2Way
= 4,
864 EfiCacheAssociativity4Way
= 5,
865 EfiCacheAssociativityFully
= 6,
866 EfiCacheAssociativity8Way
= 7,
867 EfiCacheAssociativity16Way
= 8
868 } EFI_CACHE_ASSOCIATIVITY_DATA
;
871 /// Inconsistent with specification here:
872 /// In CacheSubclass 0.9 spec. It defines the field type as UINT16.
873 /// In fact, it should be UINT32 type since it refers to a 32bit width data.
881 UINT32 OperationalMode
:2;
882 UINT32 Reserved1
:22;
883 } EFI_CACHE_CONFIGURATION_DATA
;
885 #define EFI_CACHE_L1 1
886 #define EFI_CACHE_L2 2
887 #define EFI_CACHE_L3 3
888 #define EFI_CACHE_L4 4
889 #define EFI_CACHE_LMAX EFI_CACHE_L4
891 #define EFI_CACHE_SOCKETED 1
892 #define EFI_CACHE_NOT_SOCKETED 0
895 EfiCacheInternal
= 0,
896 EfiCacheExternal
= 1,
897 EfiCacheReserved
= 2,
899 } EFI_CACHE_LOCATION
;
901 #define EFI_CACHE_ENABLED 1
902 #define EFI_CACHE_DISABLED 0
905 EfiCacheWriteThrough
= 0,
906 EfiCacheWriteBack
= 1,
907 EfiCacheDynamicMode
= 2,
908 EfiCacheUnknownMode
= 3
909 } EFI_CACHE_OPERATIONAL_MODE
;
913 /// Inconsistent with specification here:
914 /// In CacheSubclass spec 0.9, the enumeration type data structure is NOT defined.
915 /// The equivalent in spec is
916 /// #define EFI_CACHE_SIZE_RECORD_NUMBER 0x00000001
917 /// #define EFI_CACHE_MAXIMUM_SIZE_RECORD_NUMBER 0x00000002
918 /// #define EFI_CACHE_SPEED_RECORD_NUMBER 0x00000003
919 /// #define EFI_CACHE_SOCKET_RECORD_NUMBER 0x00000004
920 /// #define EFI_CACHE_SRAM_SUPPORT_RECORD_NUMBER 0x00000005
921 /// #define EFI_CACHE_SRAM_INSTALL_RECORD_NUMBER 0x00000006
922 /// #define EFI_CACHE_ERROR_SUPPORT_RECORD_NUMBER 0x00000007
923 /// #define EFI_CACHE_TYPE_RECORD_NUMBER 0x00000008
924 /// #define EFI_CACHE_ASSOCIATIVITY_RECORD_NUMBER 0x00000009
925 /// #define EFI_CACHE_CONFIGURATION_RECORD_NUMBER 0x0000000A
926 /// Keep the definition unchanged for backward compatibility.
929 CacheSizeRecordType
= 1,
930 MaximumSizeCacheRecordType
= 2,
931 CacheSpeedRecordType
= 3,
932 CacheSocketRecordType
= 4,
933 CacheSramTypeRecordType
= 5,
934 CacheInstalledSramTypeRecordType
= 6,
935 CacheErrorTypeRecordType
= 7,
936 CacheTypeRecordType
= 8,
937 CacheAssociativityRecordType
= 9,
938 CacheConfigRecordType
= 10
939 } EFI_CACHE_VARIABLE_RECORD_TYPE
;
942 /// Inconsistent with specification here:
943 /// In CacheSubclass spec0.9, the union type data structure is NOT defined.
944 /// It's implementation-specific to simplify the code logic.
947 EFI_CACHE_SIZE_DATA CacheSize
;
948 EFI_MAXIMUM_CACHE_SIZE_DATA MaximumCacheSize
;
949 EFI_CACHE_SPEED_DATA CacheSpeed
;
950 EFI_CACHE_SOCKET_DATA CacheSocket
;
951 EFI_CACHE_SRAM_TYPE_DATA CacheSramType
;
952 EFI_CACHE_SRAM_TYPE_DATA CacheInstalledSramType
;
953 EFI_CACHE_ERROR_TYPE_DATA CacheErrorType
;
954 EFI_CACHE_TYPE_DATA CacheType
;
955 EFI_CACHE_ASSOCIATIVITY_DATA CacheAssociativity
;
956 EFI_CACHE_CONFIGURATION_DATA CacheConfig
;
957 EFI_CACHE_ASSOCIATION_DATA CacheAssociation
;
958 } EFI_CACHE_VARIABLE_RECORD
;
961 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader
;
962 EFI_CACHE_VARIABLE_RECORD VariableRecord
;
963 } EFI_CACHE_DATA_RECORD
;
965 #define EFI_MEMORY_SUBCLASS_VERSION 0x0100
966 #define EFI_MEMORY_SIZE_RECORD_NUMBER 0x00000001
968 typedef enum _EFI_MEMORY_REGION_TYPE
{
969 EfiMemoryRegionMemory
= 0x01,
970 EfiMemoryRegionReserved
= 0x02,
971 EfiMemoryRegionAcpi
= 0x03,
972 EfiMemoryRegionNvs
= 0x04
973 } EFI_MEMORY_REGION_TYPE
;
976 /// This data record refers to the size of a memory region. The regions that are
977 /// described can refer to physical memory, memory-mapped I/O, or reserved BIOS memory regions.
978 /// The unit of measurement of this data record is in bytes.
982 /// A zero-based value that indicates which processor(s) can access the memory region.
983 /// A value of 0xFFFF indicates the region is accessible by all processors.
985 UINT32 ProcessorNumber
;
987 /// A zero-based value that indicates the starting bus that can access the memory region.
989 UINT16 StartBusNumber
;
991 /// A zero-based value that indicates the ending bus that can access the memory region.
992 /// A value of 0xFF for a PCI system indicates the region is accessible by all buses and
993 /// is global in scope. An example of the EndBusNumber not being 0xFF is a system
994 /// with two or more peer-to-host PCI bridges.
998 /// The type of memory region from the operating system's point of view.
999 /// MemoryRegionType values are equivalent to the legacy INT 15 AX = E820 BIOS
1002 EFI_MEMORY_REGION_TYPE MemoryRegionType
;
1004 /// The size of the memory region in bytes.
1006 EFI_EXP_BASE2_DATA MemorySize
;
1008 /// The starting physical address of the memory region.
1010 EFI_PHYSICAL_ADDRESS MemoryStartAddress
;
1011 } EFI_MEMORY_SIZE_DATA
;
1014 #define EFI_MEMORY_ARRAY_LOCATION_RECORD_NUMBER 0x00000002
1016 typedef enum _EFI_MEMORY_ARRAY_LOCATION
{
1017 EfiMemoryArrayLocationOther
= 0x01,
1018 EfiMemoryArrayLocationUnknown
= 0x02,
1019 EfiMemoryArrayLocationSystemBoard
= 0x03,
1020 EfiMemoryArrayLocationIsaAddonCard
= 0x04,
1021 EfiMemoryArrayLocationEisaAddonCard
= 0x05,
1022 EfiMemoryArrayLocationPciAddonCard
= 0x06,
1023 EfiMemoryArrayLocationMcaAddonCard
= 0x07,
1024 EfiMemoryArrayLocationPcmciaAddonCard
= 0x08,
1025 EfiMemoryArrayLocationProprietaryAddonCard
= 0x09,
1026 EfiMemoryArrayLocationNuBus
= 0x0A,
1027 EfiMemoryArrayLocationPc98C20AddonCard
= 0xA0,
1028 EfiMemoryArrayLocationPc98C24AddonCard
= 0xA1,
1029 EfiMemoryArrayLocationPc98EAddonCard
= 0xA2,
1030 EfiMemoryArrayLocationPc98LocalBusAddonCard
= 0xA3
1031 } EFI_MEMORY_ARRAY_LOCATION
;
1033 typedef enum _EFI_MEMORY_ARRAY_USE
{
1034 EfiMemoryArrayUseOther
= 0x01,
1035 EfiMemoryArrayUseUnknown
= 0x02,
1036 EfiMemoryArrayUseSystemMemory
= 0x03,
1037 EfiMemoryArrayUseVideoMemory
= 0x04,
1038 EfiMemoryArrayUseFlashMemory
= 0x05,
1039 EfiMemoryArrayUseNonVolatileRam
= 0x06,
1040 EfiMemoryArrayUseCacheMemory
= 0x07
1041 } EFI_MEMORY_ARRAY_USE
;
1043 typedef enum _EFI_MEMORY_ERROR_CORRECTION
{
1044 EfiMemoryErrorCorrectionOther
= 0x01,
1045 EfiMemoryErrorCorrectionUnknown
= 0x02,
1046 EfiMemoryErrorCorrectionNone
= 0x03,
1047 EfiMemoryErrorCorrectionParity
= 0x04,
1048 EfiMemoryErrorCorrectionSingleBitEcc
= 0x05,
1049 EfiMemoryErrorCorrectionMultiBitEcc
= 0x06,
1050 EfiMemoryErrorCorrectionCrc
= 0x07
1051 } EFI_MEMORY_ERROR_CORRECTION
;
1054 /// This data record refers to the physical memory array. This data record is a structure.
1055 /// The type definition structure for EFI_MEMORY_ARRAY_LOCATION_DATA is in SMBIOS 2.3.4:
1056 /// - Table 3.3.17.1, Type 16, Offset 0x4
1057 /// - Table 3.3.17.2, Type 16, Offset 0x5
1058 /// - Table 3.3.17.3, Type 16, with the following offsets:
1066 /// The physical location of the memory array.
1068 EFI_MEMORY_ARRAY_LOCATION MemoryArrayLocation
;
1070 /// The memory array usage.
1072 EFI_MEMORY_ARRAY_USE MemoryArrayUse
;
1074 /// The primary error correction or detection supported by this memory array.
1076 EFI_MEMORY_ERROR_CORRECTION MemoryErrorCorrection
;
1078 /// The maximum memory capacity size in kilobytes. If capacity is unknown, then
1079 /// values of MaximumMemoryCapacity.Value = 0x00 and
1080 /// MaximumMemoryCapacity.Exponent = 0x8000 are used.
1082 EFI_EXP_BASE2_DATA MaximumMemoryCapacity
;
1084 /// The number of memory slots or sockets that are available for memory devices
1087 UINT16 NumberMemoryDevices
;
1088 } EFI_MEMORY_ARRAY_LOCATION_DATA
;
1091 #define EFI_MEMORY_ARRAY_LINK_RECORD_NUMBER 0x00000003
1093 typedef enum _EFI_MEMORY_FORM_FACTOR
{
1094 EfiMemoryFormFactorOther
= 0x01,
1095 EfiMemoryFormFactorUnknown
= 0x02,
1096 EfiMemoryFormFactorSimm
= 0x03,
1097 EfiMemoryFormFactorSip
= 0x04,
1098 EfiMemoryFormFactorChip
= 0x05,
1099 EfiMemoryFormFactorDip
= 0x06,
1100 EfiMemoryFormFactorZip
= 0x07,
1101 EfiMemoryFormFactorProprietaryCard
= 0x08,
1102 EfiMemoryFormFactorDimm
= 0x09,
1103 EfiMemoryFormFactorTsop
= 0x0A,
1104 EfiMemoryFormFactorRowOfChips
= 0x0B,
1105 EfiMemoryFormFactorRimm
= 0x0C,
1106 EfiMemoryFormFactorSodimm
= 0x0D,
1107 EfiMemoryFormFactorSrimm
= 0x0E,
1109 /// Inconsistent with specification here:
1110 /// This field is NOT defined in MemSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
1112 EfiMemoryFormFactorFbDimm
= 0x0F
1113 } EFI_MEMORY_FORM_FACTOR
;
1115 typedef enum _EFI_MEMORY_ARRAY_TYPE
{
1116 EfiMemoryTypeOther
= 0x01,
1117 EfiMemoryTypeUnknown
= 0x02,
1118 EfiMemoryTypeDram
= 0x03,
1119 EfiMemoryTypeEdram
= 0x04,
1120 EfiMemoryTypeVram
= 0x05,
1121 EfiMemoryTypeSram
= 0x06,
1122 EfiMemoryTypeRam
= 0x07,
1123 EfiMemoryTypeRom
= 0x08,
1124 EfiMemoryTypeFlash
= 0x09,
1125 EfiMemoryTypeEeprom
= 0x0A,
1126 EfiMemoryTypeFeprom
= 0x0B,
1127 EfiMemoryTypeEprom
= 0x0C,
1128 EfiMemoryTypeCdram
= 0x0D,
1129 EfiMemoryType3Dram
= 0x0E,
1130 EfiMemoryTypeSdram
= 0x0F,
1131 EfiMemoryTypeSgram
= 0x10,
1132 EfiMemoryTypeRdram
= 0x11,
1133 EfiMemoryTypeDdr
= 0x12,
1135 /// Inconsistent with specification here:
1136 /// This field is NOT defined in MemSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
1138 EfiMemoryTypeDdr2
= 0x13,
1140 /// Inconsistent with specification here:
1141 /// This field is NOT defined in MemSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
1143 EfiMemoryTypeDdr2FbDimm
= 0x14
1144 } EFI_MEMORY_ARRAY_TYPE
;
1150 UINT32 FastPaged
:1;
1151 UINT32 StaticColumn
:1;
1152 UINT32 PseudoStatic
:1;
1154 UINT32 Synchronous
:1;
1157 UINT32 WindowDram
:1;
1158 UINT32 CacheDram
:1;
1159 UINT32 Nonvolatile
:1;
1160 UINT32 Reserved1
:19;
1161 } EFI_MEMORY_TYPE_DETAIL
;
1164 EfiMemoryStateEnabled
= 0,
1165 EfiMemoryStateUnknown
= 1,
1166 EfiMemoryStateUnsupported
= 2,
1167 EfiMemoryStateError
= 3,
1168 EfiMemoryStateAbsent
= 4,
1169 EfiMemoryStateDisabled
= 5,
1171 /// Inconsistent with specification here:
1172 /// This field is NOT defined in MemSubClass spec0.9. It's introduced for SMBIOS2.6 spec.
1174 EfiMemoryStatePartial
= 6
1178 /// This data record describes a memory device. This data record is a structure.
1179 /// The type definition structure for EFI_MEMORY_ARRAY_LINK_DATA is in SMBIOS 2.3.4.
1183 /// A string that identifies the physically labeled socket or board position where the
1184 /// memory device is located.
1186 STRING_REF MemoryDeviceLocator
;
1188 /// A string denoting the physically labeled bank where the memory device is located.
1190 STRING_REF MemoryBankLocator
;
1192 /// A string denoting the memory manufacturer.
1194 STRING_REF MemoryManufacturer
;
1196 /// A string denoting the serial number of the memory device.
1198 STRING_REF MemorySerialNumber
;
1200 /// The asset tag of the memory device.
1202 STRING_REF MemoryAssetTag
;
1204 /// A string denoting the part number of the memory device.
1206 STRING_REF MemoryPartNumber
;
1208 /// A link to a memory array structure set.
1210 EFI_INTER_LINK_DATA MemoryArrayLink
;
1212 /// A link to a memory array structure set.
1214 EFI_INTER_LINK_DATA MemorySubArrayLink
;
1216 /// The total width in bits of this memory device. If there are no error correcting bits,
1217 /// then the total width equals the data width. If the width is unknown, then set the field
1220 UINT16 MemoryTotalWidth
;
1222 /// The data width in bits of the memory device. A data width of 0x00 and a total width
1223 /// of 0x08 indicate that the device is used solely for error correction.
1225 UINT16 MemoryDataWidth
;
1227 /// The size in bytes of the memory device. A value of 0x00 denotes that no device is
1228 /// installed, while a value of all Fs denotes that the size is not known.
1230 EFI_EXP_BASE2_DATA MemoryDeviceSize
;
1232 /// The form factor of the memory device.
1234 EFI_MEMORY_FORM_FACTOR MemoryFormFactor
;
1236 /// A memory device set that must be populated with all devices of the same type and
1237 /// size. A value of 0x00 indicates that the device is not part of any set. A value of 0xFF
1238 /// indicates that the attribute is unknown. Any other value denotes the set number.
1240 UINT8 MemoryDeviceSet
;
1242 /// The memory type in the socket.
1244 EFI_MEMORY_ARRAY_TYPE MemoryType
;
1246 /// The memory type details.
1248 EFI_MEMORY_TYPE_DETAIL MemoryTypeDetail
;
1250 /// The memory speed in megahertz (MHz). A value of 0x00 denotes that
1251 /// the speed is unknown.
1252 /// Inconsistent with specification here:
1253 /// In MemSubclass spec 0.9, the naming is MemoryTypeSpeed.
1254 /// Keep it unchanged for backward compatibilty.
1256 EFI_EXP_BASE10_DATA MemorySpeed
;
1258 /// The memory state.
1260 EFI_MEMORY_STATE MemoryState
;
1261 } EFI_MEMORY_ARRAY_LINK_DATA
;
1264 #define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER 0x00000004
1267 /// This data record refers to a specified physical memory array associated with
1268 /// a given memory range.
1272 /// The starting physical address in bytes of memory mapped to a specified physical
1275 EFI_PHYSICAL_ADDRESS MemoryArrayStartAddress
;
1277 /// The last physical address in bytes of memory mapped to a specified physical memory
1280 EFI_PHYSICAL_ADDRESS MemoryArrayEndAddress
;
1282 /// See Physical Memory Array (Type 16) for physical memory array structures.
1284 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink
;
1286 /// The number of memory devices that form a single row of memory for the address
1289 UINT16 MemoryArrayPartitionWidth
;
1290 } EFI_MEMORY_ARRAY_START_ADDRESS_DATA
;
1293 #define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER 0x00000005
1296 /// This data record refers to a physical memory device that is associated with
1297 /// a given memory range.
1301 /// The starting physical address that is associated with the device.
1303 EFI_PHYSICAL_ADDRESS MemoryDeviceStartAddress
;
1305 /// The ending physical address that is associated with the device.
1307 EFI_PHYSICAL_ADDRESS MemoryDeviceEndAddress
;
1309 /// A link to the memory device data structure.
1311 EFI_INTER_LINK_DATA PhysicalMemoryDeviceLink
;
1313 /// A link to the memory array data structure.
1315 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink
;
1317 /// The position of the memory device in a row. A value of 0x00 is reserved and a value
1318 /// of 0xFF indicates that the position is unknown.
1320 UINT8 MemoryDevicePartitionRowPosition
;
1322 /// The position of the device in an interleave.
1324 UINT8 MemoryDeviceInterleavePosition
;
1326 /// The maximum number of consecutive rows from the device that are accessed in a
1327 /// single interleave transfer. A value of 0x00 indicates that the device is not interleaved
1328 /// and a value of 0xFF indicates that the interleave configuration is unknown.
1330 UINT8 MemoryDeviceInterleaveDataDepth
;
1331 } EFI_MEMORY_DEVICE_START_ADDRESS_DATA
;
1335 // Memory. Channel Device Type - SMBIOS Type 37
1338 #define EFI_MEMORY_CHANNEL_TYPE_RECORD_NUMBER 0x00000006
1340 typedef enum _EFI_MEMORY_CHANNEL_TYPE
{
1341 EfiMemoryChannelTypeOther
= 1,
1342 EfiMemoryChannelTypeUnknown
= 2,
1343 EfiMemoryChannelTypeRambus
= 3,
1344 EfiMemoryChannelTypeSyncLink
= 4
1345 } EFI_MEMORY_CHANNEL_TYPE
;
1348 /// This data record refers the type of memory that is associated with the channel. This data record is a
1350 /// The type definition structure for EFI_MEMORY_CHANNEL_TYPE_DATA is in SMBIOS 2.3.4,
1351 /// Table 3.3.38, Type 37, with the following offsets:
1358 /// The type of memory that is associated with the channel.
1360 EFI_MEMORY_CHANNEL_TYPE MemoryChannelType
;
1362 /// The maximum load that is supported by the channel.
1364 UINT8 MemoryChannelMaximumLoad
;
1366 /// The number of memory devices on this channel.
1368 UINT8 MemoryChannelDeviceCount
;
1369 } EFI_MEMORY_CHANNEL_TYPE_DATA
;
1371 #define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER 0x00000007
1374 /// This data record refers to the memory device that is associated with the memory channel. This data
1375 /// record is a structure.
1376 /// The type definition structure for EFI_MEMORY_CHANNEL_DEVICE_DATA is in SMBIOS 2.3.4,
1377 /// Table 3.3.38, Type 37, with the following offsets:
1383 /// A number between one and MemoryChannelDeviceCount plus an arbitrary base.
1387 /// The Link of the associated memory device. See Memory Device (Type 17) for
1390 EFI_INTER_LINK_DATA DeviceLink
;
1392 /// The number of load units that this device consumes.
1394 UINT8 MemoryChannelDeviceLoad
;
1395 } EFI_MEMORY_CHANNEL_DEVICE_DATA
;
1398 // Memory. Controller Information - SMBIOS Type 5
1401 /// Inconsistent with specification here:
1402 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1403 /// It's introduced for SmBios 2.6 type 5.
1405 #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER 0x00000008
1408 /// Inconsistent with specification here:
1409 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1410 /// It's introduced for SmBios 2.6 type 5.
1413 EfiErrorDetectingMethodOther
= 1,
1414 EfiErrorDetectingMethodUnknown
= 2,
1415 EfiErrorDetectingMethodNone
= 3,
1416 EfiErrorDetectingMethodParity
= 4,
1417 EfiErrorDetectingMethod32Ecc
= 5,
1418 EfiErrorDetectingMethod64Ecc
= 6,
1419 EfiErrorDetectingMethod128Ecc
= 7,
1420 EfiErrorDetectingMethodCrc
= 8
1421 } EFI_MEMORY_ERROR_DETECT_METHOD_TYPE
;
1424 /// Inconsistent with specification here:
1425 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1426 /// It's introduced for SmBios 2.6 type 5.
1432 UINT8 SingleBitErrorCorrect
:1;
1433 UINT8 DoubleBitErrorCorrect
:1;
1434 UINT8 ErrorScrubbing
:1;
1436 } EFI_MEMORY_ERROR_CORRECT_CAPABILITY
;
1439 /// Inconsistent with specification here:
1440 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1441 /// It's introduced for SmBios 2.6 type 5.
1444 EfiMemoryInterleaveOther
= 1,
1445 EfiMemoryInterleaveUnknown
= 2,
1446 EfiMemoryInterleaveOneWay
= 3,
1447 EfiMemoryInterleaveTwoWay
= 4,
1448 EfiMemoryInterleaveFourWay
= 5,
1449 EfiMemoryInterleaveEightWay
= 6,
1450 EfiMemoryInterleaveSixteenWay
= 7
1451 } EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE
;
1454 /// Inconsistent with specification here:
1455 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1456 /// It's introduced for SmBios 2.6 type 5.
1464 UINT16 Reserved
:11;
1465 } EFI_MEMORY_SPEED_TYPE
;
1468 /// Inconsistent with specification here:
1469 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1470 /// It's introduced for SmBios 2.6 type 5.
1476 UINT16 FastPageMode
:1;
1485 } EFI_MEMORY_SUPPORTED_TYPE
;
1488 /// Inconsistent with specification here:
1489 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1490 /// It's introduced for SmBios 2.6 type 5.
1497 } EFI_MEMORY_MODULE_VOLTAGE_TYPE
;
1500 /// EFI_MEMORY_CONTROLLER_INFORMATION is obsolete
1501 /// Use EFI_MEMORY_CONTROLLER_INFORMATION_DATA instead
1503 /// Inconsistent with specification here:
1504 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1505 /// It's introduced for SmBios 2.6 type 5.
1508 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod
;
1509 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability
;
1510 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave
;
1511 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave
;
1512 UINT8 MaxMemoryModuleSize
;
1513 EFI_MEMORY_SPEED_TYPE MemorySpeedType
;
1514 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType
;
1515 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage
;
1516 UINT8 NumberofMemorySlot
;
1517 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability
;
1518 UINT16
*MemoryModuleConfigHandles
;
1519 } EFI_MEMORY_CONTROLLER_INFORMATION
;
1522 /// Inconsistent with specification here:
1523 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1524 /// It's introduced for SmBios 2.6 type 5.
1527 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod
;
1528 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability
;
1529 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave
;
1530 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave
;
1531 UINT8 MaxMemoryModuleSize
;
1532 EFI_MEMORY_SPEED_TYPE MemorySpeedType
;
1533 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType
;
1534 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage
;
1535 UINT8 NumberofMemorySlot
;
1536 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability
;
1537 EFI_INTER_LINK_DATA MemoryModuleConfig
[1];
1538 } EFI_MEMORY_CONTROLLER_INFORMATION_DATA
;
1541 /// Memory. Error Information - SMBIOS Type 18
1543 /// Inconsistent with specification here:
1544 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1545 /// It's introduced for SmBios 2.6 type 18.
1547 #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER 0x00000009
1549 /// Inconsistent with specification here:
1550 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1551 /// It's introduced for SmBios 2.6 type 18.
1554 EfiMemoryErrorOther
= 1,
1555 EfiMemoryErrorUnknown
= 2,
1556 EfiMemoryErrorOk
= 3,
1557 EfiMemoryErrorBadRead
= 4,
1558 EfiMemoryErrorParity
= 5,
1559 EfiMemoryErrorSigleBit
= 6,
1560 EfiMemoryErrorDoubleBit
= 7,
1561 EfiMemoryErrorMultiBit
= 8,
1562 EfiMemoryErrorNibble
= 9,
1563 EfiMemoryErrorChecksum
= 10,
1564 EfiMemoryErrorCrc
= 11,
1565 EfiMemoryErrorCorrectSingleBit
= 12,
1566 EfiMemoryErrorCorrected
= 13,
1567 EfiMemoryErrorUnCorrectable
= 14
1568 } EFI_MEMORY_ERROR_TYPE
;
1570 /// Inconsistent with specification here:
1571 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1572 /// It's introduced for SmBios 2.6 type 18.
1575 EfiMemoryGranularityOther
= 1,
1576 EfiMemoryGranularityOtherUnknown
= 2,
1577 EfiMemoryGranularityDeviceLevel
= 3,
1578 EfiMemoryGranularityMemPartitionLevel
= 4
1579 } EFI_MEMORY_ERROR_GRANULARITY_TYPE
;
1581 /// Inconsistent with specification here:
1582 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1583 /// It's introduced for SmBios 2.6 type 18.
1586 EfiMemoryErrorOperationOther
= 1,
1587 EfiMemoryErrorOperationUnknown
= 2,
1588 EfiMemoryErrorOperationRead
= 3,
1589 EfiMemoryErrorOperationWrite
= 4,
1590 EfiMemoryErrorOperationPartialWrite
= 5
1591 } EFI_MEMORY_ERROR_OPERATION_TYPE
;
1593 /// Inconsistent with specification here:
1594 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1595 /// It's introduced for SmBios 2.6 type 18.
1598 EFI_MEMORY_ERROR_TYPE MemoryErrorType
;
1599 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity
;
1600 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation
;
1601 UINT32 VendorSyndrome
;
1602 UINT32 MemoryArrayErrorAddress
;
1603 UINT32 DeviceErrorAddress
;
1604 UINT32 DeviceErrorResolution
;
1605 } EFI_MEMORY_32BIT_ERROR_INFORMATION
;
1608 /// Memory. Error Information - SMBIOS Type 33
1610 /// Inconsistent with specification here:
1611 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1612 /// It's introduced for SmBios 2.6 type 33.
1614 #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER 0x0000000A
1617 /// Inconsistent with specification here:
1618 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1619 /// It's introduced for SmBios 2.6 type 33.
1622 EFI_MEMORY_ERROR_TYPE MemoryErrorType
;
1623 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity
;
1624 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation
;
1625 UINT32 VendorSyndrome
;
1626 UINT64 MemoryArrayErrorAddress
;
1627 UINT64 DeviceErrorAddress
;
1628 UINT32 DeviceErrorResolution
;
1629 } EFI_MEMORY_64BIT_ERROR_INFORMATION
;
1632 /// Inconsistent with specification here:
1633 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
1634 /// It is implementation-specific to simplify the code logic.
1636 typedef union _EFI_MEMORY_SUBCLASS_RECORDS
{
1637 EFI_MEMORY_SIZE_DATA SizeData
;
1638 EFI_MEMORY_ARRAY_LOCATION_DATA ArrayLocationData
;
1639 EFI_MEMORY_ARRAY_LINK_DATA ArrayLink
;
1640 EFI_MEMORY_ARRAY_START_ADDRESS_DATA ArrayStartAddress
;
1641 EFI_MEMORY_DEVICE_START_ADDRESS_DATA DeviceStartAddress
;
1642 EFI_MEMORY_CHANNEL_TYPE_DATA ChannelTypeData
;
1643 EFI_MEMORY_CHANNEL_DEVICE_DATA ChannelDeviceData
;
1644 EFI_MEMORY_CONTROLLER_INFORMATION MemoryControllerInfo
;
1645 EFI_MEMORY_32BIT_ERROR_INFORMATION Memory32bitErrorInfo
;
1646 EFI_MEMORY_64BIT_ERROR_INFORMATION Memory64bitErrorInfo
;
1647 } EFI_MEMORY_SUBCLASS_RECORDS
;
1650 EFI_SUBCLASS_TYPE1_HEADER Header
;
1651 EFI_MEMORY_SUBCLASS_RECORDS Record
;
1652 } EFI_MEMORY_SUBCLASS_DRIVER_DATA
;
1654 #define EFI_MISC_SUBCLASS_VERSION 0x0100
1659 // Last PCI Bus Number
1661 #define EFI_MISC_LAST_PCI_BUS_RECORD_NUMBER 0x00000001
1665 } EFI_MISC_LAST_PCI_BUS_DATA
;
1668 // Misc. BIOS Vendor - SMBIOS Type 0
1670 #define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER 0x00000002
1673 UINT64 Reserved1
:2;
1675 UINT64 BiosCharacteristicsNotSupported
:1;
1676 UINT64 IsaIsSupported
:1;
1677 UINT64 McaIsSupported
:1;
1678 UINT64 EisaIsSupported
:1;
1679 UINT64 PciIsSupported
:1;
1680 UINT64 PcmciaIsSupported
:1;
1681 UINT64 PlugAndPlayIsSupported
:1;
1682 UINT64 ApmIsSupported
:1;
1683 UINT64 BiosIsUpgradable
:1;
1684 UINT64 BiosShadowingAllowed
:1;
1685 UINT64 VlVesaIsSupported
:1;
1686 UINT64 EscdSupportIsAvailable
:1;
1687 UINT64 BootFromCdIsSupported
:1;
1688 UINT64 SelectableBootIsSupported
:1;
1689 UINT64 RomBiosIsSocketed
:1;
1690 UINT64 BootFromPcmciaIsSupported
:1;
1691 UINT64 EDDSpecificationIsSupported
:1;
1692 UINT64 JapaneseNecFloppyIsSupported
:1;
1693 UINT64 JapaneseToshibaFloppyIsSupported
:1;
1694 UINT64 Floppy525_360IsSupported
:1;
1695 UINT64 Floppy525_12IsSupported
:1;
1696 UINT64 Floppy35_720IsSupported
:1;
1697 UINT64 Floppy35_288IsSupported
:1;
1698 UINT64 PrintScreenIsSupported
:1;
1699 UINT64 Keyboard8042IsSupported
:1;
1700 UINT64 SerialIsSupported
:1;
1701 UINT64 PrinterIsSupported
:1;
1702 UINT64 CgaMonoIsSupported
:1;
1704 UINT64 AcpiIsSupported
:1;
1705 UINT64 UsbLegacyIsSupported
:1;
1706 UINT64 AgpIsSupported
:1;
1707 UINT64 I20BootIsSupported
:1;
1708 UINT64 Ls120BootIsSupported
:1;
1709 UINT64 AtapiZipDriveBootIsSupported
:1;
1710 UINT64 Boot1394IsSupported
:1;
1711 UINT64 SmartBatteryIsSupported
:1;
1712 UINT64 BiosBootSpecIsSupported
:1;
1713 UINT64 FunctionKeyNetworkBootIsSupported
:1;
1714 UINT64 Reserved
:22;
1715 } EFI_MISC_BIOS_CHARACTERISTICS
;
1718 UINT64 BiosReserved
:16;
1719 UINT64 SystemReserved
:16;
1720 UINT64 Reserved
:32;
1721 } EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
;
1724 STRING_REF BiosVendor
;
1725 STRING_REF BiosVersion
;
1726 STRING_REF BiosReleaseDate
;
1727 EFI_PHYSICAL_ADDRESS BiosStartingAddress
;
1728 EFI_EXP_BASE2_DATA BiosPhysicalDeviceSize
;
1729 EFI_MISC_BIOS_CHARACTERISTICS BiosCharacteristics1
;
1730 EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
1731 BiosCharacteristics2
;
1733 /// Inconsistent with specification here:
1734 /// In MiscSubclass spec 0.9, this data structure and corrsponding fields are NOT defined.
1735 /// It's introduced for SmBios 2.6 spec type 0.
1737 UINT8 BiosMajorRelease
;
1739 /// Inconsistent with specification here:
1740 /// In MiscSubclass spec 0.9, this data structure and corrsponding fields are NOT defined.
1741 /// It's introduced for SmBios 2.6 spec type 0.
1743 UINT8 BiosMinorRelease
;
1745 /// Inconsistent with specification here:
1746 /// In MiscSubclass spec 0.9, this data structure and corrsponding fields are NOT defined.
1747 /// It's introduced for SmBios 2.6 spec type 0.
1749 UINT8 BiosEmbeddedFirmwareMajorRelease
;
1751 /// Inconsistent with specification here:
1752 /// In MiscSubclass spec 0.9, this data structure and corrsponding fields are NOT defined.
1753 /// It's introduced for SmBios 2.6 spec type 0.
1755 UINT8 BiosEmbeddedFirmwareMinorRelease
;
1756 } EFI_MISC_BIOS_VENDOR_DATA
;
1759 // Misc. System Manufacturer - SMBIOS Type 1
1761 #define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003
1764 EfiSystemWakeupTypeReserved
= 0,
1765 EfiSystemWakeupTypeOther
= 1,
1766 EfiSystemWakeupTypeUnknown
= 2,
1767 EfiSystemWakeupTypeApmTimer
= 3,
1768 EfiSystemWakeupTypeModemRing
= 4,
1769 EfiSystemWakeupTypeLanRemote
= 5,
1770 EfiSystemWakeupTypePowerSwitch
= 6,
1771 EfiSystemWakeupTypePciPme
= 7,
1772 EfiSystemWakeupTypeAcPowerRestored
= 8
1773 } EFI_MISC_SYSTEM_WAKEUP_TYPE
;
1776 STRING_REF SystemManufacturer
;
1777 STRING_REF SystemProductName
;
1778 STRING_REF SystemVersion
;
1779 STRING_REF SystemSerialNumber
;
1780 EFI_GUID SystemUuid
;
1781 EFI_MISC_SYSTEM_WAKEUP_TYPE SystemWakeupType
;
1783 /// Inconsistent with specification here:
1784 /// In MiscSubclass spec 0.9, this data structure and corrsponding fields are NOT defined.
1785 /// It's introduced for SmBios 2.6 spec type 1.
1787 STRING_REF SystemSKUNumber
;
1789 /// Inconsistent with specification here:
1790 /// In MiscSubclass spec 0.9, this data structure and corrsponding fields are NOT defined.
1791 /// It's introduced for SmBios 2.6 spec type 1.
1793 STRING_REF SystemFamily
;
1794 } EFI_MISC_SYSTEM_MANUFACTURER_DATA
;
1797 // Misc. Base Board Manufacturer - SMBIOS Type 2
1799 #define EFI_MISC_BASE_BOARD_MANUFACTURER_RECORD_NUMBER 0x00000004
1802 UINT32 Motherboard
:1;
1803 UINT32 RequiresDaughterCard
:1;
1804 UINT32 Removable
:1;
1805 UINT32 Replaceable
:1;
1806 UINT32 HotSwappable
:1;
1807 UINT32 Reserved
:27;
1808 } EFI_BASE_BOARD_FEATURE_FLAGS
;
1811 EfiBaseBoardTypeUnknown
= 1,
1812 EfiBaseBoardTypeOther
= 2,
1813 EfiBaseBoardTypeServerBlade
= 3,
1814 EfiBaseBoardTypeConnectivitySwitch
= 4,
1815 EfiBaseBoardTypeSystemManagementModule
= 5,
1816 EfiBaseBoardTypeProcessorModule
= 6,
1817 EfiBaseBoardTypeIOModule
= 7,
1818 EfiBaseBoardTypeMemoryModule
= 8,
1819 EfiBaseBoardTypeDaughterBoard
= 9,
1820 EfiBaseBoardTypeMotherBoard
= 0xA,
1821 EfiBaseBoardTypeProcessorMemoryModule
= 0xB,
1822 EfiBaseBoardTypeProcessorIOModule
= 0xC,
1823 EfiBaseBoardTypeInterconnectBoard
= 0xD
1824 } EFI_BASE_BOARD_TYPE
;
1827 STRING_REF BaseBoardManufacturer
;
1828 STRING_REF BaseBoardProductName
;
1829 STRING_REF BaseBoardVersion
;
1830 STRING_REF BaseBoardSerialNumber
;
1831 STRING_REF BaseBoardAssetTag
;
1832 STRING_REF BaseBoardChassisLocation
;
1833 EFI_BASE_BOARD_FEATURE_FLAGS BaseBoardFeatureFlags
;
1834 EFI_BASE_BOARD_TYPE BaseBoardType
;
1835 EFI_INTER_LINK_DATA BaseBoardChassisLink
;
1836 UINT32 BaseBoardNumberLinks
;
1837 EFI_INTER_LINK_DATA LinkN
;
1838 } EFI_MISC_BASE_BOARD_MANUFACTURER_DATA
;
1841 // Misc. System/Chassis Enclosure - SMBIOS Type 3
1843 #define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER 0x00000005
1846 EfiMiscChassisTypeOther
= 0x1,
1847 EfiMiscChassisTypeUnknown
= 0x2,
1848 EfiMiscChassisTypeDeskTop
= 0x3,
1849 EfiMiscChassisTypeLowProfileDesktop
= 0x4,
1850 EfiMiscChassisTypePizzaBox
= 0x5,
1851 EfiMiscChassisTypeMiniTower
= 0x6,
1852 EfiMiscChassisTypeTower
= 0x7,
1853 EfiMiscChassisTypePortable
= 0x8,
1854 EfiMiscChassisTypeLapTop
= 0x9,
1855 EfiMiscChassisTypeNotebook
= 0xA,
1856 EfiMiscChassisTypeHandHeld
= 0xB,
1857 EfiMiscChassisTypeDockingStation
= 0xC,
1858 EfiMiscChassisTypeAllInOne
= 0xD,
1859 EfiMiscChassisTypeSubNotebook
= 0xE,
1860 EfiMiscChassisTypeSpaceSaving
= 0xF,
1861 EfiMiscChassisTypeLunchBox
= 0x10,
1862 EfiMiscChassisTypeMainServerChassis
= 0x11,
1863 EfiMiscChassisTypeExpansionChassis
= 0x12,
1864 EfiMiscChassisTypeSubChassis
= 0x13,
1865 EfiMiscChassisTypeBusExpansionChassis
= 0x14,
1866 EfiMiscChassisTypePeripheralChassis
= 0x15,
1867 EfiMiscChassisTypeRaidChassis
= 0x16,
1868 EfiMiscChassisTypeRackMountChassis
= 0x17,
1869 EfiMiscChassisTypeSealedCasePc
= 0x18,
1870 EfiMiscChassisMultiSystemChassis
= 0x19
1871 } EFI_MISC_CHASSIS_TYPE
;
1875 /// Inconsistent with specification here:
1876 /// In MiscSubclass 0.9 spec, it has a wrong field name "EFI_MISC_CHASSIS_TYPE".
1877 /// Change it to "ChassisType" to pass build.
1879 UINT32 ChassisType
:16;
1880 UINT32 ChassisLockPresent
:1;
1881 UINT32 Reserved
:15;
1882 } EFI_MISC_CHASSIS_STATUS
;
1885 EfiChassisStateOther
= 0x01,
1886 EfiChassisStateUnknown
= 0x02,
1887 EfiChassisStateSafe
= 0x03,
1888 EfiChassisStateWarning
= 0x04,
1889 EfiChassisStateCritical
= 0x05,
1890 EfiChassisStateNonRecoverable
= 0x06
1891 } EFI_MISC_CHASSIS_STATE
;
1894 EfiChassisSecurityStatusOther
= 0x01,
1895 EfiChassisSecurityStatusUnknown
= 0x02,
1896 EfiChassisSecurityStatusNone
= 0x03,
1897 EfiChassisSecurityStatusExternalInterfaceLockedOut
= 0x04,
1898 EfiChassisSecurityStatusExternalInterfaceLockedEnabled
= 0x05
1899 } EFI_MISC_CHASSIS_SECURITY_STATE
;
1902 UINT32 RecordType
:1;
1904 UINT32 Reserved
:24;
1905 } EFI_MISC_ELEMENT_TYPE
;
1908 EFI_MISC_ELEMENT_TYPE ChassisElementType
;
1909 EFI_INTER_LINK_DATA ChassisElementStructure
;
1910 EFI_BASE_BOARD_TYPE ChassisBaseBoard
;
1911 UINT32 ChassisElementMinimum
;
1912 UINT32 ChassisElementMaximum
;
1913 } EFI_MISC_ELEMENTS
;
1916 STRING_REF ChassisManufacturer
;
1917 STRING_REF ChassisVersion
;
1918 STRING_REF ChassisSerialNumber
;
1919 STRING_REF ChassisAssetTag
;
1920 EFI_MISC_CHASSIS_STATUS ChassisType
;
1921 EFI_MISC_CHASSIS_STATE ChassisBootupState
;
1922 EFI_MISC_CHASSIS_STATE ChassisPowerSupplyState
;
1923 EFI_MISC_CHASSIS_STATE ChassisThermalState
;
1924 EFI_MISC_CHASSIS_SECURITY_STATE ChassisSecurityState
;
1925 UINT32 ChassisOemDefined
;
1926 UINT32 ChassisHeight
;
1927 UINT32 ChassisNumberPowerCords
;
1928 UINT32 ChassisElementCount
;
1929 UINT32 ChassisElementRecordLength
;
1930 EFI_MISC_ELEMENTS ChassisElements
;
1931 } EFI_MISC_CHASSIS_MANUFACTURER_DATA
;
1934 // Misc. Port Connector Information - SMBIOS Type 8
1936 #define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006
1939 EfiPortConnectorTypeNone
= 0x00,
1940 EfiPortConnectorTypeCentronics
= 0x01,
1941 EfiPortConnectorTypeMiniCentronics
= 0x02,
1942 EfiPortConnectorTypeProprietary
= 0x03,
1943 EfiPortConnectorTypeDB25Male
= 0x04,
1944 EfiPortConnectorTypeDB25Female
= 0x05,
1945 EfiPortConnectorTypeDB15Male
= 0x06,
1946 EfiPortConnectorTypeDB15Female
= 0x07,
1947 EfiPortConnectorTypeDB9Male
= 0x08,
1948 EfiPortConnectorTypeDB9Female
= 0x09,
1949 EfiPortConnectorTypeRJ11
= 0x0A,
1950 EfiPortConnectorTypeRJ45
= 0x0B,
1951 EfiPortConnectorType50PinMiniScsi
= 0x0C,
1952 EfiPortConnectorTypeMiniDin
= 0x0D,
1953 EfiPortConnectorTypeMicriDin
= 0x0E,
1954 EfiPortConnectorTypePS2
= 0x0F,
1955 EfiPortConnectorTypeInfrared
= 0x10,
1956 EfiPortConnectorTypeHpHil
= 0x11,
1957 EfiPortConnectorTypeUsb
= 0x12,
1958 EfiPortConnectorTypeSsaScsi
= 0x13,
1959 EfiPortConnectorTypeCircularDin8Male
= 0x14,
1960 EfiPortConnectorTypeCircularDin8Female
= 0x15,
1961 EfiPortConnectorTypeOnboardIde
= 0x16,
1962 EfiPortConnectorTypeOnboardFloppy
= 0x17,
1963 EfiPortConnectorType9PinDualInline
= 0x18,
1964 EfiPortConnectorType25PinDualInline
= 0x19,
1965 EfiPortConnectorType50PinDualInline
= 0x1A,
1966 EfiPortConnectorType68PinDualInline
= 0x1B,
1967 EfiPortConnectorTypeOnboardSoundInput
= 0x1C,
1968 EfiPortConnectorTypeMiniCentronicsType14
= 0x1D,
1969 EfiPortConnectorTypeMiniCentronicsType26
= 0x1E,
1970 EfiPortConnectorTypeHeadPhoneMiniJack
= 0x1F,
1971 EfiPortConnectorTypeBNC
= 0x20,
1972 EfiPortConnectorType1394
= 0x21,
1973 EfiPortConnectorTypePC98
= 0xA0,
1974 EfiPortConnectorTypePC98Hireso
= 0xA1,
1975 EfiPortConnectorTypePCH98
= 0xA2,
1976 EfiPortConnectorTypePC98Note
= 0xA3,
1977 EfiPortConnectorTypePC98Full
= 0xA4,
1978 EfiPortConnectorTypeOther
= 0xFF
1979 } EFI_MISC_PORT_CONNECTOR_TYPE
;
1982 EfiPortTypeNone
= 0x00,
1983 EfiPortTypeParallelXtAtCompatible
= 0x01,
1984 EfiPortTypeParallelPortPs2
= 0x02,
1985 EfiPortTypeParallelPortEcp
= 0x03,
1986 EfiPortTypeParallelPortEpp
= 0x04,
1987 EfiPortTypeParallelPortEcpEpp
= 0x05,
1988 EfiPortTypeSerialXtAtCompatible
= 0x06,
1989 EfiPortTypeSerial16450Compatible
= 0x07,
1990 EfiPortTypeSerial16550Compatible
= 0x08,
1991 EfiPortTypeSerial16550ACompatible
= 0x09,
1992 EfiPortTypeScsi
= 0x0A,
1993 EfiPortTypeMidi
= 0x0B,
1994 EfiPortTypeJoyStick
= 0x0C,
1995 EfiPortTypeKeyboard
= 0x0D,
1996 EfiPortTypeMouse
= 0x0E,
1997 EfiPortTypeSsaScsi
= 0x0F,
1998 EfiPortTypeUsb
= 0x10,
1999 EfiPortTypeFireWire
= 0x11,
2000 EfiPortTypePcmciaTypeI
= 0x12,
2001 EfiPortTypePcmciaTypeII
= 0x13,
2002 EfiPortTypePcmciaTypeIII
= 0x14,
2003 EfiPortTypeCardBus
= 0x15,
2004 EfiPortTypeAccessBusPort
= 0x16,
2005 EfiPortTypeScsiII
= 0x17,
2006 EfiPortTypeScsiWide
= 0x18,
2007 EfiPortTypePC98
= 0x19,
2008 EfiPortTypePC98Hireso
= 0x1A,
2009 EfiPortTypePCH98
= 0x1B,
2010 EfiPortTypeVideoPort
= 0x1C,
2011 EfiPortTypeAudioPort
= 0x1D,
2012 EfiPortTypeModemPort
= 0x1E,
2013 EfiPortTypeNetworkPort
= 0x1F,
2014 EfiPortType8251Compatible
= 0xA0,
2015 EfiPortType8251FifoCompatible
= 0xA1,
2016 EfiPortTypeOther
= 0xFF
2017 } EFI_MISC_PORT_TYPE
;
2020 STRING_REF PortInternalConnectorDesignator
;
2021 STRING_REF PortExternalConnectorDesignator
;
2022 EFI_MISC_PORT_CONNECTOR_TYPE PortInternalConnectorType
;
2023 EFI_MISC_PORT_CONNECTOR_TYPE PortExternalConnectorType
;
2024 EFI_MISC_PORT_TYPE PortType
;
2025 EFI_MISC_PORT_DEVICE_PATH PortPath
;
2026 } EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA
;
2029 // Misc. System Slots - SMBIOS Type 9
2031 #define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007
2034 EfiSlotTypeOther
= 0x01,
2035 EfiSlotTypeUnknown
= 0x02,
2036 EfiSlotTypeIsa
= 0x03,
2037 EfiSlotTypeMca
= 0x04,
2038 EfiSlotTypeEisa
= 0x05,
2039 EfiSlotTypePci
= 0x06,
2040 EfiSlotTypePcmcia
= 0x07,
2041 EfiSlotTypeVlVesa
= 0x08,
2042 EfiSlotTypeProprietary
= 0x09,
2043 EfiSlotTypeProcessorCardSlot
= 0x0A,
2044 EfiSlotTypeProprietaryMemoryCardSlot
= 0x0B,
2045 EfiSlotTypeIORiserCardSlot
= 0x0C,
2046 EfiSlotTypeNuBus
= 0x0D,
2047 EfiSlotTypePci66MhzCapable
= 0x0E,
2048 EfiSlotTypeAgp
= 0x0F,
2050 /// Inconsistent with specification here:
2051 /// In MiscSubclass spec 0.9, its naming should be EfiSlotTypeAgp2X
2052 /// rather than EfiSlotTypeApg2X.
2054 EfiSlotTypeAgp2X
= 0x10,
2055 EfiSlotTypeAgp4X
= 0x11,
2056 EfiSlotTypePciX
= 0x12,
2057 EfiSlotTypeAgp8x
= 0x13,
2058 EfiSlotTypePC98C20
= 0xA0,
2059 EfiSlotTypePC98C24
= 0xA1,
2060 EfiSlotTypePC98E
= 0xA2,
2061 EfiSlotTypePC98LocalBus
= 0xA3,
2062 EfiSlotTypePC98Card
= 0xA4,
2064 /// Inconsistent with specification here:
2065 /// In MiscSubclass spec 0.9, this field isn't defined.
2066 /// It's introduced for SmBios 2.6 spec type 9.
2068 EfiSlotTypePciExpress
= 0xA5
2069 } EFI_MISC_SLOT_TYPE
;
2072 EfiSlotDataBusWidthOther
= 0x01,
2073 EfiSlotDataBusWidthUnknown
= 0x02,
2074 EfiSlotDataBusWidth8Bit
= 0x03,
2075 EfiSlotDataBusWidth16Bit
= 0x04,
2076 EfiSlotDataBusWidth32Bit
= 0x05,
2077 EfiSlotDataBusWidth64Bit
= 0x06,
2078 EfiSlotDataBusWidth128Bit
= 0x07
2079 } EFI_MISC_SLOT_DATA_BUS_WIDTH
;
2082 EfiSlotUsageOther
= 1,
2083 EfiSlotUsageUnknown
= 2,
2084 EfiSlotUsageAvailable
= 3,
2085 EfiSlotUsageInUse
= 4
2086 } EFI_MISC_SLOT_USAGE
;
2089 EfiSlotLengthOther
= 1,
2090 EfiSlotLengthUnknown
= 2,
2091 EfiSlotLengthShort
= 3,
2092 EfiSlotLengthLong
= 4
2093 } EFI_MISC_SLOT_LENGTH
;
2096 UINT32 CharacteristicsUnknown
:1;
2097 UINT32 Provides50Volts
:1;
2098 UINT32 Provides33Volts
:1;
2099 UINT32 SharedSlot
:1;
2100 UINT32 PcCard16Supported
:1;
2101 UINT32 CardBusSupported
:1;
2102 UINT32 ZoomVideoSupported
:1;
2103 UINT32 ModemRingResumeSupported
:1;
2104 UINT32 PmeSignalSupported
:1;
2105 UINT32 HotPlugDevicesSupported
:1;
2106 UINT32 SmbusSignalSupported
:1;
2107 UINT32 Reserved
:21;
2108 } EFI_MISC_SLOT_CHARACTERISTICS
;
2111 STRING_REF SlotDesignation
;
2112 EFI_MISC_SLOT_TYPE SlotType
;
2113 EFI_MISC_SLOT_DATA_BUS_WIDTH SlotDataBusWidth
;
2114 EFI_MISC_SLOT_USAGE SlotUsage
;
2115 EFI_MISC_SLOT_LENGTH SlotLength
;
2117 EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics
;
2118 EFI_DEVICE_PATH_PROTOCOL SlotDevicePath
;
2119 } EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA
;
2122 // Misc. Onboard Device - SMBIOS Type 10
2124 #define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008
2127 EfiOnBoardDeviceTypeOther
= 1,
2128 EfiOnBoardDeviceTypeUnknown
= 2,
2129 EfiOnBoardDeviceTypeVideo
= 3,
2130 EfiOnBoardDeviceTypeScsiController
= 4,
2131 EfiOnBoardDeviceTypeEthernet
= 5,
2132 EfiOnBoardDeviceTypeTokenRing
= 6,
2133 EfiOnBoardDeviceTypeSound
= 7
2134 } EFI_MISC_ONBOARD_DEVICE_TYPE
;
2137 UINT32 DeviceType
:16;
2138 UINT32 DeviceEnabled
:1;
2139 UINT32 Reserved
:15;
2140 } EFI_MISC_ONBOARD_DEVICE_STATUS
;
2143 STRING_REF OnBoardDeviceDescription
;
2145 /// Inconsistent with specification here:
2146 /// In MiscSubclass spec 0.9, the naming is OnBoardDeviceType.
2147 /// Keep it unchanged for backward compatibilty.
2149 EFI_MISC_ONBOARD_DEVICE_STATUS OnBoardDeviceStatus
;
2150 EFI_DEVICE_PATH_PROTOCOL OnBoardDevicePath
;
2151 } EFI_MISC_ONBOARD_DEVICE_DATA
;
2154 // Misc. BIOS Language Information - SMBIOS Type 11
2156 #define EFI_MISC_OEM_STRING_RECORD_NUMBER 0x00000009
2159 STRING_REF OemStringRef
[1];
2160 } EFI_MISC_OEM_STRING_DATA
;
2163 // Misc. System Options - SMBIOS Type 12
2166 STRING_REF SystemOptionStringRef
[1];
2167 } EFI_MISC_SYSTEM_OPTION_STRING_DATA
;
2169 #define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A
2172 // Misc. Number of Installable Languages - SMBIOS Type 13
2174 #define EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_RECORD_NUMBER 0x0000000B
2177 UINT32 AbbreviatedLanguageFormat
:1;
2178 UINT32 Reserved
:31;
2179 } EFI_MISC_LANGUAGE_FLAGS
;
2182 UINT16 NumberOfInstallableLanguages
;
2183 EFI_MISC_LANGUAGE_FLAGS LanguageFlags
;
2184 UINT16 CurrentLanguageNumber
;
2185 } EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA
;
2188 // Misc. System Language String
2190 #define EFI_MISC_SYSTEM_LANGUAGE_STRING_RECORD_NUMBER 0x0000000C
2194 STRING_REF SystemLanguageString
;
2195 } EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA
;
2198 // Group Associations - SMBIOS Type 14
2200 #define EFI_MISC_GROUP_NAME_RECORD_NUMBER 0x0000000D
2203 STRING_REF GroupName
;
2204 UINT16 NumberGroupItems
;
2206 } EFI_MISC_GROUP_NAME_DATA
;
2209 // Group Item Set Element
2211 #define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER 0x0000000E
2215 EFI_INTER_LINK_DATA GroupLink
;
2217 UINT16 GroupElementId
;
2218 } EFI_MISC_GROUP_ITEM_SET_DATA
;
2221 // Misc. Pointing Device Type - SMBIOS Type 21
2223 #define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F
2226 EfiPointingDeviceTypeOther
= 0x01,
2227 EfiPointingDeviceTypeUnknown
= 0x02,
2228 EfiPointingDeviceTypeMouse
= 0x03,
2229 EfiPointingDeviceTypeTrackBall
= 0x04,
2230 EfiPointingDeviceTypeTrackPoint
= 0x05,
2231 EfiPointingDeviceTypeGlidePoint
= 0x06,
2232 EfiPointingDeviceTouchPad
= 0x07,
2233 EfiPointingDeviceTouchScreen
= 0x08,
2234 EfiPointingDeviceOpticalSensor
= 0x09
2235 } EFI_MISC_POINTING_DEVICE_TYPE
;
2238 EfiPointingDeviceInterfaceOther
= 0x01,
2239 EfiPointingDeviceInterfaceUnknown
= 0x02,
2240 EfiPointingDeviceInterfaceSerial
= 0x03,
2241 EfiPointingDeviceInterfacePs2
= 0x04,
2242 EfiPointingDeviceInterfaceInfrared
= 0x05,
2243 EfiPointingDeviceInterfaceHpHil
= 0x06,
2244 EfiPointingDeviceInterfaceBusMouse
= 0x07,
2245 EfiPointingDeviceInterfaceADB
= 0x08,
2246 EfiPointingDeviceInterfaceBusMouseDB9
= 0xA0,
2247 EfiPointingDeviceInterfaceBusMouseMicroDin
= 0xA1,
2248 EfiPointingDeviceInterfaceUsb
= 0xA2
2249 } EFI_MISC_POINTING_DEVICE_INTERFACE
;
2252 EFI_MISC_POINTING_DEVICE_TYPE PointingDeviceType
;
2253 EFI_MISC_POINTING_DEVICE_INTERFACE PointingDeviceInterface
;
2254 UINT16 NumberPointingDeviceButtons
;
2255 EFI_DEVICE_PATH_PROTOCOL PointingDevicePath
;
2256 } EFI_MISC_POINTING_DEVICE_TYPE_DATA
;
2259 // Portable Battery - SMBIOS Type 22
2262 /// Inconsistent with specification here:
2263 /// In MiscSubclass spec 0.9, the naming is EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER.
2264 /// Keep it unchanged for backward compatibilty.
2266 #define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER 0x00000010
2269 /// Inconsistent with specification here:
2270 /// In MiscSubclass spec 0.9, the structure name is EFI_MISC_BATTERY_DEVICE_CHEMISTRY.
2271 /// And all field namings are also different with spec.
2272 /// Keep it unchanged for backward compatibilty.
2275 EfiPortableBatteryDeviceChemistryOther
= 1,
2276 EfiPortableBatteryDeviceChemistryUnknown
= 2,
2277 EfiPortableBatteryDeviceChemistryLeadAcid
= 3,
2278 EfiPortableBatteryDeviceChemistryNickelCadmium
= 4,
2279 EfiPortableBatteryDeviceChemistryNickelMetalHydride
= 5,
2280 EfiPortableBatteryDeviceChemistryLithiumIon
= 6,
2281 EfiPortableBatteryDeviceChemistryZincAir
= 7,
2282 EfiPortableBatteryDeviceChemistryLithiumPolymer
= 8
2283 } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
;
2286 /// Inconsistent with specification here:
2287 /// In MiscSubclass spec 0.9, the structure name is EFI_MISC_BATTERY_LOCATION_DATA.
2288 /// And the name and the order of the fields are also different with spec.
2289 /// Keep it unchanged for backward compatibilty.
2292 STRING_REF Location
;
2293 STRING_REF Manufacturer
;
2294 STRING_REF ManufactureDate
;
2295 STRING_REF SerialNumber
;
2296 STRING_REF DeviceName
;
2297 EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
2299 UINT16 DesignCapacity
;
2300 UINT16 DesignVoltage
;
2301 STRING_REF SBDSVersionNumber
;
2303 UINT16 SBDSSerialNumber
;
2304 UINT16 SBDSManufactureDate
;
2305 STRING_REF SBDSDeviceChemistry
;
2306 UINT8 DesignCapacityMultiplier
;
2308 UINT8 BatteryNumber
; // Temporary
2309 BOOLEAN Valid
; // Is entry valid - Temporary
2310 } EFI_MISC_PORTABLE_BATTERY
;
2314 // Misc. Reset Capabilities - SMBIOS Type 23
2316 #define EFI_MISC_RESET_CAPABILITIES_RECORD_NUMBER 0x00000011
2320 UINT32 BootOption
:2;
2321 UINT32 BootOptionOnLimit
:2;
2322 UINT32 WatchdogTimerPresent
:1;
2323 UINT32 Reserved
:26;
2324 } EFI_MISC_RESET_CAPABILITIES_TYPE
;
2327 EFI_MISC_RESET_CAPABILITIES_TYPE ResetCapabilities
;
2330 UINT16 ResetTimerInterval
;
2331 UINT16 ResetTimeout
;
2332 } EFI_MISC_RESET_CAPABILITIES
;
2335 EFI_MISC_RESET_CAPABILITIES ResetCapabilities
;
2338 UINT16 ResetTimerInterval
;
2339 UINT16 ResetTimeout
;
2340 } EFI_MISC_RESET_CAPABILITIES_DATA
;
2343 // Misc. Hardware Security - SMBIOS Type 24
2345 #define EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA_RECORD_NUMBER 0x00000012
2348 /// Inconsistent with specification here:
2349 /// In MiscSubclass spec 0.9, it only mention the possible value of each field in
2350 /// EFI_MISC_HARDWARE_SECURITY_SETTINGS.
2351 /// It's implementation-specific to simplify the code logic.
2354 EfiHardwareSecurityStatusDisabled
= 0,
2355 EfiHardwareSecurityStatusEnabled
= 1,
2356 EfiHardwareSecurityStatusNotImplemented
= 2,
2357 EfiHardwareSecurityStatusUnknown
= 3
2358 } EFI_MISC_HARDWARE_SECURITY_STATUS
;
2361 UINT32 FrontPanelResetStatus
:2;
2362 UINT32 AdministratorPasswordStatus
:2;
2363 UINT32 KeyboardPasswordStatus
:2;
2364 UINT32 PowerOnPasswordStatus
:2;
2365 UINT32 Reserved
:24;
2366 } EFI_MISC_HARDWARE_SECURITY_SETTINGS
;
2369 EFI_MISC_HARDWARE_SECURITY_SETTINGS HardwareSecuritySettings
;
2370 } EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA
;
2373 // System Power Controls - SMBIOS Type 25
2375 #define EFI_MISC_SCHEDULED_POWER_ON_MONTH_RECORD_NUMBER 0x00000013
2378 UINT16 ScheduledPoweronMonth
;
2379 UINT16 ScheduledPoweronDayOfMonth
;
2380 UINT16 ScheduledPoweronHour
;
2381 UINT16 ScheduledPoweronMinute
;
2382 UINT16 ScheduledPoweronSecond
;
2383 } EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA
;
2386 // Voltage Probe - SMBIOS Type 26
2388 #define EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000014
2391 UINT32 VoltageProbeSite
:5;
2392 UINT32 VoltageProbeStatus
:3;
2393 UINT32 Reserved
:24;
2394 } EFI_MISC_VOLTAGE_PROBE_LOCATION
;
2397 STRING_REF VoltageProbeDescription
;
2398 EFI_MISC_VOLTAGE_PROBE_LOCATION VoltageProbeLocation
;
2399 EFI_EXP_BASE10_DATA VoltageProbeMaximumValue
;
2400 EFI_EXP_BASE10_DATA VoltageProbeMinimumValue
;
2401 EFI_EXP_BASE10_DATA VoltageProbeResolution
;
2402 EFI_EXP_BASE10_DATA VoltageProbeTolerance
;
2403 EFI_EXP_BASE10_DATA VoltageProbeAccuracy
;
2404 EFI_EXP_BASE10_DATA VoltageProbeNominalValue
;
2405 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2406 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2407 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2408 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2409 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2410 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2411 UINT32 VoltageProbeOemDefined
;
2412 } EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA
;
2415 // Cooling Device - SMBIOS Type 27
2417 #define EFI_MISC_COOLING_DEVICE_TEMP_LINK_RECORD_NUMBER 0x00000015
2420 UINT32 CoolingDevice
:5;
2421 UINT32 CoolingDeviceStatus
:3;
2422 UINT32 Reserved
:24;
2423 } EFI_MISC_COOLING_DEVICE_TYPE
;
2426 EFI_MISC_COOLING_DEVICE_TYPE CoolingDeviceType
;
2427 EFI_INTER_LINK_DATA CoolingDeviceTemperatureLink
;
2428 UINT16 CoolingDeviceUnitGroup
;
2429 EFI_EXP_BASE10_DATA CoolingDeviceNominalSpeed
;
2430 UINT32 CoolingDeviceOemDefined
;
2431 } EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA
;
2434 // Temperature Probe - SMBIOS Type 28
2436 #define EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000016
2439 UINT32 TemperatureProbeSite
:5;
2440 UINT32 TemperatureProbeStatus
:3;
2441 UINT32 Reserved
:24;
2442 } EFI_MISC_TEMPERATURE_PROBE_LOCATION
;
2445 STRING_REF TemperatureProbeDescription
;
2446 EFI_MISC_TEMPERATURE_PROBE_LOCATION
2447 TemperatureProbeLocation
;
2448 EFI_EXP_BASE10_DATA TemperatureProbeMaximumValue
;
2449 EFI_EXP_BASE10_DATA TemperatureProbeMinimumValue
;
2450 EFI_EXP_BASE10_DATA TemperatureProbeResolution
;
2451 EFI_EXP_BASE10_DATA TemperatureProbeTolerance
;
2452 EFI_EXP_BASE10_DATA TemperatureProbeAccuracy
;
2453 EFI_EXP_BASE10_DATA TemperatureProbeNominalValue
;
2454 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2455 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2456 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2457 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2458 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2459 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2460 UINT32 TemperatureProbeOemDefined
;
2461 } EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA
;
2464 // Electrical Current Probe - SMBIOS Type 29
2467 #define EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000017
2470 UINT32 ElectricalCurrentProbeSite
:5;
2471 UINT32 ElectricalCurrentProbeStatus
:3;
2472 UINT32 Reserved
:24;
2473 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
;
2476 STRING_REF ElectricalCurrentProbeDescription
;
2477 EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
2478 ElectricalCurrentProbeLocation
;
2479 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMaximumValue
;
2480 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMinimumValue
;
2481 EFI_EXP_BASE10_DATA ElectricalCurrentProbeResolution
;
2482 EFI_EXP_BASE10_DATA ElectricalCurrentProbeTolerance
;
2483 EFI_EXP_BASE10_DATA ElectricalCurrentProbeAccuracy
;
2484 EFI_EXP_BASE10_DATA ElectricalCurrentProbeNominalValue
;
2485 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2486 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2487 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2488 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2489 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2490 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2491 UINT32 ElectricalCurrentProbeOemDefined
;
2492 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA
;
2495 // Out-of-Band Remote Access - SMBIOS Type 30
2498 #define EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_RECORD_NUMBER 0x00000018
2501 UINT32 InboundConnectionEnabled
:1;
2502 UINT32 OutboundConnectionEnabled
:1;
2503 UINT32 Reserved
:30;
2504 } EFI_MISC_REMOTE_ACCESS_CONNECTIONS
;
2507 STRING_REF RemoteAccessManufacturerNameDescription
;
2508 EFI_MISC_REMOTE_ACCESS_CONNECTIONS RemoteAccessConnections
;
2509 } EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
;
2512 // Misc. BIS Entry Point - SMBIOS Type 31
2514 #define EFI_MISC_BIS_ENTRY_POINT_RECORD_NUMBER 0x00000019
2517 EFI_PHYSICAL_ADDRESS BisEntryPoint
;
2518 } EFI_MISC_BIS_ENTRY_POINT_DATA
;
2521 // Misc. Boot Information - SMBIOS Type 32
2523 #define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER 0x0000001A
2526 /// Inconsistent with specification here:
2527 /// In MiscSubclass spec 0.9, the structure name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.
2528 /// Keep it unchanged for backward compatibilty.
2531 EfiBootInformationStatusNoError
= 0x00,
2532 EfiBootInformationStatusNoBootableMedia
= 0x01,
2533 EfiBootInformationStatusNormalOSFailedLoading
= 0x02,
2534 EfiBootInformationStatusFirmwareDetectedFailure
= 0x03,
2535 EfiBootInformationStatusOSDetectedFailure
= 0x04,
2536 EfiBootInformationStatusUserRequestedBoot
= 0x05,
2537 EfiBootInformationStatusSystemSecurityViolation
= 0x06,
2538 EfiBootInformationStatusPreviousRequestedImage
= 0x07,
2539 EfiBootInformationStatusWatchdogTimerExpired
= 0x08,
2540 EfiBootInformationStatusStartReserved
= 0x09,
2541 EfiBootInformationStatusStartOemSpecific
= 0x80,
2542 EfiBootInformationStatusStartProductSpecific
= 0xC0
2543 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE
;
2547 /// Inconsistent with specification here:
2548 /// In MiscSubclass spec 0.9, the field name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.
2549 /// Keep it unchanged for backward compatibilty.
2551 EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE BootInformationStatus
;
2552 UINT8 BootInformationData
[9];
2553 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA
;
2556 // Management Device - SMBIOS Type 34
2558 #define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER 0x0000001B
2561 EfiManagementDeviceTypeOther
= 0x01,
2562 EfiManagementDeviceTypeUnknown
= 0x02,
2563 EfiManagementDeviceTypeLm75
= 0x03,
2564 EfiManagementDeviceTypeLm78
= 0x04,
2565 EfiManagementDeviceTypeLm79
= 0x05,
2566 EfiManagementDeviceTypeLm80
= 0x06,
2567 EfiManagementDeviceTypeLm81
= 0x07,
2568 EfiManagementDeviceTypeAdm9240
= 0x08,
2569 EfiManagementDeviceTypeDs1780
= 0x09,
2570 EfiManagementDeviceTypeMaxim1617
= 0x0A,
2571 EfiManagementDeviceTypeGl518Sm
= 0x0B,
2572 EfiManagementDeviceTypeW83781D
= 0x0C,
2573 EfiManagementDeviceTypeHt82H791
= 0x0D
2574 } EFI_MISC_MANAGEMENT_DEVICE_TYPE
;
2577 EfiManagementDeviceAddressTypeOther
= 1,
2578 EfiManagementDeviceAddressTypeUnknown
= 2,
2579 EfiManagementDeviceAddressTypeIOPort
= 3,
2580 EfiManagementDeviceAddressTypeMemory
= 4,
2581 EfiManagementDeviceAddressTypeSmbus
= 5
2582 } EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
;
2585 STRING_REF ManagementDeviceDescription
;
2586 EFI_MISC_MANAGEMENT_DEVICE_TYPE ManagementDeviceType
;
2587 UINTN ManagementDeviceAddress
;
2588 EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
2589 ManagementDeviceAddressType
;
2590 } EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA
;
2593 // Management Device Component - SMBIOS Type 35
2596 #define EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_RECORD_NUMBER 0x0000001C
2599 STRING_REF ManagementDeviceComponentDescription
;
2600 EFI_INTER_LINK_DATA ManagementDeviceLink
;
2601 EFI_INTER_LINK_DATA ManagementDeviceComponentLink
;
2603 /// Inconsistent with specification here:
2604 /// In MiscSubclass spec 0.9, this field is NOT defined.
2605 /// It's introduced for SmBios 2.6 spec type 35.
2607 EFI_INTER_LINK_DATA ManagementDeviceThresholdLink
;
2608 } EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
;
2611 // IPMI Data Record - SMBIOS Type 38
2618 } EFI_MISC_IPMI_INTERFACE_TYPE
;
2621 UINT16 IpmiSpecLeastSignificantDigit
:4;
2622 UINT16 IpmiSpecMostSignificantDigit
: 4;
2624 } EFI_MISC_IPMI_SPECIFICATION_REVISION
;
2627 EFI_MISC_IPMI_INTERFACE_TYPE IpmiInterfaceType
;
2628 EFI_MISC_IPMI_SPECIFICATION_REVISION
2629 IpmiSpecificationRevision
;
2630 UINT16 IpmiI2CSlaveAddress
;
2631 UINT16 IpmiNvDeviceAddress
;
2632 UINT64 IpmiBaseAddress
;
2633 EFI_DEVICE_PATH_PROTOCOL IpmiDevicePath
;
2634 } EFI_MISC_IPMI_INTERFACE_TYPE_DATA
;
2636 #define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER 0x0000001D
2639 /// System Power supply Record - SMBIOS Type 39
2641 /// Inconsistent with specification here:
2642 /// In MiscSubclass spec 0.9, the type of all fields are UINT32.
2643 /// Keep it unchanged for backward compatibilty.
2646 UINT16 PowerSupplyHotReplaceable
:1;
2647 UINT16 PowerSupplyPresent
:1;
2648 UINT16 PowerSupplyUnplugged
:1;
2649 UINT16 InputVoltageRangeSwitch
:4;
2650 UINT16 PowerSupplyStatus
:3;
2651 UINT16 PowerSupplyType
:4;
2653 } EFI_MISC_POWER_SUPPLY_CHARACTERISTICS
;
2656 /// Inconsistent with specification here:
2657 /// In MiscSubclass spec 0.9, the structure name is EFI_MISC_POWER_SUPPLY_UNIT_GROUP_DATA.
2658 /// Keep it unchanged for backward compatibilty.
2661 UINT16 PowerUnitGroup
;
2662 STRING_REF PowerSupplyLocation
;
2663 STRING_REF PowerSupplyDeviceName
;
2664 STRING_REF PowerSupplyManufacturer
;
2665 STRING_REF PowerSupplySerialNumber
;
2666 STRING_REF PowerSupplyAssetTagNumber
;
2667 STRING_REF PowerSupplyModelPartNumber
;
2668 STRING_REF PowerSupplyRevisionLevel
;
2669 UINT16 PowerSupplyMaxPowerCapacity
;
2670 EFI_MISC_POWER_SUPPLY_CHARACTERISTICS PowerSupplyCharacteristics
;
2671 EFI_INTER_LINK_DATA PowerSupplyInputVoltageProbeLink
;
2672 EFI_INTER_LINK_DATA PowerSupplyCoolingDeviceLink
;
2673 EFI_INTER_LINK_DATA PowerSupplyInputCurrentProbeLink
;
2674 } EFI_MISC_SYSTEM_POWER_SUPPLY_DATA
;
2676 #define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E
2679 /// OEM Data Record - SMBIOS Type 0x80-0xFF
2681 /// Inconsistent with specification here:
2682 /// In MiscSubclass spec 0.9, the structure name is EFI_SMBIOS_STRUCTURE_HDR.
2683 /// Due to this structure is commonly used by vendor to construct SmBios type 0x80~0xFF table,
2684 /// Keep it unchanged for backward compatibilty.
2690 } SMBIOS_STRUCTURE_HDR
;
2694 /// Inconsistent with specification here:
2695 /// In MiscSubclass spec 0.9, the field name is EFI_SMBIOS_STRUCTURE_HDR.
2696 /// Keep it unchanged for backward compatibilty.
2698 SMBIOS_STRUCTURE_HDR Header
;
2700 } EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA
;
2702 #define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER 0x0000001F
2705 /// Misc. System Event Log - SMBIOS Type 15
2707 /// Inconsistent with specification here:
2708 /// In MiscSubclass spec 0.9, the following data structures are NOT defined.
2709 /// It's introduced for SmBios 2.6 spec type 15.
2711 #define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x00000020
2714 /// Inconsistent with specification here:
2715 /// In MiscSubclass spec 0.9, the following data structures are NOT defined.
2716 /// It's introduced for SmBios 2.6 spec type 15.
2719 UINT16 LogAreaLength
;
2720 UINT16 LogHeaderStartOffset
;
2721 UINT16 LogDataStartOffset
;
2724 UINT32 LogChangeToken
;
2725 UINT32 AccessMethodAddress
;
2726 UINT8 LogHeaderFormat
;
2727 UINT8 NumberOfSupportedLogType
;
2728 UINT8 LengthOfLogDescriptor
;
2729 } EFI_MISC_SYSTEM_EVENT_LOG_DATA
;
2733 // 0x00~0x04: as following definition
2734 // 0x05~0x7f: Available for future assignment.
2735 // 0x80~0xff: BIOS Vendor/OEM-specific.
2737 #define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT 0x00
2738 #define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT 0X01
2739 #define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT 0X02
2740 #define ACCESS_MEMORY_MAPPED 0x03
2741 #define ACCESS_GPNV 0x04
2744 /// Management Device Threshold Data Record - SMBIOS Type 36
2746 /// Inconsistent with specification here:
2747 /// In MiscSubclass spec 0.9, the following data structures are NOT defined.
2748 /// It's introduced for SmBios 2.6 spec type 36.
2750 #define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER 0x00000021
2752 /// Inconsistent with specification here:
2753 /// In MiscSubclass spec 0.9, the following data structures are NOT defined.
2754 /// It's introduced for SmBios 2.6 spec type 36.
2757 UINT16 LowerThresNonCritical
;
2758 UINT16 UpperThresNonCritical
;
2759 UINT16 LowerThresCritical
;
2760 UINT16 UpperThresCritical
;
2761 UINT16 LowerThresNonRecover
;
2762 UINT16 UpperThresNonRecover
;
2763 } EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD
;
2766 // Declare the following strutures alias to use them more conviniently.
2768 typedef EFI_MISC_LAST_PCI_BUS_DATA EFI_MISC_LAST_PCI_BUS
;
2769 typedef EFI_MISC_BIOS_VENDOR_DATA EFI_MISC_BIOS_VENDOR
;
2770 typedef EFI_MISC_SYSTEM_MANUFACTURER_DATA EFI_MISC_SYSTEM_MANUFACTURER
;
2771 typedef EFI_MISC_BASE_BOARD_MANUFACTURER_DATA EFI_MISC_BASE_BOARD_MANUFACTURER
;
2772 typedef EFI_MISC_CHASSIS_MANUFACTURER_DATA EFI_MISC_CHASSIS_MANUFACTURER
;
2773 typedef EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR
;
2774 typedef EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA EFI_MISC_SYSTEM_SLOT_DESIGNATION
;
2775 typedef EFI_MISC_ONBOARD_DEVICE_DATA EFI_MISC_ONBOARD_DEVICE
;
2776 typedef EFI_MISC_POINTING_DEVICE_TYPE_DATA EFI_MISC_ONBOARD_DEVICE_TYPE_DATA
;
2777 typedef EFI_MISC_OEM_STRING_DATA EFI_MISC_OEM_STRING
;
2778 typedef EFI_MISC_SYSTEM_OPTION_STRING_DATA EFI_MISC_SYSTEM_OPTION_STRING
;
2779 typedef EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES
;
2780 typedef EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA EFI_MISC_SYSTEM_LANGUAGE_STRING
;
2781 typedef EFI_MISC_SYSTEM_EVENT_LOG_DATA EFI_MISC_SYSTEM_EVENT_LOG
;
2782 typedef EFI_MISC_BIS_ENTRY_POINT_DATA EFI_MISC_BIS_ENTRY_POINT
;
2783 typedef EFI_MISC_BOOT_INFORMATION_STATUS_DATA EFI_MISC_BOOT_INFORMATION_STATUS
;
2784 typedef EFI_MISC_SYSTEM_POWER_SUPPLY_DATA EFI_MISC_SYSTEM_POWER_SUPPLY
;
2785 typedef EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION
;
2786 typedef EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA EFI_MISC_SCHEDULED_POWER_ON_MONTH
;
2787 typedef EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA EFI_MISC_VOLTAGE_PROBE_DESCRIPTION
;
2788 typedef EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA EFI_MISC_COOLING_DEVICE_TEMP_LINK
;
2789 typedef EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION
;
2790 typedef EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
2791 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION
;
2792 typedef EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION
;
2793 typedef EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION
;
2796 /// Inconsistent with specification here:
2797 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
2798 /// It is implementation-specific to simplify the code logic.
2801 EFI_MISC_LAST_PCI_BUS_DATA LastPciBus
;
2802 EFI_MISC_BIOS_VENDOR_DATA MiscBiosVendor
;
2803 EFI_MISC_SYSTEM_MANUFACTURER_DATA MiscSystemManufacturer
;
2804 EFI_MISC_BASE_BOARD_MANUFACTURER_DATA MiscBaseBoardManufacturer
;
2805 EFI_MISC_CHASSIS_MANUFACTURER_DATA MiscChassisManufacturer
;
2806 EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA MiscPortInternalConnectorDesignator
;
2807 EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA MiscSystemSlotDesignation
;
2808 EFI_MISC_ONBOARD_DEVICE_DATA MiscOnboardDevice
;
2809 EFI_MISC_OEM_STRING_DATA MiscOemString
;
2810 EFI_MISC_SYSTEM_OPTION_STRING_DATA MiscOptionString
;
2811 EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA NumberOfInstallableLanguages
;
2812 EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA MiscSystemLanguageString
;
2813 EFI_MISC_SYSTEM_EVENT_LOG_DATA MiscSystemEventLog
;
2814 EFI_MISC_GROUP_NAME_DATA MiscGroupNameData
;
2815 EFI_MISC_GROUP_ITEM_SET_DATA MiscGroupItemSetData
;
2816 EFI_MISC_POINTING_DEVICE_TYPE_DATA MiscPointingDeviceTypeData
;
2817 EFI_MISC_RESET_CAPABILITIES_DATA MiscResetCapablilitiesData
;
2818 EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA MiscHardwareSecuritySettingsData
;
2819 EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA MiscScheduledPowerOnMonthData
;
2820 EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA MiscVoltagePorbeDescriptionData
;
2821 EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA MiscCoolingDeviceTempLinkData
;
2822 EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA MiscTemperatureProbeDescriptionData
;
2823 EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA MiscElectricalCurrentProbeDescriptionData
;
2824 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
2825 MiscRemoteAccessManufacturerDescriptionData
;
2826 EFI_MISC_BIS_ENTRY_POINT_DATA MiscBisEntryPoint
;
2827 EFI_MISC_BOOT_INFORMATION_STATUS_DATA MiscBootInformationStatus
;
2828 EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA MiscMangementDeviceDescriptionData
;
2829 EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
2830 MiscmangementDeviceComponentDescriptionData
;
2831 EFI_MISC_IPMI_INTERFACE_TYPE_DATA MiscIpmiInterfaceTypeData
;
2832 EFI_MISC_SYSTEM_POWER_SUPPLY_DATA MiscPowerSupplyInfo
;
2833 EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA MiscSmbiosStructEncapsulation
;
2834 EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD MiscManagementDeviceThreshold
;
2835 } EFI_MISC_SUBCLASS_RECORDS
;
2838 /// Inconsistent with specification here:
2839 /// In MemSubclass spec 0.9, the following data structures are NOT defined.
2840 /// It is implementation-specific to simplify the code logic.
2843 EFI_SUBCLASS_TYPE1_HEADER Header
;
2844 EFI_MISC_SUBCLASS_RECORDS Record
;
2845 } EFI_MISC_SUBCLASS_DRIVER_DATA
;
2849 /// Inconsistent with specification here:
2850 /// In DataHubSubclass spec 0.9 page 16, the following symbol is NOT defined.
2851 /// But value is meaningful, 0 means Reserved.
2853 #define EFI_SUBCLASS_INSTANCE_RESERVED 0
2855 /// Inconsistent with specification here:
2856 /// In DataHubSubclass spec 0.9 page 16, the following symbol is NOT defined.
2857 /// But value is meaningful, -1 means Not Applicable.
2859 #define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF