2 DataHubRecord.h includes all data hub subclass GUID definitions.
4 This file includes all data hub sub class defitions from
5 Cache subclass specification 0.9, DataHub SubClass specification 0.9, Memory SubClass Spec 0.9,
6 Processor Subclass specification 0.9, and Misc SubClass specification 0.9.
8 Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
9 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #ifndef _DATAHUB_RECORDS_GUID_H_
13 #define _DATAHUB_RECORDS_GUID_H_
16 // The include is required to retrieve type EFI_EXP_BASE10_DATA
18 #include <Guid/StatusCodeDataTypeId.h>
20 #define EFI_PROCESSOR_SUBCLASS_GUID \
21 { 0x26fdeb7e, 0xb8af, 0x4ccf, {0xaa, 0x97, 0x02, 0x63, 0x3c, 0xe4, 0x8c, 0xa7 } }
23 extern EFI_GUID gEfiProcessorSubClassGuid
;
26 #define EFI_CACHE_SUBCLASS_GUID \
27 { 0x7f0013a7, 0xdc79, 0x4b22, {0x80, 0x99, 0x11, 0xf7, 0x5f, 0xdc, 0x82, 0x9d } }
29 extern EFI_GUID gEfiCacheSubClassGuid
;
32 /// The memory subclass belongs to the data class and is identified as the memory
33 /// subclass by the GUID.
35 #define EFI_MEMORY_SUBCLASS_GUID \
36 {0x4E8F4EBB, 0x64B9, 0x4e05, {0x9B, 0x18, 0x4C, 0xFE, 0x49, 0x23, 0x50, 0x97} }
38 extern EFI_GUID gEfiMemorySubClassGuid
;
40 #define EFI_MISC_SUBCLASS_GUID \
41 { 0x772484B2, 0x7482, 0x4b91, {0x9F, 0x9A, 0xAD, 0x43, 0xF8, 0x1C, 0x58, 0x81 } }
43 extern EFI_GUID gEfiMiscSubClassGuid
;
47 /// Inconsistent with specification here:
48 /// In ProcSubclass specification 0.9, the value is 0x0100.
49 /// Keep it unchanged from the perspective of binary consistency.
51 #define EFI_PROCESSOR_SUBCLASS_VERSION 0x00010000
55 typedef struct _USB_PORT_DEVICE_PATH
{
56 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
57 PCI_DEVICE_PATH PciBusDevicePath
;
58 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
59 } USB_PORT_DEVICE_PATH
;
64 typedef struct _IDE_DEVICE_PATH
{
65 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
66 PCI_DEVICE_PATH PciBusDevicePath
;
67 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
73 typedef struct _RMC_CONN_DEVICE_PATH
{
74 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
75 PCI_DEVICE_PATH PciBridgeDevicePath
;
76 PCI_DEVICE_PATH PciBusDevicePath
;
77 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
78 } RMC_CONN_DEVICE_PATH
;
83 typedef struct _RIDE_DEVICE_PATH
{
84 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
85 PCI_DEVICE_PATH PciBridgeDevicePath
;
86 PCI_DEVICE_PATH PciBusDevicePath
;
87 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
93 typedef struct _GB_NIC_DEVICE_PATH
{
94 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
95 PCI_DEVICE_PATH PciBridgeDevicePath
;
96 PCI_DEVICE_PATH PciXBridgeDevicePath
;
97 PCI_DEVICE_PATH PciXBusDevicePath
;
98 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
104 typedef struct _PS2_CONN_DEVICE_PATH
{
105 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
106 PCI_DEVICE_PATH LpcBridgeDevicePath
;
107 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
108 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
109 } PS2_CONN_DEVICE_PATH
;
112 // Serial Port Connector
114 typedef struct _SERIAL_CONN_DEVICE_PATH
{
115 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
116 PCI_DEVICE_PATH LpcBridgeDevicePath
;
117 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
118 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
119 } SERIAL_CONN_DEVICE_PATH
;
122 // Parallel Port Connector
124 typedef struct _PARALLEL_CONN_DEVICE_PATH
{
125 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
126 PCI_DEVICE_PATH LpcBridgeDevicePath
;
127 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
128 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
129 } PARALLEL_CONN_DEVICE_PATH
;
134 typedef struct _FLOOPY_CONN_DEVICE_PATH
{
135 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
136 PCI_DEVICE_PATH LpcBridgeDevicePath
;
137 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
138 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
139 } FLOOPY_CONN_DEVICE_PATH
;
142 /// Inconsistent with specification here:
143 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
144 /// It's implementation-specific to simplify the code logic.
146 typedef union _EFI_MISC_PORT_DEVICE_PATH
{
147 USB_PORT_DEVICE_PATH UsbDevicePath
;
148 IDE_DEVICE_PATH IdeDevicePath
;
149 RMC_CONN_DEVICE_PATH RmcConnDevicePath
;
150 RIDE_DEVICE_PATH RideDevicePath
;
151 GB_NIC_DEVICE_PATH GbNicDevicePath
;
152 PS2_CONN_DEVICE_PATH Ps2ConnDevicePath
;
153 SERIAL_CONN_DEVICE_PATH SerialConnDevicePath
;
154 PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath
;
155 FLOOPY_CONN_DEVICE_PATH FloppyConnDevicePath
;
156 } EFI_MISC_PORT_DEVICE_PATH
;
161 /// String Token Definition
163 /// Inconsistent with specification here:
164 /// The macro isn't defined by any specification.
165 /// Keep it unchanged for backward compatibility.
167 #define EFI_STRING_TOKEN UINT16
170 /// Each data record that is a member of some subclass starts with a standard
171 /// header of type EFI_SUBCLASS_TYPE1_HEADER.
172 /// This header is only a guideline and applicable only to a data
173 /// subclass that is producing SMBIOS data records. A subclass can start with a
174 /// different header if needed.
178 /// The version of the specification to which a specific subclass data record adheres.
182 /// The size in bytes of this data class header.
186 /// The instance number of the subclass with the same ProducerName. This number is
187 /// applicable in cases where multiple subclass instances that were produced by the same
188 /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not
189 /// Applicable. All data consumer drivers should be able to handle all the possible values
190 /// of Instance, including Not Applicable and Reserved.
194 /// The instance number of the RecordType for the same Instance. This number is
195 /// applicable in cases where multiple instances of the RecordType exist for a specific
196 /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.
197 /// All data consumer drivers should be able to handle all the possible values of
198 /// SubInstance, including Not Applicable and Reserved.
202 /// The record number for the data record being specified. The numbering scheme and
203 /// definition is defined in the specific subclass specification.
206 } EFI_SUBCLASS_TYPE1_HEADER
;
209 /// This structure is used to link data records in the same subclasses. A data record is
210 /// defined as a link to another data record in the same subclass using this structure.
214 /// An EFI_GUID that identifies the component that produced this data record. Type
215 /// EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
217 EFI_GUID ProducerName
;
219 /// The instance number of the subclass with the same ProducerName. This number is
220 /// applicable in cases where multiple subclass instances that were produced by the same
221 /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not
222 /// Applicable. All data consumer drivers should be able to handle all the possible values
223 /// of Instance, including Not Applicable and Reserved.
226 /// The instance number of the RecordType for the same Instance. This number is
227 /// applicable in cases where multiple instances of the RecordType exist for a specific
228 /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.
229 /// All data consumer drivers should be able to handle all the possible values of
230 /// SubInstance, including Not Applicable and Reserved.
232 } EFI_INTER_LINK_DATA
;
238 /// This macro provides a calculation for base-10 representations. Value and Exponent are each
239 /// INT16. It is signed to cover negative values and is 16 bits wide (15 bits for data and 1 bit
244 /// The INT16 number by which to multiply the base-10 representation.
248 /// The INT16 number by which to raise the base-10 calculation.
251 } EFI_EXP_BASE2_DATA
;
253 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA
;
254 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA
;
255 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_CORE_FREQUENCY_DATA
;
258 /// This data record refers to the list of frequencies that the processor core supports. The list of
259 /// supported frequencies is determined by the firmware based on hardware capabilities--for example,
260 /// it could be a common subset of all processors and the chipset. The unit of measurement of this data
261 /// record is in Hertz. For asynchronous processors, the content of this data record is zero.
262 /// The list is terminated by -1 in the Value field of the last element. A Value field of zero means
263 /// that the processor/driver supports automatic frequency selection.
265 /// Inconsistent with specification here:
266 /// According to MiscSubclass 0.9 specification, it should be a pointer since it refers to a list of frequencies.
268 typedef EFI_EXP_BASE10_DATA
*EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA
;
271 /// This data record refers to the list of supported frequencies of the processor external bus. The list of
272 /// supported frequencies is determined by the firmware based on hardware capabilities--for example,
273 /// it could be a common subset of all processors and the chipset. The unit of measurement of this data
274 /// record is in Hertz. For asynchronous processors, the content of this data record is NULL.
275 /// The list is terminated by -1 in the Value field of the last element. A Value field of zero means
276 /// that the processor/driver supports automatic frequency selection.
278 typedef EFI_EXP_BASE10_DATA
*EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA
;
279 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_FSB_FREQUENCY_DATA
;
280 typedef STRING_REF EFI_PROCESSOR_VERSION_DATA
;
281 typedef STRING_REF EFI_PROCESSOR_MANUFACTURER_DATA
;
282 typedef STRING_REF EFI_PROCESSOR_SERIAL_NUMBER_DATA
;
283 typedef STRING_REF EFI_PROCESSOR_ASSET_TAG_DATA
;
284 typedef STRING_REF EFI_PROCESSOR_PART_NUMBER_DATA
;
287 UINT32 ProcessorSteppingId
:4;
288 UINT32 ProcessorModel
: 4;
289 UINT32 ProcessorFamily
: 4;
290 UINT32 ProcessorType
: 2;
291 UINT32 ProcessorReserved1
: 2;
292 UINT32 ProcessorXModel
: 4;
293 UINT32 ProcessorXFamily
: 8;
294 UINT32 ProcessorReserved2
: 4;
295 } EFI_PROCESSOR_SIGNATURE
;
299 /// Inconsistent with specification here:
300 /// The name of third field in ProcSubClass specification 0.9 is LogicalProcessorCount.
301 /// Keep it unchanged for backward compatibility.
304 UINT32 ProcessorBrandIndex
:8;
305 UINT32 ProcessorClflush
:8;
306 UINT32 ProcessorReserved
:8;
307 UINT32 ProcessorDfltApicId
:8;
308 } EFI_PROCESSOR_MISC_INFO
;
311 UINT32 ProcessorFpu
: 1;
312 UINT32 ProcessorVme
: 1;
313 UINT32 ProcessorDe
: 1;
314 UINT32 ProcessorPse
: 1;
315 UINT32 ProcessorTsc
: 1;
316 UINT32 ProcessorMsr
: 1;
317 UINT32 ProcessorPae
: 1;
318 UINT32 ProcessorMce
: 1;
319 UINT32 ProcessorCx8
: 1;
320 UINT32 ProcessorApic
: 1;
321 UINT32 ProcessorReserved1
: 1;
322 UINT32 ProcessorSep
: 1;
323 UINT32 ProcessorMtrr
: 1;
324 UINT32 ProcessorPge
: 1;
325 UINT32 ProcessorMca
: 1;
326 UINT32 ProcessorCmov
: 1;
327 UINT32 ProcessorPat
: 1;
328 UINT32 ProcessorPse36
: 1;
329 UINT32 ProcessorPsn
: 1;
330 UINT32 ProcessorClfsh
: 1;
331 UINT32 ProcessorReserved2
: 1;
332 UINT32 ProcessorDs
: 1;
333 UINT32 ProcessorAcpi
: 1;
334 UINT32 ProcessorMmx
: 1;
335 UINT32 ProcessorFxsr
: 1;
336 UINT32 ProcessorSse
: 1;
337 UINT32 ProcessorSse2
: 1;
338 UINT32 ProcessorSs
: 1;
339 UINT32 ProcessorReserved3
: 1;
340 UINT32 ProcessorTm
: 1;
341 UINT32 ProcessorReserved4
: 2;
342 } EFI_PROCESSOR_FEATURE_FLAGS
;
345 /// This data record refers to the unique ID that identifies a set of processors. This data record is 16
346 /// bytes in length. The data in this structure is processor specific and reserved values can be defined
347 /// for future use. The consumer of this data should not make any assumption and should use this data
348 /// with respect to the processor family defined in the Family record number.
352 /// Identifies the processor.
354 EFI_PROCESSOR_SIGNATURE Signature
;
356 /// Provides additional processor information.
358 EFI_PROCESSOR_MISC_INFO MiscInfo
;
360 /// Reserved for future use.
364 /// Provides additional processor information.
366 EFI_PROCESSOR_FEATURE_FLAGS FeatureFlags
;
367 } EFI_PROCESSOR_ID_DATA
;
370 /// This data record refers to the general classification of the processor. This data record is 4 bytes in
374 EfiProcessorOther
= 1,
375 EfiProcessorUnknown
= 2,
376 EfiCentralProcessor
= 3,
377 EfiMathProcessor
= 4,
379 EfiVideoProcessor
= 6
380 } EFI_PROCESSOR_TYPE_DATA
;
383 /// This data record refers to the family of the processor as defined by the DMTF.
384 /// This data record is 4 bytes in length.
387 EfiProcessorFamilyOther
= 0x01,
388 EfiProcessorFamilyUnknown
= 0x02,
389 EfiProcessorFamily8086
= 0x03,
390 EfiProcessorFamily80286
= 0x04,
391 EfiProcessorFamilyIntel386
= 0x05,
392 EfiProcessorFamilyIntel486
= 0x06,
393 EfiProcessorFamily8087
= 0x07,
394 EfiProcessorFamily80287
= 0x08,
395 EfiProcessorFamily80387
= 0x09,
396 EfiProcessorFamily80487
= 0x0A,
397 EfiProcessorFamilyPentium
= 0x0B,
398 EfiProcessorFamilyPentiumPro
= 0x0C,
399 EfiProcessorFamilyPentiumII
= 0x0D,
400 EfiProcessorFamilyPentiumMMX
= 0x0E,
401 EfiProcessorFamilyCeleron
= 0x0F,
402 EfiProcessorFamilyPentiumIIXeon
= 0x10,
403 EfiProcessorFamilyPentiumIII
= 0x11,
404 EfiProcessorFamilyM1
= 0x12,
405 EfiProcessorFamilyM2
= 0x13,
406 EfiProcessorFamilyM1Reserved2
= 0x14,
407 EfiProcessorFamilyM1Reserved3
= 0x15,
408 EfiProcessorFamilyM1Reserved4
= 0x16,
409 EfiProcessorFamilyM1Reserved5
= 0x17,
410 EfiProcessorFamilyAmdDuron
= 0x18,
411 EfiProcessorFamilyK5
= 0x19,
412 EfiProcessorFamilyK6
= 0x1A,
413 EfiProcessorFamilyK6_2
= 0x1B,
414 EfiProcessorFamilyK6_3
= 0x1C,
415 EfiProcessorFamilyAmdAthlon
= 0x1D,
416 EfiProcessorFamilyAmd29000
= 0x1E,
417 EfiProcessorFamilyK6_2Plus
= 0x1F,
418 EfiProcessorFamilyPowerPC
= 0x20,
419 EfiProcessorFamilyPowerPC601
= 0x21,
420 EfiProcessorFamilyPowerPC603
= 0x22,
421 EfiProcessorFamilyPowerPC603Plus
= 0x23,
422 EfiProcessorFamilyPowerPC604
= 0x24,
423 EfiProcessorFamilyPowerPC620
= 0x25,
424 EfiProcessorFamilyPowerPCx704
= 0x26,
425 EfiProcessorFamilyPowerPC750
= 0x27,
426 EfiProcessorFamilyAlpha3
= 0x30,
427 EfiProcessorFamilyAlpha21064
= 0x31,
428 EfiProcessorFamilyAlpha21066
= 0x32,
429 EfiProcessorFamilyAlpha21164
= 0x33,
430 EfiProcessorFamilyAlpha21164PC
= 0x34,
431 EfiProcessorFamilyAlpha21164a
= 0x35,
432 EfiProcessorFamilyAlpha21264
= 0x36,
433 EfiProcessorFamilyAlpha21364
= 0x37,
434 EfiProcessorFamilyMips
= 0x40,
435 EfiProcessorFamilyMIPSR4000
= 0x41,
436 EfiProcessorFamilyMIPSR4200
= 0x42,
437 EfiProcessorFamilyMIPSR4400
= 0x43,
438 EfiProcessorFamilyMIPSR4600
= 0x44,
439 EfiProcessorFamilyMIPSR10000
= 0x45,
440 EfiProcessorFamilySparc
= 0x50,
441 EfiProcessorFamilySuperSparc
= 0x51,
442 EfiProcessorFamilymicroSparcII
= 0x52,
443 EfiProcessorFamilymicroSparcIIep
= 0x53,
444 EfiProcessorFamilyUltraSparc
= 0x54,
445 EfiProcessorFamilyUltraSparcII
= 0x55,
446 EfiProcessorFamilyUltraSparcIIi
= 0x56,
447 EfiProcessorFamilyUltraSparcIII
= 0x57,
449 /// Inconsistent with specification here:
450 /// This field in ProcSubClass specification 0.9 is defined as EfiProcessorFamilyUltraSparcIIi.
451 /// Change it to EfiProcessorFamilyUltraSparcIIIi to avoid build break.
453 EfiProcessorFamilyUltraSparcIIIi
= 0x58,
454 EfiProcessorFamily68040
= 0x60,
455 EfiProcessorFamily68xxx
= 0x61,
456 EfiProcessorFamily68000
= 0x62,
457 EfiProcessorFamily68010
= 0x63,
458 EfiProcessorFamily68020
= 0x64,
459 EfiProcessorFamily68030
= 0x65,
460 EfiProcessorFamilyHobbit
= 0x70,
461 EfiProcessorFamilyCrusoeTM5000
= 0x78,
462 EfiProcessorFamilyCrusoeTM3000
= 0x79,
463 EfiProcessorFamilyEfficeonTM8000
= 0x7A,
464 EfiProcessorFamilyWeitek
= 0x80,
465 EfiProcessorFamilyItanium
= 0x82,
466 EfiProcessorFamilyAmdAthlon64
= 0x83,
467 EfiProcessorFamilyAmdOpteron
= 0x84,
468 EfiProcessorFamilyAmdSempron
= 0x85,
469 EfiProcessorFamilyAmdTurion64Mobile
= 0x86,
470 EfiProcessorFamilyDualCoreAmdOpteron
= 0x87,
471 EfiProcessorFamilyAmdAthlon64X2DualCore
= 0x88,
472 EfiProcessorFamilyAmdTurion64X2Mobile
= 0x89,
473 EfiProcessorFamilyPARISC
= 0x90,
474 EfiProcessorFamilyPaRisc8500
= 0x91,
475 EfiProcessorFamilyPaRisc8000
= 0x92,
476 EfiProcessorFamilyPaRisc7300LC
= 0x93,
477 EfiProcessorFamilyPaRisc7200
= 0x94,
478 EfiProcessorFamilyPaRisc7100LC
= 0x95,
479 EfiProcessorFamilyPaRisc7100
= 0x96,
480 EfiProcessorFamilyV30
= 0xA0,
481 EfiProcessorFamilyPentiumIIIXeon
= 0xB0,
482 EfiProcessorFamilyPentiumIIISpeedStep
= 0xB1,
483 EfiProcessorFamilyPentium4
= 0xB2,
484 EfiProcessorFamilyIntelXeon
= 0xB3,
485 EfiProcessorFamilyAS400
= 0xB4,
486 EfiProcessorFamilyIntelXeonMP
= 0xB5,
487 EfiProcessorFamilyAMDAthlonXP
= 0xB6,
488 EfiProcessorFamilyAMDAthlonMP
= 0xB7,
489 EfiProcessorFamilyIntelItanium2
= 0xB8,
491 /// Inconsistent with specification here:
492 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
494 EfiProcessorFamilyIntelPentiumM
= 0xB9,
496 /// Inconsistent with specification here:
497 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
499 EfiProcessorFamilyIntelCeleronD
= 0xBA,
501 /// Inconsistent with specification here:
502 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
504 EfiProcessorFamilyIntelPentiumD
= 0xBB,
506 /// Inconsistent with specification here:
507 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
509 EfiProcessorFamilyIntelPentiumEx
= 0xBC,
511 /// Inconsistent with specification here:
512 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
514 EfiProcessorFamilyIntelCoreSolo
= 0xBD,
516 /// Inconsistent with specification here:
517 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
519 EfiProcessorFamilyReserved
= 0xBE,
521 /// Inconsistent with specification here:
522 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
524 EfiProcessorFamilyIntelCore2
= 0xBF,
525 EfiProcessorFamilyIBM390
= 0xC8,
526 EfiProcessorFamilyG4
= 0xC9,
527 EfiProcessorFamilyG5
= 0xCA,
529 /// Inconsistent with specification here:
530 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
532 EfiProcessorFamilyG6
= 0xCB,
534 /// Inconsistent with specification here:
535 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
537 EfiProcessorFamilyzArchitectur
= 0xCC,
539 /// Inconsistent with specification here:
540 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
542 EfiProcessorFamilyViaC7M
= 0xD2,
544 /// Inconsistent with specification here:
545 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
547 EfiProcessorFamilyViaC7D
= 0xD3,
549 /// Inconsistent with specification here:
550 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
552 EfiProcessorFamilyViaC7
= 0xD4,
554 /// Inconsistent with specification here:
555 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
557 EfiProcessorFamilyViaEden
= 0xD5,
558 EfiProcessorFamilyi860
= 0xFA,
559 EfiProcessorFamilyi960
= 0xFB,
561 /// Inconsistent with specification here:
562 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
564 EfiProcessorFamilyIndicatorFamily2
= 0xFE,
566 /// Inconsistent with specification here:
567 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
569 EfiProcessorFamilyReserved1
= 0xFF
570 } EFI_PROCESSOR_FAMILY_DATA
;
573 EfiProcessorFamilySh3
= 0x104,
574 EfiProcessorFamilySh4
= 0x105,
575 EfiProcessorFamilyArm
= 0x118,
576 EfiProcessorFamilyStrongArm
= 0x119,
577 EfiProcessorFamily6x86
= 0x12C,
578 EfiProcessorFamilyMediaGx
= 0x12D,
579 EfiProcessorFamilyMii
= 0x12E,
580 EfiProcessorFamilyWinChip
= 0x140,
581 EfiProcessorFamilyDsp
= 0x15E,
582 EfiProcessorFamilyVideo
= 0x1F4
583 } EFI_PROCESSOR_FAMILY2_DATA
;
586 /// This data record refers to the core voltage of the processor being defined. The unit of measurement
587 /// of this data record is in volts.
589 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_VOLTAGE_DATA
;
592 /// This data record refers to the base address of the APIC of the processor being defined. This data
593 /// record is a physical address location.
595 typedef EFI_PHYSICAL_ADDRESS EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA
;
598 /// This data record refers to the ID of the APIC of the processor being defined. This data record is a
601 typedef UINT32 EFI_PROCESSOR_APIC_ID_DATA
;
604 /// This data record refers to the version number of the APIC of the processor being defined. This data
605 /// record is a 4-byte entry.
607 typedef UINT32 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA
;
610 EfiProcessorIa32Microcode
= 1,
611 EfiProcessorIpfPalAMicrocode
= 2,
612 EfiProcessorIpfPalBMicrocode
= 3
613 } EFI_PROCESSOR_MICROCODE_TYPE
;
616 /// This data record refers to the revision of the processor microcode that is loaded in the processor.
617 /// This data record is a 4-byte entry.
621 /// Identifies what type of microcode the data is.
623 EFI_PROCESSOR_MICROCODE_TYPE ProcessorMicrocodeType
;
625 /// Indicates the revision number of this microcode.
627 UINT32 ProcessorMicrocodeRevisionNumber
;
628 } EFI_PROCESSOR_MICROCODE_REVISION_DATA
;
631 /// This data record refers to the status of the processor.
634 UINT32 CpuStatus
:3; ///< Indicates the status of the processor.
635 UINT32 Reserved1
:3; ///< Reserved for future use. Should be set to zero.
636 UINT32 SocketPopulated
:1; ///< Indicates if the processor is socketed or not.
637 UINT32 Reserved2
:1; ///< Reserved for future use. Should be set to zero.
638 UINT32 ApicEnable
:1; ///< Indicates if the APIC is enabled or not.
639 UINT32 BootApplicationProcessor
:1; ///< Indicates if this processor is the boot processor.
640 UINT32 Reserved3
:22;///< Reserved for future use. Should be set to zero.
641 } EFI_PROCESSOR_STATUS_DATA
;
644 EfiCpuStatusUnknown
= 0,
645 EfiCpuStatusEnabled
= 1,
646 EfiCpuStatusDisabledByUser
= 2,
647 EfiCpuStatusDisabledbyBios
= 3,
648 EfiCpuStatusIdle
= 4,
649 EfiCpuStatusOther
= 7
653 EfiProcessorSocketOther
= 1,
654 EfiProcessorSocketUnknown
= 2,
655 EfiProcessorSocketDaughterBoard
= 3,
656 EfiProcessorSocketZIF
= 4,
657 EfiProcessorSocketReplacePiggyBack
= 5,
658 EfiProcessorSocketNone
= 6,
659 EfiProcessorSocketLIF
= 7,
660 EfiProcessorSocketSlot1
= 8,
661 EfiProcessorSocketSlot2
= 9,
662 EfiProcessorSocket370Pin
= 0xA,
663 EfiProcessorSocketSlotA
= 0xB,
664 EfiProcessorSocketSlotM
= 0xC,
665 EfiProcessorSocket423
= 0xD,
666 EfiProcessorSocketA462
= 0xE,
667 EfiProcessorSocket478
= 0xF,
668 EfiProcessorSocket754
= 0x10,
669 EfiProcessorSocket940
= 0x11,
671 /// Inconsistent with specification here:
672 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
674 EfiProcessorSocket939
= 0x12,
676 /// Inconsistent with specification here:
677 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
679 EfiProcessorSocketmPGA604
= 0x13,
681 /// Inconsistent with specification here:
682 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
684 EfiProcessorSocketLGA771
= 0x14,
686 /// Inconsistent with specification here:
687 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
689 EfiProcessorSocketLGA775
= 0x15
691 } EFI_PROCESSOR_SOCKET_TYPE_DATA
;
693 typedef STRING_REF EFI_PROCESSOR_SOCKET_NAME_DATA
;
696 /// Inconsistent with specification here:
697 /// In ProcSubclass specification 0.9, the naming is EFI_PROCESSOR_CACHE_ASSOCIATION_DATA.
698 /// Keep it unchanged for backward compatibilty.
700 typedef EFI_INTER_LINK_DATA EFI_CACHE_ASSOCIATION_DATA
;
703 /// This data record refers to the health status of the processor.
705 /// Inconsistent with specification here:
706 /// In ProcSubclass specification 0.9, the naming is EFI_PROCESSOR_HEALTH_STATUS_DATA.
707 /// Keep it unchanged for backward compatibilty.
710 EfiProcessorHealthy
= 1,
711 EfiProcessorPerfRestricted
= 2,
712 EfiProcessorFuncRestricted
= 3
713 } EFI_PROCESSOR_HEALTH_STATUS
;
716 /// This data record refers to the package number of this processor. Multiple logical processors can
717 /// exist in a system and each logical processor can be correlated to the physical processor using this
720 typedef UINTN EFI_PROCESSOR_PACKAGE_NUMBER_DATA
;
722 typedef UINT8 EFI_PROCESSOR_CORE_COUNT_DATA
;
723 typedef UINT8 EFI_PROCESSOR_ENABLED_CORE_COUNT_DATA
;
724 typedef UINT8 EFI_PROCESSOR_THREAD_COUNT_DATA
;
729 UINT16 Capable64Bit
:1;
730 UINT16 Reserved2
:13;
731 } EFI_PROCESSOR_CHARACTERISTICS_DATA
;
734 /// Inconsistent with specification here:
735 /// In ProcSubclass specification 0.9, the enumeration type data structure is NOT defined.
736 /// The equivalent in specification is
737 /// #define EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER 0x00000001
738 /// #define EFI_PROCESSOR_BUS_FREQUENCY_RECORD_NUMBER 0x00000002
739 /// #define EFI_PROCESSOR_VERSION_RECORD_NUMBER 0x00000003
740 /// #define EFI_PROCESSOR_MANUFACTURER_RECORD_NUMBER 0x00000004
741 /// #define EFI_PROCESSOR_SERIAL_NUMBER_RECORD_NUMBER 0x00000005
742 /// #define EFI_PROCESSOR_ID_RECORD_NUMBER 0x00000006
743 /// #define EFI_PROCESSOR_TYPE_RECORD_NUMBER 0x00000007
744 /// #define EFI_PROCESSOR_FAMILY_RECORD_NUMBER 0x00000008
745 /// #define EFI_PROCESSOR_VOLTAGE_RECORD_NUMBER 0x00000009
746 /// #define EFI_PROCESSOR_APIC_BASE_ADDRESS_RECORD_NUMBER 0x0000000A
747 /// #define EFI_PROCESSOR_APIC_ID_RECORD_NUMBER 0x0000000B
748 /// #define EFI_PROCESSOR_APIC_VER_NUMBER_RECORD_NUMBER 0x0000000C
749 /// #define EFI_PROCESSOR_MICROCODE_REVISION_RECORD_NUMBER 0x0000000D
750 /// #define EFI_PROCESSOR_STATUS_RECORD_NUMBER 0x0000000E
751 /// #define EFI_PROCESSOR_SOCKET_TYPE_RECORD_NUMBER 0x0000000F
752 /// #define EFI_PROCESSOR_SOCKET_NAME_RECORD_NUMBER 0x00000010
753 /// #define EFI_PROCESSOR_CACHE_ASSOCIATION_RECORD_NUMBER 0x00000011
754 /// #define EFI_PROCESSOR_MAX_FREQUENCY_RECORD_NUMBER 0x00000012
755 /// #define EFI_PROCESSOR_ASSET_TAG_RECORD_NUMBER 0x00000013
756 /// #define EFI_PROCESSOR_MAX_FSB_FREQUENCY_RECORD_NUMBER 0x00000014
757 /// #define EFI_PROCESSOR_PACKAGE_NUMBER_RECORD_NUMBER 0x00000015
758 /// #define EFI_PROCESSOR_FREQUENCY_LIST_RECORD_NUMBER 0x00000016
759 /// #define EFI_PROCESSOR_FSB_FREQUENCY_LIST_RECORD_NUMBER 0x00000017
760 /// #define EFI_PROCESSOR_HEALTH_STATUS_RECORD_NUMBER 0x00000018
762 /// Keep the definition unchanged for backward compatibility.
764 ProcessorCoreFrequencyRecordType
= 1,
765 ProcessorFsbFrequencyRecordType
= 2,
766 ProcessorVersionRecordType
= 3,
767 ProcessorManufacturerRecordType
= 4,
768 ProcessorSerialNumberRecordType
= 5,
769 ProcessorIdRecordType
= 6,
770 ProcessorTypeRecordType
= 7,
771 ProcessorFamilyRecordType
= 8,
772 ProcessorVoltageRecordType
= 9,
773 ProcessorApicBaseAddressRecordType
= 10,
774 ProcessorApicIdRecordType
= 11,
775 ProcessorApicVersionNumberRecordType
= 12,
776 CpuUcodeRevisionDataRecordType
= 13,
777 ProcessorStatusRecordType
= 14,
778 ProcessorSocketTypeRecordType
= 15,
779 ProcessorSocketNameRecordType
= 16,
780 CacheAssociationRecordType
= 17,
781 ProcessorMaxCoreFrequencyRecordType
= 18,
782 ProcessorAssetTagRecordType
= 19,
783 ProcessorMaxFsbFrequencyRecordType
= 20,
784 ProcessorPackageNumberRecordType
= 21,
785 ProcessorCoreFrequencyListRecordType
= 22,
786 ProcessorFsbFrequencyListRecordType
= 23,
787 ProcessorHealthStatusRecordType
= 24,
788 ProcessorCoreCountRecordType
= 25,
789 ProcessorEnabledCoreCountRecordType
= 26,
790 ProcessorThreadCountRecordType
= 27,
791 ProcessorCharacteristicsRecordType
= 28,
792 ProcessorFamily2RecordType
= 29,
793 ProcessorPartNumberRecordType
= 30,
794 } EFI_CPU_VARIABLE_RECORD_TYPE
;
797 /// Inconsistent with specification here:
798 /// In ProcSubclass specification 0.9, the union type data structure is NOT defined.
799 /// It's implementation-specific to simplify the code logic.
802 EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA ProcessorCoreFrequencyList
;
803 EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA ProcessorFsbFrequencyList
;
804 EFI_PROCESSOR_SERIAL_NUMBER_DATA ProcessorSerialNumber
;
805 EFI_PROCESSOR_CORE_FREQUENCY_DATA ProcessorCoreFrequency
;
806 EFI_PROCESSOR_FSB_FREQUENCY_DATA ProcessorFsbFrequency
;
807 EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA ProcessorMaxCoreFrequency
;
808 EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA ProcessorMaxFsbFrequency
;
809 EFI_PROCESSOR_VERSION_DATA ProcessorVersion
;
810 EFI_PROCESSOR_MANUFACTURER_DATA ProcessorManufacturer
;
811 EFI_PROCESSOR_ID_DATA ProcessorId
;
812 EFI_PROCESSOR_TYPE_DATA ProcessorType
;
813 EFI_PROCESSOR_FAMILY_DATA ProcessorFamily
;
814 EFI_PROCESSOR_VOLTAGE_DATA ProcessorVoltage
;
815 EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA ProcessorApicBase
;
816 EFI_PROCESSOR_APIC_ID_DATA ProcessorApicId
;
817 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA ProcessorApicVersionNumber
;
818 EFI_PROCESSOR_MICROCODE_REVISION_DATA CpuUcodeRevisionData
;
819 EFI_PROCESSOR_STATUS_DATA ProcessorStatus
;
820 EFI_PROCESSOR_SOCKET_TYPE_DATA ProcessorSocketType
;
821 EFI_PROCESSOR_SOCKET_NAME_DATA ProcessorSocketName
;
822 EFI_PROCESSOR_ASSET_TAG_DATA ProcessorAssetTag
;
823 EFI_PROCESSOR_PART_NUMBER_DATA ProcessorPartNumber
;
824 EFI_PROCESSOR_HEALTH_STATUS ProcessorHealthStatus
;
825 EFI_PROCESSOR_PACKAGE_NUMBER_DATA ProcessorPackageNumber
;
826 EFI_PROCESSOR_CORE_COUNT_DATA ProcessorCoreCount
;
827 EFI_PROCESSOR_ENABLED_CORE_COUNT_DATA ProcessorEnabledCoreCount
;
828 EFI_PROCESSOR_THREAD_COUNT_DATA ProcessorThreadCount
;
829 EFI_PROCESSOR_CHARACTERISTICS_DATA ProcessorCharacteristics
;
830 EFI_PROCESSOR_FAMILY2_DATA ProcessorFamily2
;
831 } EFI_CPU_VARIABLE_RECORD
;
834 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader
;
835 EFI_CPU_VARIABLE_RECORD VariableRecord
;
836 } EFI_CPU_DATA_RECORD
;
838 #define EFI_CACHE_SUBCLASS_VERSION 0x00010000
840 typedef EFI_EXP_BASE2_DATA EFI_CACHE_SIZE_DATA
;
842 /// Inconsistent with specification here:
843 /// In CacheSubclass specification 0.9, the naming is EFI_CACHE_MAXIMUM_SIZE_DATA.
844 /// Keep it unchanged for backward compatibilty.
846 typedef EFI_EXP_BASE2_DATA EFI_MAXIMUM_CACHE_SIZE_DATA
;
847 typedef EFI_EXP_BASE10_DATA EFI_CACHE_SPEED_DATA
;
848 typedef STRING_REF EFI_CACHE_SOCKET_DATA
;
855 UINT32 PipelineBurst
:1;
857 /// Inconsistent between CacheSubclass 0.9 and SMBIOS specifications here:
858 /// In CacheSubclass specification 0.9, the sequence of Asynchronous and Synchronous fileds
859 /// are opposite to SMBIOS specification.
861 UINT32 Asynchronous
:1;
862 UINT32 Synchronous
:1;
864 } EFI_CACHE_SRAM_TYPE_DATA
;
866 typedef EFI_CACHE_SRAM_TYPE_DATA EFI_CACHE_SRAM_INSTALL_DATA
;
869 EfiCacheErrorOther
= 1,
870 EfiCacheErrorUnknown
= 2,
871 EfiCacheErrorNone
= 3,
872 EfiCacheErrorParity
= 4,
873 EfiCacheErrorSingleBit
= 5,
874 EfiCacheErrorMultiBit
= 6
875 } EFI_CACHE_ERROR_TYPE_DATA
;
878 EfiCacheTypeOther
= 1,
879 EfiCacheTypeUnknown
= 2,
880 EfiCacheTypeInstruction
= 3,
881 EfiCacheTypeData
= 4,
882 EfiCacheTypeUnified
= 5
883 } EFI_CACHE_TYPE_DATA
;
886 EfiCacheAssociativityOther
= 1,
887 EfiCacheAssociativityUnknown
= 2,
888 EfiCacheAssociativityDirectMapped
= 3,
889 EfiCacheAssociativity2Way
= 4,
890 EfiCacheAssociativity4Way
= 5,
891 EfiCacheAssociativityFully
= 6,
892 EfiCacheAssociativity8Way
= 7,
893 EfiCacheAssociativity16Way
= 8
894 } EFI_CACHE_ASSOCIATIVITY_DATA
;
897 /// Inconsistent with specification here:
898 /// In CacheSubclass 0.9 specification. It defines the field type as UINT16.
899 /// In fact, it should be UINT32 type because it refers to a 32bit width data.
907 UINT32 OperationalMode
:2;
908 UINT32 Reserved1
:22;
909 } EFI_CACHE_CONFIGURATION_DATA
;
911 #define EFI_CACHE_L1 1
912 #define EFI_CACHE_L2 2
913 #define EFI_CACHE_L3 3
914 #define EFI_CACHE_L4 4
915 #define EFI_CACHE_LMAX EFI_CACHE_L4
917 #define EFI_CACHE_SOCKETED 1
918 #define EFI_CACHE_NOT_SOCKETED 0
921 EfiCacheInternal
= 0,
922 EfiCacheExternal
= 1,
923 EfiCacheReserved
= 2,
925 } EFI_CACHE_LOCATION
;
927 #define EFI_CACHE_ENABLED 1
928 #define EFI_CACHE_DISABLED 0
931 EfiCacheWriteThrough
= 0,
932 EfiCacheWriteBack
= 1,
933 EfiCacheDynamicMode
= 2,
934 EfiCacheUnknownMode
= 3
935 } EFI_CACHE_OPERATIONAL_MODE
;
939 /// Inconsistent with specification here:
940 /// In CacheSubclass specification 0.9, the enumeration type data structure is NOT defined.
941 /// The equivalent in specification is
942 /// #define EFI_CACHE_SIZE_RECORD_NUMBER 0x00000001
943 /// #define EFI_CACHE_MAXIMUM_SIZE_RECORD_NUMBER 0x00000002
944 /// #define EFI_CACHE_SPEED_RECORD_NUMBER 0x00000003
945 /// #define EFI_CACHE_SOCKET_RECORD_NUMBER 0x00000004
946 /// #define EFI_CACHE_SRAM_SUPPORT_RECORD_NUMBER 0x00000005
947 /// #define EFI_CACHE_SRAM_INSTALL_RECORD_NUMBER 0x00000006
948 /// #define EFI_CACHE_ERROR_SUPPORT_RECORD_NUMBER 0x00000007
949 /// #define EFI_CACHE_TYPE_RECORD_NUMBER 0x00000008
950 /// #define EFI_CACHE_ASSOCIATIVITY_RECORD_NUMBER 0x00000009
951 /// #define EFI_CACHE_CONFIGURATION_RECORD_NUMBER 0x0000000A
952 /// Keep the definition unchanged for backward compatibility.
955 CacheSizeRecordType
= 1,
956 MaximumSizeCacheRecordType
= 2,
957 CacheSpeedRecordType
= 3,
958 CacheSocketRecordType
= 4,
959 CacheSramTypeRecordType
= 5,
960 CacheInstalledSramTypeRecordType
= 6,
961 CacheErrorTypeRecordType
= 7,
962 CacheTypeRecordType
= 8,
963 CacheAssociativityRecordType
= 9,
964 CacheConfigRecordType
= 10
965 } EFI_CACHE_VARIABLE_RECORD_TYPE
;
968 /// Inconsistent with specification here:
969 /// In CacheSubclass specification 0.9, the union type data structure is NOT defined.
970 /// It's implementation-specific to simplify the code logic.
973 EFI_CACHE_SIZE_DATA CacheSize
;
974 EFI_MAXIMUM_CACHE_SIZE_DATA MaximumCacheSize
;
975 EFI_CACHE_SPEED_DATA CacheSpeed
;
976 EFI_CACHE_SOCKET_DATA CacheSocket
;
977 EFI_CACHE_SRAM_TYPE_DATA CacheSramType
;
978 EFI_CACHE_SRAM_TYPE_DATA CacheInstalledSramType
;
979 EFI_CACHE_ERROR_TYPE_DATA CacheErrorType
;
980 EFI_CACHE_TYPE_DATA CacheType
;
981 EFI_CACHE_ASSOCIATIVITY_DATA CacheAssociativity
;
982 EFI_CACHE_CONFIGURATION_DATA CacheConfig
;
983 EFI_CACHE_ASSOCIATION_DATA CacheAssociation
;
984 } EFI_CACHE_VARIABLE_RECORD
;
987 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader
;
988 EFI_CACHE_VARIABLE_RECORD VariableRecord
;
989 } EFI_CACHE_DATA_RECORD
;
991 #define EFI_MEMORY_SUBCLASS_VERSION 0x0100
992 #define EFI_MEMORY_SIZE_RECORD_NUMBER 0x00000001
994 typedef enum _EFI_MEMORY_REGION_TYPE
{
995 EfiMemoryRegionMemory
= 0x01,
996 EfiMemoryRegionReserved
= 0x02,
997 EfiMemoryRegionAcpi
= 0x03,
998 EfiMemoryRegionNvs
= 0x04
999 } EFI_MEMORY_REGION_TYPE
;
1002 /// This data record refers to the size of a memory region. The regions that are
1003 /// described can refer to physical memory, memory-mapped I/O, or reserved BIOS memory regions.
1004 /// The unit of measurement of this data record is in bytes.
1008 /// A zero-based value that indicates which processor(s) can access the memory region.
1009 /// A value of 0xFFFF indicates the region is accessible by all processors.
1011 UINT32 ProcessorNumber
;
1013 /// A zero-based value that indicates the starting bus that can access the memory region.
1015 UINT16 StartBusNumber
;
1017 /// A zero-based value that indicates the ending bus that can access the memory region.
1018 /// A value of 0xFF for a PCI system indicates the region is accessible by all buses and
1019 /// is global in scope. An example of the EndBusNumber not being 0xFF is a system
1020 /// with two or more peer-to-host PCI bridges.
1022 UINT16 EndBusNumber
;
1024 /// The type of memory region from the operating system's point of view.
1025 /// MemoryRegionType values are equivalent to the legacy INT 15 AX = E820 BIOS
1028 EFI_MEMORY_REGION_TYPE MemoryRegionType
;
1030 /// The size of the memory region in bytes.
1032 EFI_EXP_BASE2_DATA MemorySize
;
1034 /// The starting physical address of the memory region.
1036 EFI_PHYSICAL_ADDRESS MemoryStartAddress
;
1037 } EFI_MEMORY_SIZE_DATA
;
1040 #define EFI_MEMORY_ARRAY_LOCATION_RECORD_NUMBER 0x00000002
1042 typedef enum _EFI_MEMORY_ARRAY_LOCATION
{
1043 EfiMemoryArrayLocationOther
= 0x01,
1044 EfiMemoryArrayLocationUnknown
= 0x02,
1045 EfiMemoryArrayLocationSystemBoard
= 0x03,
1046 EfiMemoryArrayLocationIsaAddonCard
= 0x04,
1047 EfiMemoryArrayLocationEisaAddonCard
= 0x05,
1048 EfiMemoryArrayLocationPciAddonCard
= 0x06,
1049 EfiMemoryArrayLocationMcaAddonCard
= 0x07,
1050 EfiMemoryArrayLocationPcmciaAddonCard
= 0x08,
1051 EfiMemoryArrayLocationProprietaryAddonCard
= 0x09,
1052 EfiMemoryArrayLocationNuBus
= 0x0A,
1053 EfiMemoryArrayLocationPc98C20AddonCard
= 0xA0,
1054 EfiMemoryArrayLocationPc98C24AddonCard
= 0xA1,
1055 EfiMemoryArrayLocationPc98EAddonCard
= 0xA2,
1056 EfiMemoryArrayLocationPc98LocalBusAddonCard
= 0xA3
1057 } EFI_MEMORY_ARRAY_LOCATION
;
1059 typedef enum _EFI_MEMORY_ARRAY_USE
{
1060 EfiMemoryArrayUseOther
= 0x01,
1061 EfiMemoryArrayUseUnknown
= 0x02,
1062 EfiMemoryArrayUseSystemMemory
= 0x03,
1063 EfiMemoryArrayUseVideoMemory
= 0x04,
1064 EfiMemoryArrayUseFlashMemory
= 0x05,
1065 EfiMemoryArrayUseNonVolatileRam
= 0x06,
1066 EfiMemoryArrayUseCacheMemory
= 0x07
1067 } EFI_MEMORY_ARRAY_USE
;
1069 typedef enum _EFI_MEMORY_ERROR_CORRECTION
{
1070 EfiMemoryErrorCorrectionOther
= 0x01,
1071 EfiMemoryErrorCorrectionUnknown
= 0x02,
1072 EfiMemoryErrorCorrectionNone
= 0x03,
1073 EfiMemoryErrorCorrectionParity
= 0x04,
1074 EfiMemoryErrorCorrectionSingleBitEcc
= 0x05,
1075 EfiMemoryErrorCorrectionMultiBitEcc
= 0x06,
1076 EfiMemoryErrorCorrectionCrc
= 0x07
1077 } EFI_MEMORY_ERROR_CORRECTION
;
1080 /// This data record refers to the physical memory array. This data record is a structure.
1081 /// The type definition structure for EFI_MEMORY_ARRAY_LOCATION_DATA is in SMBIOS 2.3.4:
1082 /// - Table 3.3.17.1, Type 16, Offset 0x4
1083 /// - Table 3.3.17.2, Type 16, Offset 0x5
1084 /// - Table 3.3.17.3, Type 16, with the following offsets:
1092 /// The physical location of the memory array.
1094 EFI_MEMORY_ARRAY_LOCATION MemoryArrayLocation
;
1096 /// The memory array usage.
1098 EFI_MEMORY_ARRAY_USE MemoryArrayUse
;
1100 /// The primary error correction or detection supported by this memory array.
1102 EFI_MEMORY_ERROR_CORRECTION MemoryErrorCorrection
;
1104 /// The maximum memory capacity size in kilobytes. If capacity is unknown, then
1105 /// values of MaximumMemoryCapacity.Value = 0x00 and
1106 /// MaximumMemoryCapacity.Exponent = 0x8000 are used.
1108 EFI_EXP_BASE2_DATA MaximumMemoryCapacity
;
1110 /// The number of memory slots or sockets that are available for memory devices
1113 UINT16 NumberMemoryDevices
;
1114 } EFI_MEMORY_ARRAY_LOCATION_DATA
;
1117 #define EFI_MEMORY_ARRAY_LINK_RECORD_NUMBER 0x00000003
1119 typedef enum _EFI_MEMORY_FORM_FACTOR
{
1120 EfiMemoryFormFactorOther
= 0x01,
1121 EfiMemoryFormFactorUnknown
= 0x02,
1122 EfiMemoryFormFactorSimm
= 0x03,
1123 EfiMemoryFormFactorSip
= 0x04,
1124 EfiMemoryFormFactorChip
= 0x05,
1125 EfiMemoryFormFactorDip
= 0x06,
1126 EfiMemoryFormFactorZip
= 0x07,
1127 EfiMemoryFormFactorProprietaryCard
= 0x08,
1128 EfiMemoryFormFactorDimm
= 0x09,
1129 EfiMemoryFormFactorTsop
= 0x0A,
1130 EfiMemoryFormFactorRowOfChips
= 0x0B,
1131 EfiMemoryFormFactorRimm
= 0x0C,
1132 EfiMemoryFormFactorSodimm
= 0x0D,
1133 EfiMemoryFormFactorSrimm
= 0x0E,
1135 /// Inconsistent with specification here:
1136 /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
1138 EfiMemoryFormFactorFbDimm
= 0x0F
1139 } EFI_MEMORY_FORM_FACTOR
;
1141 typedef enum _EFI_MEMORY_ARRAY_TYPE
{
1142 EfiMemoryTypeOther
= 0x01,
1143 EfiMemoryTypeUnknown
= 0x02,
1144 EfiMemoryTypeDram
= 0x03,
1145 EfiMemoryTypeEdram
= 0x04,
1146 EfiMemoryTypeVram
= 0x05,
1147 EfiMemoryTypeSram
= 0x06,
1148 EfiMemoryTypeRam
= 0x07,
1149 EfiMemoryTypeRom
= 0x08,
1150 EfiMemoryTypeFlash
= 0x09,
1151 EfiMemoryTypeEeprom
= 0x0A,
1152 EfiMemoryTypeFeprom
= 0x0B,
1153 EfiMemoryTypeEprom
= 0x0C,
1154 EfiMemoryTypeCdram
= 0x0D,
1155 EfiMemoryType3Dram
= 0x0E,
1156 EfiMemoryTypeSdram
= 0x0F,
1157 EfiMemoryTypeSgram
= 0x10,
1158 EfiMemoryTypeRdram
= 0x11,
1159 EfiMemoryTypeDdr
= 0x12,
1161 /// Inconsistent with specification here:
1162 /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
1164 EfiMemoryTypeDdr2
= 0x13,
1166 /// Inconsistent with specification here:
1167 /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
1169 EfiMemoryTypeDdr2FbDimm
= 0x14
1170 } EFI_MEMORY_ARRAY_TYPE
;
1176 UINT32 FastPaged
:1;
1177 UINT32 StaticColumn
:1;
1178 UINT32 PseudoStatic
:1;
1180 UINT32 Synchronous
:1;
1183 UINT32 WindowDram
:1;
1184 UINT32 CacheDram
:1;
1185 UINT32 Nonvolatile
:1;
1186 UINT32 Reserved1
:19;
1187 } EFI_MEMORY_TYPE_DETAIL
;
1190 EfiMemoryStateEnabled
= 0,
1191 EfiMemoryStateUnknown
= 1,
1192 EfiMemoryStateUnsupported
= 2,
1193 EfiMemoryStateError
= 3,
1194 EfiMemoryStateAbsent
= 4,
1195 EfiMemoryStateDisabled
= 5,
1197 /// Inconsistent with specification here:
1198 /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
1200 EfiMemoryStatePartial
= 6
1204 /// This data record describes a memory device. This data record is a structure.
1205 /// The type definition structure for EFI_MEMORY_ARRAY_LINK_DATA is in SMBIOS 2.3.4.
1209 /// A string that identifies the physically labeled socket or board position where the
1210 /// memory device is located.
1212 STRING_REF MemoryDeviceLocator
;
1214 /// A string denoting the physically labeled bank where the memory device is located.
1216 STRING_REF MemoryBankLocator
;
1218 /// A string denoting the memory manufacturer.
1220 STRING_REF MemoryManufacturer
;
1222 /// A string denoting the serial number of the memory device.
1224 STRING_REF MemorySerialNumber
;
1226 /// The asset tag of the memory device.
1228 STRING_REF MemoryAssetTag
;
1230 /// A string denoting the part number of the memory device.
1232 STRING_REF MemoryPartNumber
;
1234 /// A link to a memory array structure set.
1236 EFI_INTER_LINK_DATA MemoryArrayLink
;
1238 /// A link to a memory array structure set.
1240 EFI_INTER_LINK_DATA MemorySubArrayLink
;
1242 /// The total width in bits of this memory device. If there are no error correcting bits,
1243 /// then the total width equals the data width. If the width is unknown, then set the field
1246 UINT16 MemoryTotalWidth
;
1248 /// The data width in bits of the memory device. A data width of 0x00 and a total width
1249 /// of 0x08 indicate that the device is used solely for error correction.
1251 UINT16 MemoryDataWidth
;
1253 /// The size in bytes of the memory device. A value of 0x00 denotes that no device is
1254 /// installed, while a value of all Fs denotes that the size is not known.
1256 EFI_EXP_BASE2_DATA MemoryDeviceSize
;
1258 /// The form factor of the memory device.
1260 EFI_MEMORY_FORM_FACTOR MemoryFormFactor
;
1262 /// A memory device set that must be populated with all devices of the same type and
1263 /// size. A value of 0x00 indicates that the device is not part of any set. A value of 0xFF
1264 /// indicates that the attribute is unknown. Any other value denotes the set number.
1266 UINT8 MemoryDeviceSet
;
1268 /// The memory type in the socket.
1270 EFI_MEMORY_ARRAY_TYPE MemoryType
;
1272 /// The memory type details.
1274 EFI_MEMORY_TYPE_DETAIL MemoryTypeDetail
;
1276 /// The memory speed in megahertz (MHz). A value of 0x00 denotes that
1277 /// the speed is unknown.
1278 /// Inconsistent with specification here:
1279 /// In MemSubclass specification 0.9, the naming is MemoryTypeSpeed.
1280 /// Keep it unchanged for backward compatibilty.
1282 EFI_EXP_BASE10_DATA MemorySpeed
;
1284 /// The memory state.
1286 EFI_MEMORY_STATE MemoryState
;
1287 } EFI_MEMORY_ARRAY_LINK_DATA
;
1290 #define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER 0x00000004
1293 /// This data record refers to a specified physical memory array associated with
1294 /// a given memory range.
1298 /// The starting physical address in bytes of memory mapped to a specified physical
1301 EFI_PHYSICAL_ADDRESS MemoryArrayStartAddress
;
1303 /// The last physical address in bytes of memory mapped to a specified physical memory
1306 EFI_PHYSICAL_ADDRESS MemoryArrayEndAddress
;
1308 /// See Physical Memory Array (Type 16) for physical memory array structures.
1310 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink
;
1312 /// The number of memory devices that form a single row of memory for the address
1315 UINT16 MemoryArrayPartitionWidth
;
1316 } EFI_MEMORY_ARRAY_START_ADDRESS_DATA
;
1319 #define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER 0x00000005
1322 /// This data record refers to a physical memory device that is associated with
1323 /// a given memory range.
1327 /// The starting physical address that is associated with the device.
1329 EFI_PHYSICAL_ADDRESS MemoryDeviceStartAddress
;
1331 /// The ending physical address that is associated with the device.
1333 EFI_PHYSICAL_ADDRESS MemoryDeviceEndAddress
;
1335 /// A link to the memory device data structure.
1337 EFI_INTER_LINK_DATA PhysicalMemoryDeviceLink
;
1339 /// A link to the memory array data structure.
1341 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink
;
1343 /// The position of the memory device in a row. A value of 0x00 is reserved and a value
1344 /// of 0xFF indicates that the position is unknown.
1346 UINT8 MemoryDevicePartitionRowPosition
;
1348 /// The position of the device in an interleave.
1350 UINT8 MemoryDeviceInterleavePosition
;
1352 /// The maximum number of consecutive rows from the device that are accessed in a
1353 /// single interleave transfer. A value of 0x00 indicates that the device is not interleaved
1354 /// and a value of 0xFF indicates that the interleave configuration is unknown.
1356 UINT8 MemoryDeviceInterleaveDataDepth
;
1357 } EFI_MEMORY_DEVICE_START_ADDRESS_DATA
;
1361 // Memory. Channel Device Type - SMBIOS Type 37
1364 #define EFI_MEMORY_CHANNEL_TYPE_RECORD_NUMBER 0x00000006
1366 typedef enum _EFI_MEMORY_CHANNEL_TYPE
{
1367 EfiMemoryChannelTypeOther
= 1,
1368 EfiMemoryChannelTypeUnknown
= 2,
1369 EfiMemoryChannelTypeRambus
= 3,
1370 EfiMemoryChannelTypeSyncLink
= 4
1371 } EFI_MEMORY_CHANNEL_TYPE
;
1374 /// This data record refers the type of memory that is associated with the channel. This data record is a
1376 /// The type definition structure for EFI_MEMORY_CHANNEL_TYPE_DATA is in SMBIOS 2.3.4,
1377 /// Table 3.3.38, Type 37, with the following offsets:
1384 /// The type of memory that is associated with the channel.
1386 EFI_MEMORY_CHANNEL_TYPE MemoryChannelType
;
1388 /// The maximum load that is supported by the channel.
1390 UINT8 MemoryChannelMaximumLoad
;
1392 /// The number of memory devices on this channel.
1394 UINT8 MemoryChannelDeviceCount
;
1395 } EFI_MEMORY_CHANNEL_TYPE_DATA
;
1397 #define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER 0x00000007
1400 /// This data record refers to the memory device that is associated with the memory channel. This data
1401 /// record is a structure.
1402 /// The type definition structure for EFI_MEMORY_CHANNEL_DEVICE_DATA is in SMBIOS 2.3.4,
1403 /// Table 3.3.38, Type 37, with the following offsets:
1409 /// A number between one and MemoryChannelDeviceCount plus an arbitrary base.
1413 /// The Link of the associated memory device. See Memory Device (Type 17) for
1416 EFI_INTER_LINK_DATA DeviceLink
;
1418 /// The number of load units that this device consumes.
1420 UINT8 MemoryChannelDeviceLoad
;
1421 } EFI_MEMORY_CHANNEL_DEVICE_DATA
;
1424 // Memory. Controller Information - SMBIOS Type 5
1427 /// Inconsistent with specification here:
1428 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1429 /// It's introduced for SmBios 2.6 type 5.
1431 #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER 0x00000008
1434 /// Inconsistent with specification here:
1435 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1436 /// It's introduced for SmBios 2.6 type 5.
1439 EfiErrorDetectingMethodOther
= 1,
1440 EfiErrorDetectingMethodUnknown
= 2,
1441 EfiErrorDetectingMethodNone
= 3,
1442 EfiErrorDetectingMethodParity
= 4,
1443 EfiErrorDetectingMethod32Ecc
= 5,
1444 EfiErrorDetectingMethod64Ecc
= 6,
1445 EfiErrorDetectingMethod128Ecc
= 7,
1446 EfiErrorDetectingMethodCrc
= 8
1447 } EFI_MEMORY_ERROR_DETECT_METHOD_TYPE
;
1450 /// Inconsistent with specification here:
1451 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1452 /// It's introduced for SmBios 2.6 type 5.
1458 UINT8 SingleBitErrorCorrect
:1;
1459 UINT8 DoubleBitErrorCorrect
:1;
1460 UINT8 ErrorScrubbing
:1;
1462 } EFI_MEMORY_ERROR_CORRECT_CAPABILITY
;
1465 /// Inconsistent with specification here:
1466 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1467 /// It's introduced for SmBios 2.6 type 5.
1470 EfiMemoryInterleaveOther
= 1,
1471 EfiMemoryInterleaveUnknown
= 2,
1472 EfiMemoryInterleaveOneWay
= 3,
1473 EfiMemoryInterleaveTwoWay
= 4,
1474 EfiMemoryInterleaveFourWay
= 5,
1475 EfiMemoryInterleaveEightWay
= 6,
1476 EfiMemoryInterleaveSixteenWay
= 7
1477 } EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE
;
1480 /// Inconsistent with specification here:
1481 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1482 /// It's introduced for SmBios 2.6 type 5.
1490 UINT16 Reserved
:11;
1491 } EFI_MEMORY_SPEED_TYPE
;
1494 /// Inconsistent with specification here:
1495 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1496 /// It's introduced for SmBios 2.6 type 5.
1502 UINT16 FastPageMode
:1;
1511 } EFI_MEMORY_SUPPORTED_TYPE
;
1514 /// Inconsistent with specification here:
1515 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1516 /// It's introduced for SmBios 2.6 type 5.
1523 } EFI_MEMORY_MODULE_VOLTAGE_TYPE
;
1526 /// EFI_MEMORY_CONTROLLER_INFORMATION is obsolete
1527 /// Use EFI_MEMORY_CONTROLLER_INFORMATION_DATA instead
1529 /// Inconsistent with specification here:
1530 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1531 /// It's introduced for SmBios 2.6 type 5.
1534 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod
;
1535 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability
;
1536 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave
;
1537 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave
;
1538 UINT8 MaxMemoryModuleSize
;
1539 EFI_MEMORY_SPEED_TYPE MemorySpeedType
;
1540 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType
;
1541 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage
;
1542 UINT8 NumberofMemorySlot
;
1543 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability
;
1544 UINT16
*MemoryModuleConfigHandles
;
1545 } EFI_MEMORY_CONTROLLER_INFORMATION
;
1548 /// Inconsistent with specification here:
1549 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1550 /// It's introduced for SmBios 2.6 type 5.
1553 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod
;
1554 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability
;
1555 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave
;
1556 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave
;
1557 UINT8 MaxMemoryModuleSize
;
1558 EFI_MEMORY_SPEED_TYPE MemorySpeedType
;
1559 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType
;
1560 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage
;
1561 UINT8 NumberofMemorySlot
;
1562 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability
;
1563 EFI_INTER_LINK_DATA MemoryModuleConfig
[1];
1564 } EFI_MEMORY_CONTROLLER_INFORMATION_DATA
;
1567 /// Memory. Error Information - SMBIOS Type 18
1569 /// Inconsistent with specification here:
1570 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1571 /// It's introduced for SmBios 2.6 type 18.
1573 #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER 0x00000009
1575 /// Inconsistent with specification here:
1576 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1577 /// It's introduced for SmBios 2.6 type 18.
1580 EfiMemoryErrorOther
= 1,
1581 EfiMemoryErrorUnknown
= 2,
1582 EfiMemoryErrorOk
= 3,
1583 EfiMemoryErrorBadRead
= 4,
1584 EfiMemoryErrorParity
= 5,
1585 EfiMemoryErrorSigleBit
= 6,
1586 EfiMemoryErrorDoubleBit
= 7,
1587 EfiMemoryErrorMultiBit
= 8,
1588 EfiMemoryErrorNibble
= 9,
1589 EfiMemoryErrorChecksum
= 10,
1590 EfiMemoryErrorCrc
= 11,
1591 EfiMemoryErrorCorrectSingleBit
= 12,
1592 EfiMemoryErrorCorrected
= 13,
1593 EfiMemoryErrorUnCorrectable
= 14
1594 } EFI_MEMORY_ERROR_TYPE
;
1596 /// Inconsistent with specification here:
1597 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1598 /// It's introduced for SmBios 2.6 type 18.
1601 EfiMemoryGranularityOther
= 1,
1602 EfiMemoryGranularityOtherUnknown
= 2,
1603 EfiMemoryGranularityDeviceLevel
= 3,
1604 EfiMemoryGranularityMemPartitionLevel
= 4
1605 } EFI_MEMORY_ERROR_GRANULARITY_TYPE
;
1607 /// Inconsistent with specification here:
1608 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1609 /// It's introduced for SmBios 2.6 type 18.
1612 EfiMemoryErrorOperationOther
= 1,
1613 EfiMemoryErrorOperationUnknown
= 2,
1614 EfiMemoryErrorOperationRead
= 3,
1615 EfiMemoryErrorOperationWrite
= 4,
1616 EfiMemoryErrorOperationPartialWrite
= 5
1617 } EFI_MEMORY_ERROR_OPERATION_TYPE
;
1619 /// Inconsistent with specification here:
1620 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1621 /// It's introduced for SmBios 2.6 type 18.
1624 EFI_MEMORY_ERROR_TYPE MemoryErrorType
;
1625 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity
;
1626 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation
;
1627 UINT32 VendorSyndrome
;
1628 UINT32 MemoryArrayErrorAddress
;
1629 UINT32 DeviceErrorAddress
;
1630 UINT32 DeviceErrorResolution
;
1631 } EFI_MEMORY_32BIT_ERROR_INFORMATION
;
1634 /// Memory. Error Information - SMBIOS Type 33.
1636 /// Inconsistent with specification here:
1637 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1638 /// It's introduced for SmBios 2.6 type 33.
1640 #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER 0x0000000A
1643 /// Inconsistent with specification here:
1644 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1645 /// It's introduced for SmBios 2.6 type 33.
1648 EFI_MEMORY_ERROR_TYPE MemoryErrorType
;
1649 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity
;
1650 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation
;
1651 UINT32 VendorSyndrome
;
1652 UINT64 MemoryArrayErrorAddress
;
1653 UINT64 DeviceErrorAddress
;
1654 UINT32 DeviceErrorResolution
;
1655 } EFI_MEMORY_64BIT_ERROR_INFORMATION
;
1658 /// Inconsistent with specification here:
1659 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1660 /// It is implementation-specific to simplify the code logic.
1662 typedef union _EFI_MEMORY_SUBCLASS_RECORDS
{
1663 EFI_MEMORY_SIZE_DATA SizeData
;
1664 EFI_MEMORY_ARRAY_LOCATION_DATA ArrayLocationData
;
1665 EFI_MEMORY_ARRAY_LINK_DATA ArrayLink
;
1666 EFI_MEMORY_ARRAY_START_ADDRESS_DATA ArrayStartAddress
;
1667 EFI_MEMORY_DEVICE_START_ADDRESS_DATA DeviceStartAddress
;
1668 EFI_MEMORY_CHANNEL_TYPE_DATA ChannelTypeData
;
1669 EFI_MEMORY_CHANNEL_DEVICE_DATA ChannelDeviceData
;
1670 EFI_MEMORY_CONTROLLER_INFORMATION MemoryControllerInfo
;
1671 EFI_MEMORY_32BIT_ERROR_INFORMATION Memory32bitErrorInfo
;
1672 EFI_MEMORY_64BIT_ERROR_INFORMATION Memory64bitErrorInfo
;
1673 } EFI_MEMORY_SUBCLASS_RECORDS
;
1676 EFI_SUBCLASS_TYPE1_HEADER Header
;
1677 EFI_MEMORY_SUBCLASS_RECORDS Record
;
1678 } EFI_MEMORY_SUBCLASS_DRIVER_DATA
;
1680 #define EFI_MISC_SUBCLASS_VERSION 0x0100
1685 // Last PCI Bus Number
1687 #define EFI_MISC_LAST_PCI_BUS_RECORD_NUMBER 0x00000001
1691 } EFI_MISC_LAST_PCI_BUS_DATA
;
1694 // Misc. BIOS Vendor - SMBIOS Type 0
1696 #define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER 0x00000002
1699 UINT64 Reserved1
:2;
1701 UINT64 BiosCharacteristicsNotSupported
:1;
1702 UINT64 IsaIsSupported
:1;
1703 UINT64 McaIsSupported
:1;
1704 UINT64 EisaIsSupported
:1;
1705 UINT64 PciIsSupported
:1;
1706 UINT64 PcmciaIsSupported
:1;
1707 UINT64 PlugAndPlayIsSupported
:1;
1708 UINT64 ApmIsSupported
:1;
1709 UINT64 BiosIsUpgradable
:1;
1710 UINT64 BiosShadowingAllowed
:1;
1711 UINT64 VlVesaIsSupported
:1;
1712 UINT64 EscdSupportIsAvailable
:1;
1713 UINT64 BootFromCdIsSupported
:1;
1714 UINT64 SelectableBootIsSupported
:1;
1715 UINT64 RomBiosIsSocketed
:1;
1716 UINT64 BootFromPcmciaIsSupported
:1;
1717 UINT64 EDDSpecificationIsSupported
:1;
1718 UINT64 JapaneseNecFloppyIsSupported
:1;
1719 UINT64 JapaneseToshibaFloppyIsSupported
:1;
1720 UINT64 Floppy525_360IsSupported
:1;
1721 UINT64 Floppy525_12IsSupported
:1;
1722 UINT64 Floppy35_720IsSupported
:1;
1723 UINT64 Floppy35_288IsSupported
:1;
1724 UINT64 PrintScreenIsSupported
:1;
1725 UINT64 Keyboard8042IsSupported
:1;
1726 UINT64 SerialIsSupported
:1;
1727 UINT64 PrinterIsSupported
:1;
1728 UINT64 CgaMonoIsSupported
:1;
1730 UINT64 AcpiIsSupported
:1;
1731 UINT64 UsbLegacyIsSupported
:1;
1732 UINT64 AgpIsSupported
:1;
1733 UINT64 I20BootIsSupported
:1;
1734 UINT64 Ls120BootIsSupported
:1;
1735 UINT64 AtapiZipDriveBootIsSupported
:1;
1736 UINT64 Boot1394IsSupported
:1;
1737 UINT64 SmartBatteryIsSupported
:1;
1738 UINT64 BiosBootSpecIsSupported
:1;
1739 UINT64 FunctionKeyNetworkBootIsSupported
:1;
1740 UINT64 Reserved
:22;
1741 } EFI_MISC_BIOS_CHARACTERISTICS
;
1744 UINT64 BiosReserved
:16;
1745 UINT64 SystemReserved
:16;
1746 UINT64 Reserved
:32;
1747 } EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
;
1750 STRING_REF BiosVendor
;
1751 STRING_REF BiosVersion
;
1752 STRING_REF BiosReleaseDate
;
1753 EFI_PHYSICAL_ADDRESS BiosStartingAddress
;
1754 EFI_EXP_BASE2_DATA BiosPhysicalDeviceSize
;
1755 EFI_MISC_BIOS_CHARACTERISTICS BiosCharacteristics1
;
1756 EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
1757 BiosCharacteristics2
;
1759 /// Inconsistent with specification here:
1760 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1761 /// It's introduced for SmBios 2.6 specification type 0.
1763 UINT8 BiosMajorRelease
;
1765 /// Inconsistent with specification here:
1766 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1767 /// It's introduced for SmBios 2.6 specification type 0.
1769 UINT8 BiosMinorRelease
;
1771 /// Inconsistent with specification here:
1772 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1773 /// It's introduced for SmBios 2.6 specification type 0.
1775 UINT8 BiosEmbeddedFirmwareMajorRelease
;
1777 /// Inconsistent with specification here:
1778 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1779 /// It's introduced for SmBios 2.6 specification type 0.
1781 UINT8 BiosEmbeddedFirmwareMinorRelease
;
1782 } EFI_MISC_BIOS_VENDOR_DATA
;
1785 // Misc. System Manufacturer - SMBIOS Type 1
1787 #define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003
1790 EfiSystemWakeupTypeReserved
= 0,
1791 EfiSystemWakeupTypeOther
= 1,
1792 EfiSystemWakeupTypeUnknown
= 2,
1793 EfiSystemWakeupTypeApmTimer
= 3,
1794 EfiSystemWakeupTypeModemRing
= 4,
1795 EfiSystemWakeupTypeLanRemote
= 5,
1796 EfiSystemWakeupTypePowerSwitch
= 6,
1797 EfiSystemWakeupTypePciPme
= 7,
1798 EfiSystemWakeupTypeAcPowerRestored
= 8
1799 } EFI_MISC_SYSTEM_WAKEUP_TYPE
;
1802 STRING_REF SystemManufacturer
;
1803 STRING_REF SystemProductName
;
1804 STRING_REF SystemVersion
;
1805 STRING_REF SystemSerialNumber
;
1806 EFI_GUID SystemUuid
;
1807 EFI_MISC_SYSTEM_WAKEUP_TYPE SystemWakeupType
;
1809 /// Inconsistent with specification here:
1810 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1811 /// It's introduced for SmBios 2.6 specification type 1.
1813 STRING_REF SystemSKUNumber
;
1815 /// Inconsistent with specification here:
1816 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1817 /// It's introduced for SmBios 2.6 specification type 1.
1819 STRING_REF SystemFamily
;
1820 } EFI_MISC_SYSTEM_MANUFACTURER_DATA
;
1823 // Misc. Base Board Manufacturer - SMBIOS Type 2
1825 #define EFI_MISC_BASE_BOARD_MANUFACTURER_RECORD_NUMBER 0x00000004
1828 UINT32 Motherboard
:1;
1829 UINT32 RequiresDaughterCard
:1;
1830 UINT32 Removable
:1;
1831 UINT32 Replaceable
:1;
1832 UINT32 HotSwappable
:1;
1833 UINT32 Reserved
:27;
1834 } EFI_BASE_BOARD_FEATURE_FLAGS
;
1837 EfiBaseBoardTypeUnknown
= 1,
1838 EfiBaseBoardTypeOther
= 2,
1839 EfiBaseBoardTypeServerBlade
= 3,
1840 EfiBaseBoardTypeConnectivitySwitch
= 4,
1841 EfiBaseBoardTypeSystemManagementModule
= 5,
1842 EfiBaseBoardTypeProcessorModule
= 6,
1843 EfiBaseBoardTypeIOModule
= 7,
1844 EfiBaseBoardTypeMemoryModule
= 8,
1845 EfiBaseBoardTypeDaughterBoard
= 9,
1846 EfiBaseBoardTypeMotherBoard
= 0xA,
1847 EfiBaseBoardTypeProcessorMemoryModule
= 0xB,
1848 EfiBaseBoardTypeProcessorIOModule
= 0xC,
1849 EfiBaseBoardTypeInterconnectBoard
= 0xD
1850 } EFI_BASE_BOARD_TYPE
;
1853 STRING_REF BaseBoardManufacturer
;
1854 STRING_REF BaseBoardProductName
;
1855 STRING_REF BaseBoardVersion
;
1856 STRING_REF BaseBoardSerialNumber
;
1857 STRING_REF BaseBoardAssetTag
;
1858 STRING_REF BaseBoardChassisLocation
;
1859 EFI_BASE_BOARD_FEATURE_FLAGS BaseBoardFeatureFlags
;
1860 EFI_BASE_BOARD_TYPE BaseBoardType
;
1861 EFI_INTER_LINK_DATA BaseBoardChassisLink
;
1862 UINT32 BaseBoardNumberLinks
;
1863 EFI_INTER_LINK_DATA LinkN
;
1864 } EFI_MISC_BASE_BOARD_MANUFACTURER_DATA
;
1867 // Misc. System/Chassis Enclosure - SMBIOS Type 3
1869 #define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER 0x00000005
1872 EfiMiscChassisTypeOther
= 0x1,
1873 EfiMiscChassisTypeUnknown
= 0x2,
1874 EfiMiscChassisTypeDeskTop
= 0x3,
1875 EfiMiscChassisTypeLowProfileDesktop
= 0x4,
1876 EfiMiscChassisTypePizzaBox
= 0x5,
1877 EfiMiscChassisTypeMiniTower
= 0x6,
1878 EfiMiscChassisTypeTower
= 0x7,
1879 EfiMiscChassisTypePortable
= 0x8,
1880 EfiMiscChassisTypeLapTop
= 0x9,
1881 EfiMiscChassisTypeNotebook
= 0xA,
1882 EfiMiscChassisTypeHandHeld
= 0xB,
1883 EfiMiscChassisTypeDockingStation
= 0xC,
1884 EfiMiscChassisTypeAllInOne
= 0xD,
1885 EfiMiscChassisTypeSubNotebook
= 0xE,
1886 EfiMiscChassisTypeSpaceSaving
= 0xF,
1887 EfiMiscChassisTypeLunchBox
= 0x10,
1888 EfiMiscChassisTypeMainServerChassis
= 0x11,
1889 EfiMiscChassisTypeExpansionChassis
= 0x12,
1890 EfiMiscChassisTypeSubChassis
= 0x13,
1891 EfiMiscChassisTypeBusExpansionChassis
= 0x14,
1892 EfiMiscChassisTypePeripheralChassis
= 0x15,
1893 EfiMiscChassisTypeRaidChassis
= 0x16,
1894 EfiMiscChassisTypeRackMountChassis
= 0x17,
1895 EfiMiscChassisTypeSealedCasePc
= 0x18,
1896 EfiMiscChassisMultiSystemChassis
= 0x19
1897 } EFI_MISC_CHASSIS_TYPE
;
1901 /// Inconsistent with specification here:
1902 /// In MiscSubclass 0.9 specification, it has the incorrect field name "EFI_MISC_CHASSIS_TYPE".
1903 /// Change it to "ChassisType" to pass build.
1905 UINT32 ChassisType
:16;
1906 UINT32 ChassisLockPresent
:1;
1907 UINT32 Reserved
:15;
1908 } EFI_MISC_CHASSIS_STATUS
;
1911 EfiChassisStateOther
= 0x01,
1912 EfiChassisStateUnknown
= 0x02,
1913 EfiChassisStateSafe
= 0x03,
1914 EfiChassisStateWarning
= 0x04,
1915 EfiChassisStateCritical
= 0x05,
1916 EfiChassisStateNonRecoverable
= 0x06
1917 } EFI_MISC_CHASSIS_STATE
;
1920 EfiChassisSecurityStatusOther
= 0x01,
1921 EfiChassisSecurityStatusUnknown
= 0x02,
1922 EfiChassisSecurityStatusNone
= 0x03,
1923 EfiChassisSecurityStatusExternalInterfaceLockedOut
= 0x04,
1924 EfiChassisSecurityStatusExternalInterfaceLockedEnabled
= 0x05
1925 } EFI_MISC_CHASSIS_SECURITY_STATE
;
1928 UINT32 RecordType
:1;
1930 UINT32 Reserved
:24;
1931 } EFI_MISC_ELEMENT_TYPE
;
1934 EFI_MISC_ELEMENT_TYPE ChassisElementType
;
1935 EFI_INTER_LINK_DATA ChassisElementStructure
;
1936 EFI_BASE_BOARD_TYPE ChassisBaseBoard
;
1937 UINT32 ChassisElementMinimum
;
1938 UINT32 ChassisElementMaximum
;
1939 } EFI_MISC_ELEMENTS
;
1942 STRING_REF ChassisManufacturer
;
1943 STRING_REF ChassisVersion
;
1944 STRING_REF ChassisSerialNumber
;
1945 STRING_REF ChassisAssetTag
;
1946 EFI_MISC_CHASSIS_STATUS ChassisType
;
1947 EFI_MISC_CHASSIS_STATE ChassisBootupState
;
1948 EFI_MISC_CHASSIS_STATE ChassisPowerSupplyState
;
1949 EFI_MISC_CHASSIS_STATE ChassisThermalState
;
1950 EFI_MISC_CHASSIS_SECURITY_STATE ChassisSecurityState
;
1951 UINT32 ChassisOemDefined
;
1952 UINT32 ChassisHeight
;
1953 UINT32 ChassisNumberPowerCords
;
1954 UINT32 ChassisElementCount
;
1955 UINT32 ChassisElementRecordLength
;
1956 EFI_MISC_ELEMENTS ChassisElements
;
1957 } EFI_MISC_CHASSIS_MANUFACTURER_DATA
;
1960 // Misc. Port Connector Information - SMBIOS Type 8
1962 #define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006
1965 EfiPortConnectorTypeNone
= 0x00,
1966 EfiPortConnectorTypeCentronics
= 0x01,
1967 EfiPortConnectorTypeMiniCentronics
= 0x02,
1968 EfiPortConnectorTypeProprietary
= 0x03,
1969 EfiPortConnectorTypeDB25Male
= 0x04,
1970 EfiPortConnectorTypeDB25Female
= 0x05,
1971 EfiPortConnectorTypeDB15Male
= 0x06,
1972 EfiPortConnectorTypeDB15Female
= 0x07,
1973 EfiPortConnectorTypeDB9Male
= 0x08,
1974 EfiPortConnectorTypeDB9Female
= 0x09,
1975 EfiPortConnectorTypeRJ11
= 0x0A,
1976 EfiPortConnectorTypeRJ45
= 0x0B,
1977 EfiPortConnectorType50PinMiniScsi
= 0x0C,
1978 EfiPortConnectorTypeMiniDin
= 0x0D,
1979 EfiPortConnectorTypeMicriDin
= 0x0E,
1980 EfiPortConnectorTypePS2
= 0x0F,
1981 EfiPortConnectorTypeInfrared
= 0x10,
1982 EfiPortConnectorTypeHpHil
= 0x11,
1983 EfiPortConnectorTypeUsb
= 0x12,
1984 EfiPortConnectorTypeSsaScsi
= 0x13,
1985 EfiPortConnectorTypeCircularDin8Male
= 0x14,
1986 EfiPortConnectorTypeCircularDin8Female
= 0x15,
1987 EfiPortConnectorTypeOnboardIde
= 0x16,
1988 EfiPortConnectorTypeOnboardFloppy
= 0x17,
1989 EfiPortConnectorType9PinDualInline
= 0x18,
1990 EfiPortConnectorType25PinDualInline
= 0x19,
1991 EfiPortConnectorType50PinDualInline
= 0x1A,
1992 EfiPortConnectorType68PinDualInline
= 0x1B,
1993 EfiPortConnectorTypeOnboardSoundInput
= 0x1C,
1994 EfiPortConnectorTypeMiniCentronicsType14
= 0x1D,
1995 EfiPortConnectorTypeMiniCentronicsType26
= 0x1E,
1996 EfiPortConnectorTypeHeadPhoneMiniJack
= 0x1F,
1997 EfiPortConnectorTypeBNC
= 0x20,
1998 EfiPortConnectorType1394
= 0x21,
1999 EfiPortConnectorTypePC98
= 0xA0,
2000 EfiPortConnectorTypePC98Hireso
= 0xA1,
2001 EfiPortConnectorTypePCH98
= 0xA2,
2002 EfiPortConnectorTypePC98Note
= 0xA3,
2003 EfiPortConnectorTypePC98Full
= 0xA4,
2004 EfiPortConnectorTypeOther
= 0xFF
2005 } EFI_MISC_PORT_CONNECTOR_TYPE
;
2008 EfiPortTypeNone
= 0x00,
2009 EfiPortTypeParallelXtAtCompatible
= 0x01,
2010 EfiPortTypeParallelPortPs2
= 0x02,
2011 EfiPortTypeParallelPortEcp
= 0x03,
2012 EfiPortTypeParallelPortEpp
= 0x04,
2013 EfiPortTypeParallelPortEcpEpp
= 0x05,
2014 EfiPortTypeSerialXtAtCompatible
= 0x06,
2015 EfiPortTypeSerial16450Compatible
= 0x07,
2016 EfiPortTypeSerial16550Compatible
= 0x08,
2017 EfiPortTypeSerial16550ACompatible
= 0x09,
2018 EfiPortTypeScsi
= 0x0A,
2019 EfiPortTypeMidi
= 0x0B,
2020 EfiPortTypeJoyStick
= 0x0C,
2021 EfiPortTypeKeyboard
= 0x0D,
2022 EfiPortTypeMouse
= 0x0E,
2023 EfiPortTypeSsaScsi
= 0x0F,
2024 EfiPortTypeUsb
= 0x10,
2025 EfiPortTypeFireWire
= 0x11,
2026 EfiPortTypePcmciaTypeI
= 0x12,
2027 EfiPortTypePcmciaTypeII
= 0x13,
2028 EfiPortTypePcmciaTypeIII
= 0x14,
2029 EfiPortTypeCardBus
= 0x15,
2030 EfiPortTypeAccessBusPort
= 0x16,
2031 EfiPortTypeScsiII
= 0x17,
2032 EfiPortTypeScsiWide
= 0x18,
2033 EfiPortTypePC98
= 0x19,
2034 EfiPortTypePC98Hireso
= 0x1A,
2035 EfiPortTypePCH98
= 0x1B,
2036 EfiPortTypeVideoPort
= 0x1C,
2037 EfiPortTypeAudioPort
= 0x1D,
2038 EfiPortTypeModemPort
= 0x1E,
2039 EfiPortTypeNetworkPort
= 0x1F,
2040 EfiPortType8251Compatible
= 0xA0,
2041 EfiPortType8251FifoCompatible
= 0xA1,
2042 EfiPortTypeOther
= 0xFF
2043 } EFI_MISC_PORT_TYPE
;
2046 STRING_REF PortInternalConnectorDesignator
;
2047 STRING_REF PortExternalConnectorDesignator
;
2048 EFI_MISC_PORT_CONNECTOR_TYPE PortInternalConnectorType
;
2049 EFI_MISC_PORT_CONNECTOR_TYPE PortExternalConnectorType
;
2050 EFI_MISC_PORT_TYPE PortType
;
2052 /// Inconsistent with specification here:
2053 /// In MiscSubclass specification 0.9, this type of field is defined as EFI_DEVICE_PATH_PROTOCOL,
2054 /// which causes the implementation some complexity. Keep it unchanged for backward
2057 EFI_MISC_PORT_DEVICE_PATH PortPath
;
2058 } EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA
;
2061 // Misc. System Slots - SMBIOS Type 9
2063 #define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007
2066 EfiSlotTypeOther
= 0x01,
2067 EfiSlotTypeUnknown
= 0x02,
2068 EfiSlotTypeIsa
= 0x03,
2069 EfiSlotTypeMca
= 0x04,
2070 EfiSlotTypeEisa
= 0x05,
2071 EfiSlotTypePci
= 0x06,
2072 EfiSlotTypePcmcia
= 0x07,
2073 EfiSlotTypeVlVesa
= 0x08,
2074 EfiSlotTypeProprietary
= 0x09,
2075 EfiSlotTypeProcessorCardSlot
= 0x0A,
2076 EfiSlotTypeProprietaryMemoryCardSlot
= 0x0B,
2077 EfiSlotTypeIORiserCardSlot
= 0x0C,
2078 EfiSlotTypeNuBus
= 0x0D,
2079 EfiSlotTypePci66MhzCapable
= 0x0E,
2080 EfiSlotTypeAgp
= 0x0F,
2082 /// Inconsistent with specification here:
2083 /// In MiscSubclass specification 0.9, its naming should be EfiSlotTypeAgp2X
2084 /// rather than EfiSlotTypeApg2X.
2086 EfiSlotTypeAgp2X
= 0x10,
2087 EfiSlotTypeAgp4X
= 0x11,
2088 EfiSlotTypePciX
= 0x12,
2089 EfiSlotTypeAgp8x
= 0x13,
2090 EfiSlotTypePC98C20
= 0xA0,
2091 EfiSlotTypePC98C24
= 0xA1,
2092 EfiSlotTypePC98E
= 0xA2,
2093 EfiSlotTypePC98LocalBus
= 0xA3,
2094 EfiSlotTypePC98Card
= 0xA4,
2096 /// Inconsistent with specification here:
2097 /// In MiscSubclass specification 0.9, these fields aren't defined.
2098 /// They're introduced for SmBios 2.6 specification type 9.
2100 EfiSlotTypePciExpress
= 0xA5,
2101 EfiSlotTypePciExpressX1
= 0xA6,
2102 EfiSlotTypePciExpressX2
= 0xA7,
2103 EfiSlotTypePciExpressX4
= 0xA8,
2104 EfiSlotTypePciExpressX8
= 0xA9,
2105 EfiSlotTypePciExpressX16
= 0xAA
2106 } EFI_MISC_SLOT_TYPE
;
2109 EfiSlotDataBusWidthOther
= 0x01,
2110 EfiSlotDataBusWidthUnknown
= 0x02,
2111 EfiSlotDataBusWidth8Bit
= 0x03,
2112 EfiSlotDataBusWidth16Bit
= 0x04,
2113 EfiSlotDataBusWidth32Bit
= 0x05,
2114 EfiSlotDataBusWidth64Bit
= 0x06,
2115 EfiSlotDataBusWidth128Bit
= 0x07,
2117 /// Inconsistent with specification here:
2118 /// In MiscSubclass specification 0.9, these fields aren't defined.
2119 /// They're introduced for SmBios 2.6 specification type 9.
2121 EfiSlotDataBusWidth1xOrx1
= 0x8,
2122 EfiSlotDataBusWidth2xOrx2
= 0x9,
2123 EfiSlotDataBusWidth4xOrx4
= 0xA,
2124 EfiSlotDataBusWidth8xOrx8
= 0xB,
2125 EfiSlotDataBusWidth12xOrx12
= 0xC,
2126 EfiSlotDataBusWidth16xOrx16
= 0xD,
2127 EfiSlotDataBusWidth32xOrx32
= 0xE
2128 } EFI_MISC_SLOT_DATA_BUS_WIDTH
;
2131 EfiSlotUsageOther
= 1,
2132 EfiSlotUsageUnknown
= 2,
2133 EfiSlotUsageAvailable
= 3,
2134 EfiSlotUsageInUse
= 4
2135 } EFI_MISC_SLOT_USAGE
;
2138 EfiSlotLengthOther
= 1,
2139 EfiSlotLengthUnknown
= 2,
2140 EfiSlotLengthShort
= 3,
2141 EfiSlotLengthLong
= 4
2142 } EFI_MISC_SLOT_LENGTH
;
2145 UINT32 CharacteristicsUnknown
:1;
2146 UINT32 Provides50Volts
:1;
2147 UINT32 Provides33Volts
:1;
2148 UINT32 SharedSlot
:1;
2149 UINT32 PcCard16Supported
:1;
2150 UINT32 CardBusSupported
:1;
2151 UINT32 ZoomVideoSupported
:1;
2152 UINT32 ModemRingResumeSupported
:1;
2153 UINT32 PmeSignalSupported
:1;
2154 UINT32 HotPlugDevicesSupported
:1;
2155 UINT32 SmbusSignalSupported
:1;
2156 UINT32 Reserved
:21;
2157 } EFI_MISC_SLOT_CHARACTERISTICS
;
2160 STRING_REF SlotDesignation
;
2161 EFI_MISC_SLOT_TYPE SlotType
;
2162 EFI_MISC_SLOT_DATA_BUS_WIDTH SlotDataBusWidth
;
2163 EFI_MISC_SLOT_USAGE SlotUsage
;
2164 EFI_MISC_SLOT_LENGTH SlotLength
;
2166 EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics
;
2167 EFI_DEVICE_PATH_PROTOCOL SlotDevicePath
;
2168 } EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA
;
2171 // Misc. Onboard Device - SMBIOS Type 10
2173 #define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008
2176 EfiOnBoardDeviceTypeOther
= 1,
2177 EfiOnBoardDeviceTypeUnknown
= 2,
2178 EfiOnBoardDeviceTypeVideo
= 3,
2179 EfiOnBoardDeviceTypeScsiController
= 4,
2180 EfiOnBoardDeviceTypeEthernet
= 5,
2181 EfiOnBoardDeviceTypeTokenRing
= 6,
2182 EfiOnBoardDeviceTypeSound
= 7
2183 } EFI_MISC_ONBOARD_DEVICE_TYPE
;
2186 UINT32 DeviceType
:16;
2187 UINT32 DeviceEnabled
:1;
2188 UINT32 Reserved
:15;
2189 } EFI_MISC_ONBOARD_DEVICE_STATUS
;
2192 STRING_REF OnBoardDeviceDescription
;
2194 /// Inconsistent with specification here:
2195 /// In MiscSubclass specification 0.9, the name is OnBoardDeviceType.
2196 /// Keep it unchanged for backward compatibilty.
2198 EFI_MISC_ONBOARD_DEVICE_STATUS OnBoardDeviceStatus
;
2199 EFI_DEVICE_PATH_PROTOCOL OnBoardDevicePath
;
2200 } EFI_MISC_ONBOARD_DEVICE_DATA
;
2203 // Misc. BIOS Language Information - SMBIOS Type 11
2205 #define EFI_MISC_OEM_STRING_RECORD_NUMBER 0x00000009
2208 STRING_REF OemStringRef
[1];
2209 } EFI_MISC_OEM_STRING_DATA
;
2212 // Misc. System Options - SMBIOS Type 12
2215 STRING_REF SystemOptionStringRef
[1];
2216 } EFI_MISC_SYSTEM_OPTION_STRING_DATA
;
2218 #define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A
2221 // Misc. Number of Installable Languages - SMBIOS Type 13
2223 #define EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_RECORD_NUMBER 0x0000000B
2226 UINT32 AbbreviatedLanguageFormat
:1;
2227 UINT32 Reserved
:31;
2228 } EFI_MISC_LANGUAGE_FLAGS
;
2231 UINT16 NumberOfInstallableLanguages
;
2232 EFI_MISC_LANGUAGE_FLAGS LanguageFlags
;
2233 UINT16 CurrentLanguageNumber
;
2234 } EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA
;
2237 // Misc. System Language String
2239 #define EFI_MISC_SYSTEM_LANGUAGE_STRING_RECORD_NUMBER 0x0000000C
2243 STRING_REF SystemLanguageString
;
2244 } EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA
;
2247 // Group Associations - SMBIOS Type 14
2249 #define EFI_MISC_GROUP_NAME_RECORD_NUMBER 0x0000000D
2252 STRING_REF GroupName
;
2253 UINT16 NumberGroupItems
;
2255 } EFI_MISC_GROUP_NAME_DATA
;
2258 // Group Item Set Element
2260 #define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER 0x0000000E
2264 EFI_INTER_LINK_DATA GroupLink
;
2266 UINT16 GroupElementId
;
2267 } EFI_MISC_GROUP_ITEM_SET_DATA
;
2270 // Misc. Pointing Device Type - SMBIOS Type 21
2272 #define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F
2275 EfiPointingDeviceTypeOther
= 0x01,
2276 EfiPointingDeviceTypeUnknown
= 0x02,
2277 EfiPointingDeviceTypeMouse
= 0x03,
2278 EfiPointingDeviceTypeTrackBall
= 0x04,
2279 EfiPointingDeviceTypeTrackPoint
= 0x05,
2280 EfiPointingDeviceTypeGlidePoint
= 0x06,
2281 EfiPointingDeviceTouchPad
= 0x07,
2282 EfiPointingDeviceTouchScreen
= 0x08,
2283 EfiPointingDeviceOpticalSensor
= 0x09
2284 } EFI_MISC_POINTING_DEVICE_TYPE
;
2287 EfiPointingDeviceInterfaceOther
= 0x01,
2288 EfiPointingDeviceInterfaceUnknown
= 0x02,
2289 EfiPointingDeviceInterfaceSerial
= 0x03,
2290 EfiPointingDeviceInterfacePs2
= 0x04,
2291 EfiPointingDeviceInterfaceInfrared
= 0x05,
2292 EfiPointingDeviceInterfaceHpHil
= 0x06,
2293 EfiPointingDeviceInterfaceBusMouse
= 0x07,
2294 EfiPointingDeviceInterfaceADB
= 0x08,
2295 EfiPointingDeviceInterfaceBusMouseDB9
= 0xA0,
2296 EfiPointingDeviceInterfaceBusMouseMicroDin
= 0xA1,
2297 EfiPointingDeviceInterfaceUsb
= 0xA2
2298 } EFI_MISC_POINTING_DEVICE_INTERFACE
;
2301 EFI_MISC_POINTING_DEVICE_TYPE PointingDeviceType
;
2302 EFI_MISC_POINTING_DEVICE_INTERFACE PointingDeviceInterface
;
2303 UINT16 NumberPointingDeviceButtons
;
2304 EFI_DEVICE_PATH_PROTOCOL PointingDevicePath
;
2305 } EFI_MISC_POINTING_DEVICE_TYPE_DATA
;
2308 // Portable Battery - SMBIOS Type 22
2311 /// Inconsistent with specification here:
2312 /// In MiscSubclass specification 0.9, the name is EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER.
2313 /// Keep it unchanged for backward compatibilty.
2315 #define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER 0x00000010
2318 /// Inconsistent with specification here:
2319 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BATTERY_DEVICE_CHEMISTRY.
2320 /// And all field namings are also different with specification.
2321 /// Keep it unchanged for backward compatibilty.
2324 EfiPortableBatteryDeviceChemistryOther
= 1,
2325 EfiPortableBatteryDeviceChemistryUnknown
= 2,
2326 EfiPortableBatteryDeviceChemistryLeadAcid
= 3,
2327 EfiPortableBatteryDeviceChemistryNickelCadmium
= 4,
2328 EfiPortableBatteryDeviceChemistryNickelMetalHydride
= 5,
2329 EfiPortableBatteryDeviceChemistryLithiumIon
= 6,
2330 EfiPortableBatteryDeviceChemistryZincAir
= 7,
2331 EfiPortableBatteryDeviceChemistryLithiumPolymer
= 8
2332 } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
;
2335 /// Inconsistent with specification here:
2336 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BATTERY_LOCATION_DATA.
2337 /// Also, the name and the order of the fields vary with specifications.
2338 /// Keep it unchanged for backward compatibilty.
2341 STRING_REF Location
;
2342 STRING_REF Manufacturer
;
2343 STRING_REF ManufactureDate
;
2344 STRING_REF SerialNumber
;
2345 STRING_REF DeviceName
;
2346 EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
2348 UINT16 DesignCapacity
;
2349 UINT16 DesignVoltage
;
2350 STRING_REF SBDSVersionNumber
;
2352 UINT16 SBDSSerialNumber
;
2353 UINT16 SBDSManufactureDate
;
2354 STRING_REF SBDSDeviceChemistry
;
2355 UINT8 DesignCapacityMultiplier
;
2357 UINT8 BatteryNumber
; // Temporary
2358 BOOLEAN Valid
; // Is entry valid - Temporary
2359 } EFI_MISC_PORTABLE_BATTERY
;
2363 // Misc. Reset Capabilities - SMBIOS Type 23
2365 #define EFI_MISC_RESET_CAPABILITIES_RECORD_NUMBER 0x00000011
2369 UINT32 BootOption
:2;
2370 UINT32 BootOptionOnLimit
:2;
2371 UINT32 WatchdogTimerPresent
:1;
2372 UINT32 Reserved
:26;
2373 } EFI_MISC_RESET_CAPABILITIES_TYPE
;
2376 EFI_MISC_RESET_CAPABILITIES_TYPE ResetCapabilities
;
2379 UINT16 ResetTimerInterval
;
2380 UINT16 ResetTimeout
;
2381 } EFI_MISC_RESET_CAPABILITIES
;
2384 EFI_MISC_RESET_CAPABILITIES ResetCapabilities
;
2387 UINT16 ResetTimerInterval
;
2388 UINT16 ResetTimeout
;
2389 } EFI_MISC_RESET_CAPABILITIES_DATA
;
2392 // Misc. Hardware Security - SMBIOS Type 24
2394 #define EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA_RECORD_NUMBER 0x00000012
2397 /// Inconsistent with specification here:
2398 /// The MiscSubclass specification 0.9 only mentions the possible value of each field in
2399 /// EFI_MISC_HARDWARE_SECURITY_SETTINGS.
2400 /// It's implementation-specific in order to to simplify the code logic.
2403 EfiHardwareSecurityStatusDisabled
= 0,
2404 EfiHardwareSecurityStatusEnabled
= 1,
2405 EfiHardwareSecurityStatusNotImplemented
= 2,
2406 EfiHardwareSecurityStatusUnknown
= 3
2407 } EFI_MISC_HARDWARE_SECURITY_STATUS
;
2410 UINT32 FrontPanelResetStatus
:2;
2411 UINT32 AdministratorPasswordStatus
:2;
2412 UINT32 KeyboardPasswordStatus
:2;
2413 UINT32 PowerOnPasswordStatus
:2;
2414 UINT32 Reserved
:24;
2415 } EFI_MISC_HARDWARE_SECURITY_SETTINGS
;
2418 EFI_MISC_HARDWARE_SECURITY_SETTINGS HardwareSecuritySettings
;
2419 } EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA
;
2422 // System Power Controls - SMBIOS Type 25
2424 #define EFI_MISC_SCHEDULED_POWER_ON_MONTH_RECORD_NUMBER 0x00000013
2427 UINT16 ScheduledPoweronMonth
;
2428 UINT16 ScheduledPoweronDayOfMonth
;
2429 UINT16 ScheduledPoweronHour
;
2430 UINT16 ScheduledPoweronMinute
;
2431 UINT16 ScheduledPoweronSecond
;
2432 } EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA
;
2435 // Voltage Probe - SMBIOS Type 26
2437 #define EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000014
2440 UINT32 VoltageProbeSite
:5;
2441 UINT32 VoltageProbeStatus
:3;
2442 UINT32 Reserved
:24;
2443 } EFI_MISC_VOLTAGE_PROBE_LOCATION
;
2446 STRING_REF VoltageProbeDescription
;
2447 EFI_MISC_VOLTAGE_PROBE_LOCATION VoltageProbeLocation
;
2448 EFI_EXP_BASE10_DATA VoltageProbeMaximumValue
;
2449 EFI_EXP_BASE10_DATA VoltageProbeMinimumValue
;
2450 EFI_EXP_BASE10_DATA VoltageProbeResolution
;
2451 EFI_EXP_BASE10_DATA VoltageProbeTolerance
;
2452 EFI_EXP_BASE10_DATA VoltageProbeAccuracy
;
2453 EFI_EXP_BASE10_DATA VoltageProbeNominalValue
;
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 VoltageProbeOemDefined
;
2461 } EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA
;
2464 // Cooling Device - SMBIOS Type 27
2466 #define EFI_MISC_COOLING_DEVICE_TEMP_LINK_RECORD_NUMBER 0x00000015
2469 UINT32 CoolingDevice
:5;
2470 UINT32 CoolingDeviceStatus
:3;
2471 UINT32 Reserved
:24;
2472 } EFI_MISC_COOLING_DEVICE_TYPE
;
2475 EFI_MISC_COOLING_DEVICE_TYPE CoolingDeviceType
;
2476 EFI_INTER_LINK_DATA CoolingDeviceTemperatureLink
;
2477 UINT8 CoolingDeviceUnitGroup
;
2478 UINT16 CoolingDeviceNominalSpeed
;
2479 UINT32 CoolingDeviceOemDefined
;
2480 } EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA
;
2483 // Temperature Probe - SMBIOS Type 28
2485 #define EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000016
2488 UINT32 TemperatureProbeSite
:5;
2489 UINT32 TemperatureProbeStatus
:3;
2490 UINT32 Reserved
:24;
2491 } EFI_MISC_TEMPERATURE_PROBE_LOCATION
;
2494 STRING_REF TemperatureProbeDescription
;
2495 EFI_MISC_TEMPERATURE_PROBE_LOCATION
2496 TemperatureProbeLocation
;
2498 /// Inconsistent with specification here:
2499 /// MiscSubclass 0.9 specification defines the fields type as EFI_EXP_BASE10_DATA.
2500 /// In fact, they should be UINT16 type because they refer to 16bit width data.
2501 /// Keeping this inconsistency for backward compatibility.
2503 UINT16 TemperatureProbeMaximumValue
;
2504 UINT16 TemperatureProbeMinimumValue
;
2505 UINT16 TemperatureProbeResolution
;
2506 UINT16 TemperatureProbeTolerance
;
2507 UINT16 TemperatureProbeAccuracy
;
2508 UINT16 TemperatureProbeNominalValue
;
2509 UINT16 MDLowerNoncriticalThreshold
;
2510 UINT16 MDUpperNoncriticalThreshold
;
2511 UINT16 MDLowerCriticalThreshold
;
2512 UINT16 MDUpperCriticalThreshold
;
2513 UINT16 MDLowerNonrecoverableThreshold
;
2514 UINT16 MDUpperNonrecoverableThreshold
;
2515 UINT32 TemperatureProbeOemDefined
;
2516 } EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA
;
2519 // Electrical Current Probe - SMBIOS Type 29
2522 #define EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000017
2525 UINT32 ElectricalCurrentProbeSite
:5;
2526 UINT32 ElectricalCurrentProbeStatus
:3;
2527 UINT32 Reserved
:24;
2528 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
;
2531 STRING_REF ElectricalCurrentProbeDescription
;
2532 EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
2533 ElectricalCurrentProbeLocation
;
2534 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMaximumValue
;
2535 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMinimumValue
;
2536 EFI_EXP_BASE10_DATA ElectricalCurrentProbeResolution
;
2537 EFI_EXP_BASE10_DATA ElectricalCurrentProbeTolerance
;
2538 EFI_EXP_BASE10_DATA ElectricalCurrentProbeAccuracy
;
2539 EFI_EXP_BASE10_DATA ElectricalCurrentProbeNominalValue
;
2540 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2541 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2542 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2543 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2544 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2545 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2546 UINT32 ElectricalCurrentProbeOemDefined
;
2547 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA
;
2550 // Out-of-Band Remote Access - SMBIOS Type 30
2553 #define EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_RECORD_NUMBER 0x00000018
2556 UINT32 InboundConnectionEnabled
:1;
2557 UINT32 OutboundConnectionEnabled
:1;
2558 UINT32 Reserved
:30;
2559 } EFI_MISC_REMOTE_ACCESS_CONNECTIONS
;
2562 STRING_REF RemoteAccessManufacturerNameDescription
;
2563 EFI_MISC_REMOTE_ACCESS_CONNECTIONS RemoteAccessConnections
;
2564 } EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
;
2567 // Misc. BIS Entry Point - SMBIOS Type 31
2569 #define EFI_MISC_BIS_ENTRY_POINT_RECORD_NUMBER 0x00000019
2572 EFI_PHYSICAL_ADDRESS BisEntryPoint
;
2573 } EFI_MISC_BIS_ENTRY_POINT_DATA
;
2576 // Misc. Boot Information - SMBIOS Type 32
2578 #define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER 0x0000001A
2581 /// Inconsistent with specification here:
2582 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.
2583 /// Keep it unchanged for backward compatibilty.
2586 EfiBootInformationStatusNoError
= 0x00,
2587 EfiBootInformationStatusNoBootableMedia
= 0x01,
2588 EfiBootInformationStatusNormalOSFailedLoading
= 0x02,
2589 EfiBootInformationStatusFirmwareDetectedFailure
= 0x03,
2590 EfiBootInformationStatusOSDetectedFailure
= 0x04,
2591 EfiBootInformationStatusUserRequestedBoot
= 0x05,
2592 EfiBootInformationStatusSystemSecurityViolation
= 0x06,
2593 EfiBootInformationStatusPreviousRequestedImage
= 0x07,
2594 EfiBootInformationStatusWatchdogTimerExpired
= 0x08,
2595 EfiBootInformationStatusStartReserved
= 0x09,
2596 EfiBootInformationStatusStartOemSpecific
= 0x80,
2597 EfiBootInformationStatusStartProductSpecific
= 0xC0
2598 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE
;
2602 /// Inconsistent with specification here:
2603 /// In MiscSubclass specification 0.9, the field name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.
2604 /// Keep it unchanged for backward compatibilty.
2606 EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE BootInformationStatus
;
2607 UINT8 BootInformationData
[9];
2608 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA
;
2611 // Management Device - SMBIOS Type 34
2613 #define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER 0x0000001B
2616 EfiManagementDeviceTypeOther
= 0x01,
2617 EfiManagementDeviceTypeUnknown
= 0x02,
2618 EfiManagementDeviceTypeLm75
= 0x03,
2619 EfiManagementDeviceTypeLm78
= 0x04,
2620 EfiManagementDeviceTypeLm79
= 0x05,
2621 EfiManagementDeviceTypeLm80
= 0x06,
2622 EfiManagementDeviceTypeLm81
= 0x07,
2623 EfiManagementDeviceTypeAdm9240
= 0x08,
2624 EfiManagementDeviceTypeDs1780
= 0x09,
2625 EfiManagementDeviceTypeMaxim1617
= 0x0A,
2626 EfiManagementDeviceTypeGl518Sm
= 0x0B,
2627 EfiManagementDeviceTypeW83781D
= 0x0C,
2628 EfiManagementDeviceTypeHt82H791
= 0x0D
2629 } EFI_MISC_MANAGEMENT_DEVICE_TYPE
;
2632 EfiManagementDeviceAddressTypeOther
= 1,
2633 EfiManagementDeviceAddressTypeUnknown
= 2,
2634 EfiManagementDeviceAddressTypeIOPort
= 3,
2635 EfiManagementDeviceAddressTypeMemory
= 4,
2636 EfiManagementDeviceAddressTypeSmbus
= 5
2637 } EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
;
2640 STRING_REF ManagementDeviceDescription
;
2641 EFI_MISC_MANAGEMENT_DEVICE_TYPE ManagementDeviceType
;
2642 UINTN ManagementDeviceAddress
;
2643 EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
2644 ManagementDeviceAddressType
;
2645 } EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA
;
2648 // Management Device Component - SMBIOS Type 35
2651 #define EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_RECORD_NUMBER 0x0000001C
2654 STRING_REF ManagementDeviceComponentDescription
;
2655 EFI_INTER_LINK_DATA ManagementDeviceLink
;
2656 EFI_INTER_LINK_DATA ManagementDeviceComponentLink
;
2658 /// Inconsistent with specification here:
2659 /// In MiscSubclass specification 0.9, this field is NOT defined.
2660 /// It's introduced for SmBios 2.6 specification type 35.
2662 EFI_INTER_LINK_DATA ManagementDeviceThresholdLink
;
2664 /// Inconsistent with specification here:
2665 /// In MiscSubclass specification 0.9, this field is NOT defined.
2666 /// It's implementation-specific to simplify the code logic.
2668 UINT8 ComponentType
;
2669 } EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
;
2672 // IPMI Data Record - SMBIOS Type 38
2679 } EFI_MISC_IPMI_INTERFACE_TYPE
;
2682 UINT16 IpmiSpecLeastSignificantDigit
:4;
2683 UINT16 IpmiSpecMostSignificantDigit
: 4;
2685 } EFI_MISC_IPMI_SPECIFICATION_REVISION
;
2688 EFI_MISC_IPMI_INTERFACE_TYPE IpmiInterfaceType
;
2689 EFI_MISC_IPMI_SPECIFICATION_REVISION
2690 IpmiSpecificationRevision
;
2691 UINT16 IpmiI2CSlaveAddress
;
2692 UINT16 IpmiNvDeviceAddress
;
2693 UINT64 IpmiBaseAddress
;
2694 EFI_DEVICE_PATH_PROTOCOL IpmiDevicePath
;
2695 } EFI_MISC_IPMI_INTERFACE_TYPE_DATA
;
2697 #define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER 0x0000001D
2699 /// The definition above is *NOT* defined in MiscSubclass specifications 0.9.
2700 /// It's defined for backward compatibility.
2702 #define EFI_MISC_IPMI_INTERFACE_TYPE_DATA_RECORD_NUMBER EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER
2705 /// System Power supply Record - SMBIOS Type 39
2707 /// Inconsistent with specification here:
2708 /// In MiscSubclass specification 0.9, the type of all fields are UINT32.
2709 /// Keep it unchanged for backward compatibilty.
2712 UINT16 PowerSupplyHotReplaceable
:1;
2713 UINT16 PowerSupplyPresent
:1;
2714 UINT16 PowerSupplyUnplugged
:1;
2715 UINT16 InputVoltageRangeSwitch
:4;
2716 UINT16 PowerSupplyStatus
:3;
2717 UINT16 PowerSupplyType
:4;
2719 } EFI_MISC_POWER_SUPPLY_CHARACTERISTICS
;
2722 /// Inconsistent with specification here:
2723 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_POWER_SUPPLY_UNIT_GROUP_DATA.
2724 /// Keep it unchanged for backward compatibilty.
2727 UINT16 PowerUnitGroup
;
2728 STRING_REF PowerSupplyLocation
;
2729 STRING_REF PowerSupplyDeviceName
;
2730 STRING_REF PowerSupplyManufacturer
;
2731 STRING_REF PowerSupplySerialNumber
;
2732 STRING_REF PowerSupplyAssetTagNumber
;
2733 STRING_REF PowerSupplyModelPartNumber
;
2734 STRING_REF PowerSupplyRevisionLevel
;
2735 UINT16 PowerSupplyMaxPowerCapacity
;
2736 EFI_MISC_POWER_SUPPLY_CHARACTERISTICS PowerSupplyCharacteristics
;
2737 EFI_INTER_LINK_DATA PowerSupplyInputVoltageProbeLink
;
2738 EFI_INTER_LINK_DATA PowerSupplyCoolingDeviceLink
;
2739 EFI_INTER_LINK_DATA PowerSupplyInputCurrentProbeLink
;
2740 } EFI_MISC_SYSTEM_POWER_SUPPLY_DATA
;
2742 #define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E
2745 /// OEM Data Record - SMBIOS Type 0x80-0xFF
2747 /// Inconsistent with specification here:
2748 /// In MiscSubclass specification 0.9, the structure name is EFI_SMBIOS_STRUCTURE_HDR.
2749 /// Due to this, the structure is commonly used by vendors to construct SmBios type 0x80~0xFF table,
2750 /// Keep it unchanged for backward compatibilty.
2756 } SMBIOS_STRUCTURE_HDR
;
2760 /// Inconsistent with specification here:
2761 /// In MiscSubclass specification 0.9, the field name is EFI_SMBIOS_STRUCTURE_HDR.
2762 /// Keep it unchanged for backward compatibilty.
2764 SMBIOS_STRUCTURE_HDR Header
;
2766 } EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA
;
2768 #define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER 0x0000001F
2771 /// Misc. System Event Log - SMBIOS Type 15
2773 /// Inconsistent with specification here:
2774 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.
2775 /// It's introduced for SmBios 2.6 specification type 15.
2777 #define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x00000020
2780 /// Inconsistent with specification here:
2781 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.
2782 /// It's introduced for SmBios 2.6 specification type 15.
2785 UINT16 LogAreaLength
;
2786 UINT16 LogHeaderStartOffset
;
2787 UINT16 LogDataStartOffset
;
2790 UINT32 LogChangeToken
;
2791 UINT32 AccessMethodAddress
;
2792 UINT8 LogHeaderFormat
;
2793 UINT8 NumberOfSupportedLogType
;
2794 UINT8 LengthOfLogDescriptor
;
2795 } EFI_MISC_SYSTEM_EVENT_LOG_DATA
;
2799 // 0x00~0x04: as following definition
2800 // 0x05~0x7f: Available for future assignment.
2801 // 0x80~0xff: BIOS Vendor/OEM-specific.
2803 #define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT 0x00
2804 #define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT 0X01
2805 #define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT 0X02
2806 #define ACCESS_MEMORY_MAPPED 0x03
2807 #define ACCESS_GPNV 0x04
2810 /// Management Device Threshold Data Record - SMBIOS Type 36
2812 /// Inconsistent with specification here:
2813 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.
2814 /// It's introduced for SmBios 2.6 specification type 36.
2816 #define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER 0x00000021
2818 /// Inconsistent with specification here:
2819 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.
2820 /// It's introduced for SmBios 2.6 specification type 36.
2823 UINT16 LowerThresNonCritical
;
2824 UINT16 UpperThresNonCritical
;
2825 UINT16 LowerThresCritical
;
2826 UINT16 UpperThresCritical
;
2827 UINT16 LowerThresNonRecover
;
2828 UINT16 UpperThresNonRecover
;
2829 } EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD
;
2832 // Declare the following strutures alias to use them more conviniently.
2834 typedef EFI_MISC_LAST_PCI_BUS_DATA EFI_MISC_LAST_PCI_BUS
;
2835 typedef EFI_MISC_BIOS_VENDOR_DATA EFI_MISC_BIOS_VENDOR
;
2836 typedef EFI_MISC_SYSTEM_MANUFACTURER_DATA EFI_MISC_SYSTEM_MANUFACTURER
;
2837 typedef EFI_MISC_BASE_BOARD_MANUFACTURER_DATA EFI_MISC_BASE_BOARD_MANUFACTURER
;
2838 typedef EFI_MISC_CHASSIS_MANUFACTURER_DATA EFI_MISC_CHASSIS_MANUFACTURER
;
2839 typedef EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR
;
2840 typedef EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA EFI_MISC_SYSTEM_SLOT_DESIGNATION
;
2841 typedef EFI_MISC_ONBOARD_DEVICE_DATA EFI_MISC_ONBOARD_DEVICE
;
2842 typedef EFI_MISC_POINTING_DEVICE_TYPE_DATA EFI_MISC_ONBOARD_DEVICE_TYPE_DATA
;
2843 typedef EFI_MISC_OEM_STRING_DATA EFI_MISC_OEM_STRING
;
2844 typedef EFI_MISC_SYSTEM_OPTION_STRING_DATA EFI_MISC_SYSTEM_OPTION_STRING
;
2845 typedef EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES
;
2846 typedef EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA EFI_MISC_SYSTEM_LANGUAGE_STRING
;
2847 typedef EFI_MISC_SYSTEM_EVENT_LOG_DATA EFI_MISC_SYSTEM_EVENT_LOG
;
2848 typedef EFI_MISC_BIS_ENTRY_POINT_DATA EFI_MISC_BIS_ENTRY_POINT
;
2849 typedef EFI_MISC_BOOT_INFORMATION_STATUS_DATA EFI_MISC_BOOT_INFORMATION_STATUS
;
2850 typedef EFI_MISC_SYSTEM_POWER_SUPPLY_DATA EFI_MISC_SYSTEM_POWER_SUPPLY
;
2851 typedef EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION
;
2852 typedef EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA EFI_MISC_SCHEDULED_POWER_ON_MONTH
;
2853 typedef EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA EFI_MISC_VOLTAGE_PROBE_DESCRIPTION
;
2854 typedef EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA EFI_MISC_COOLING_DEVICE_TEMP_LINK
;
2855 typedef EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION
;
2856 typedef EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
2857 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION
;
2858 typedef EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION
;
2859 typedef EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION
;
2860 typedef EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
2861 EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION
;
2864 /// Inconsistent with specification here:
2865 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
2866 /// It is implementation-specific to simplify the code logic.
2869 EFI_MISC_LAST_PCI_BUS_DATA LastPciBus
;
2870 EFI_MISC_BIOS_VENDOR_DATA MiscBiosVendor
;
2871 EFI_MISC_SYSTEM_MANUFACTURER_DATA MiscSystemManufacturer
;
2872 EFI_MISC_BASE_BOARD_MANUFACTURER_DATA MiscBaseBoardManufacturer
;
2873 EFI_MISC_CHASSIS_MANUFACTURER_DATA MiscChassisManufacturer
;
2874 EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA MiscPortInternalConnectorDesignator
;
2875 EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA MiscSystemSlotDesignation
;
2876 EFI_MISC_ONBOARD_DEVICE_DATA MiscOnboardDevice
;
2877 EFI_MISC_OEM_STRING_DATA MiscOemString
;
2878 EFI_MISC_SYSTEM_OPTION_STRING_DATA MiscOptionString
;
2879 EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA NumberOfInstallableLanguages
;
2880 EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA MiscSystemLanguageString
;
2881 EFI_MISC_SYSTEM_EVENT_LOG_DATA MiscSystemEventLog
;
2882 EFI_MISC_GROUP_NAME_DATA MiscGroupNameData
;
2883 EFI_MISC_GROUP_ITEM_SET_DATA MiscGroupItemSetData
;
2884 EFI_MISC_POINTING_DEVICE_TYPE_DATA MiscPointingDeviceTypeData
;
2885 EFI_MISC_RESET_CAPABILITIES_DATA MiscResetCapablilitiesData
;
2886 EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA MiscHardwareSecuritySettingsData
;
2887 EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA MiscScheduledPowerOnMonthData
;
2888 EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA MiscVoltagePorbeDescriptionData
;
2889 EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA MiscCoolingDeviceTempLinkData
;
2890 EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA MiscTemperatureProbeDescriptionData
;
2891 EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA MiscElectricalCurrentProbeDescriptionData
;
2892 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
2893 MiscRemoteAccessManufacturerDescriptionData
;
2894 EFI_MISC_BIS_ENTRY_POINT_DATA MiscBisEntryPoint
;
2895 EFI_MISC_BOOT_INFORMATION_STATUS_DATA MiscBootInformationStatus
;
2896 EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA MiscMangementDeviceDescriptionData
;
2897 EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
2898 MiscmangementDeviceComponentDescriptionData
;
2899 EFI_MISC_IPMI_INTERFACE_TYPE_DATA MiscIpmiInterfaceTypeData
;
2900 EFI_MISC_SYSTEM_POWER_SUPPLY_DATA MiscPowerSupplyInfo
;
2901 EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA MiscSmbiosStructEncapsulation
;
2902 EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD MiscManagementDeviceThreshold
;
2903 } EFI_MISC_SUBCLASS_RECORDS
;
2906 /// Inconsistent with specification here:
2907 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
2908 /// It is implementation-specific to simplify the code logic.
2911 EFI_SUBCLASS_TYPE1_HEADER Header
;
2912 EFI_MISC_SUBCLASS_RECORDS Record
;
2913 } EFI_MISC_SUBCLASS_DRIVER_DATA
;
2917 /// Inconsistent with specification here:
2918 /// In DataHubSubclass specification 0.9 page 16, the following symbol is NOT defined.
2919 /// But value is meaningful, 0 means Reserved.
2921 #define EFI_SUBCLASS_INSTANCE_RESERVED 0
2923 /// Inconsistent with specification here:
2924 /// In DataHubSubclass specification 0.9 page 16, the following symbol is NOT defined.
2925 /// But value is meaningful, -1 means Not Applicable.
2927 #define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF