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 - 2010, Intel Corporation. All rights reserved.<BR>
9 This program and the accompanying materials are licensed and made available under
10 the terms and conditions of the BSD License that accompanies this distribution.
11 The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php.
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #ifndef _DATAHUB_RECORDS_GUID_H_
19 #define _DATAHUB_RECORDS_GUID_H_
22 // The include is required to retrieve type EFI_EXP_BASE10_DATA
24 #include <Guid/StatusCodeDataTypeId.h>
26 #define EFI_PROCESSOR_SUBCLASS_GUID \
27 { 0x26fdeb7e, 0xb8af, 0x4ccf, {0xaa, 0x97, 0x02, 0x63, 0x3c, 0xe4, 0x8c, 0xa7 } }
29 extern EFI_GUID gEfiProcessorSubClassGuid
;
32 #define EFI_CACHE_SUBCLASS_GUID \
33 { 0x7f0013a7, 0xdc79, 0x4b22, {0x80, 0x99, 0x11, 0xf7, 0x5f, 0xdc, 0x82, 0x9d } }
35 extern EFI_GUID gEfiCacheSubClassGuid
;
38 /// The memory subclass belongs to the data class and is identified as the memory
39 /// subclass by the GUID.
41 #define EFI_MEMORY_SUBCLASS_GUID \
42 {0x4E8F4EBB, 0x64B9, 0x4e05, {0x9B, 0x18, 0x4C, 0xFE, 0x49, 0x23, 0x50, 0x97} }
44 extern EFI_GUID gEfiMemorySubClassGuid
;
46 #define EFI_MISC_SUBCLASS_GUID \
47 { 0x772484B2, 0x7482, 0x4b91, {0x9F, 0x9A, 0xAD, 0x43, 0xF8, 0x1C, 0x58, 0x81 } }
49 extern EFI_GUID gEfiMiscSubClassGuid
;
53 /// Inconsistent with specification here:
54 /// In ProcSubclass specification 0.9, the value is 0x0100.
55 /// Keep it unchanged from the perspective of binary consistency.
57 #define EFI_PROCESSOR_SUBCLASS_VERSION 0x00010000
61 typedef struct _USB_PORT_DEVICE_PATH
{
62 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
63 PCI_DEVICE_PATH PciBusDevicePath
;
64 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
65 } USB_PORT_DEVICE_PATH
;
70 typedef struct _IDE_DEVICE_PATH
{
71 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
72 PCI_DEVICE_PATH PciBusDevicePath
;
73 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
79 typedef struct _RMC_CONN_DEVICE_PATH
{
80 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
81 PCI_DEVICE_PATH PciBridgeDevicePath
;
82 PCI_DEVICE_PATH PciBusDevicePath
;
83 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
84 } RMC_CONN_DEVICE_PATH
;
89 typedef struct _RIDE_DEVICE_PATH
{
90 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
91 PCI_DEVICE_PATH PciBridgeDevicePath
;
92 PCI_DEVICE_PATH PciBusDevicePath
;
93 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
99 typedef struct _GB_NIC_DEVICE_PATH
{
100 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
101 PCI_DEVICE_PATH PciBridgeDevicePath
;
102 PCI_DEVICE_PATH PciXBridgeDevicePath
;
103 PCI_DEVICE_PATH PciXBusDevicePath
;
104 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
105 } GB_NIC_DEVICE_PATH
;
110 typedef struct _PS2_CONN_DEVICE_PATH
{
111 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
112 PCI_DEVICE_PATH LpcBridgeDevicePath
;
113 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
114 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
115 } PS2_CONN_DEVICE_PATH
;
118 // Serial Port Connector
120 typedef struct _SERIAL_CONN_DEVICE_PATH
{
121 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
122 PCI_DEVICE_PATH LpcBridgeDevicePath
;
123 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
124 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
125 } SERIAL_CONN_DEVICE_PATH
;
128 // Parallel Port Connector
130 typedef struct _PARALLEL_CONN_DEVICE_PATH
{
131 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
132 PCI_DEVICE_PATH LpcBridgeDevicePath
;
133 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
134 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
135 } PARALLEL_CONN_DEVICE_PATH
;
140 typedef struct _FLOOPY_CONN_DEVICE_PATH
{
141 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath
;
142 PCI_DEVICE_PATH LpcBridgeDevicePath
;
143 ACPI_HID_DEVICE_PATH LpcBusDevicePath
;
144 EFI_DEVICE_PATH_PROTOCOL EndDevicePath
;
145 } FLOOPY_CONN_DEVICE_PATH
;
148 /// Inconsistent with specification here:
149 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
150 /// It's implementation-specific to simplify the code logic.
152 typedef union _EFI_MISC_PORT_DEVICE_PATH
{
153 USB_PORT_DEVICE_PATH UsbDevicePath
;
154 IDE_DEVICE_PATH IdeDevicePath
;
155 RMC_CONN_DEVICE_PATH RmcConnDevicePath
;
156 RIDE_DEVICE_PATH RideDevicePath
;
157 GB_NIC_DEVICE_PATH GbNicDevicePath
;
158 PS2_CONN_DEVICE_PATH Ps2ConnDevicePath
;
159 SERIAL_CONN_DEVICE_PATH SerialConnDevicePath
;
160 PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath
;
161 FLOOPY_CONN_DEVICE_PATH FloppyConnDevicePath
;
162 } EFI_MISC_PORT_DEVICE_PATH
;
167 /// String Token Definition
169 /// Inconsistent with specification here:
170 /// The macro isn't defined by any specification.
171 /// Keep it unchanged for backward compatibility.
173 #define EFI_STRING_TOKEN UINT16
176 /// Each data record that is a member of some subclass starts with a standard
177 /// header of type EFI_SUBCLASS_TYPE1_HEADER.
178 /// This header is only a guideline and applicable only to a data
179 /// subclass that is producing SMBIOS data records. A subclass can start with a
180 /// different header if needed.
184 /// The version of the specification to which a specific subclass data record adheres.
188 /// The size in bytes of this data class header.
192 /// The instance number of the subclass with the same ProducerName. This number is
193 /// applicable in cases where multiple subclass instances that were produced by the same
194 /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not
195 /// Applicable. All data consumer drivers should be able to handle all the possible values
196 /// of Instance, including Not Applicable and Reserved.
200 /// The instance number of the RecordType for the same Instance. This number is
201 /// applicable in cases where multiple instances of the RecordType exist for a specific
202 /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.
203 /// All data consumer drivers should be able to handle all the possible values of
204 /// SubInstance, including Not Applicable and Reserved.
208 /// The record number for the data record being specified. The numbering scheme and
209 /// definition is defined in the specific subclass specification.
212 } EFI_SUBCLASS_TYPE1_HEADER
;
215 /// This structure is used to link data records in the same subclasses. A data record is
216 /// defined as a link to another data record in the same subclass using this structure.
220 /// An EFI_GUID that identifies the component that produced this data record. Type
221 /// EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
223 EFI_GUID ProducerName
;
225 /// The instance number of the subclass with the same ProducerName. This number is
226 /// applicable in cases where multiple subclass instances that were produced by the same
227 /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not
228 /// Applicable. All data consumer drivers should be able to handle all the possible values
229 /// of Instance, including Not Applicable and Reserved.
232 /// The instance number of the RecordType for the same Instance. This number is
233 /// applicable in cases where multiple instances of the RecordType exist for a specific
234 /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.
235 /// All data consumer drivers should be able to handle all the possible values of
236 /// SubInstance, including Not Applicable and Reserved.
238 } EFI_INTER_LINK_DATA
;
244 /// This macro provides a calculation for base-10 representations. Value and Exponent are each
245 /// INT16. It is signed to cover negative values and is 16 bits wide (15 bits for data and 1 bit
250 /// The INT16 number by which to multiply the base-10 representation.
254 /// The INT16 number by which to raise the base-10 calculation.
257 } EFI_EXP_BASE2_DATA
;
259 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA
;
260 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA
;
261 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_CORE_FREQUENCY_DATA
;
264 /// This data record refers to the list of frequencies that the processor core supports. The list of
265 /// supported frequencies is determined by the firmware based on hardware capabilities--for example,
266 /// it could be a common subset of all processors and the chipset. The unit of measurement of this data
267 /// record is in Hertz. For asynchronous processors, the content of this data record is zero.
268 /// The list is terminated by -1 in the Value field of the last element. A Value field of zero means
269 /// that the processor/driver supports automatic frequency selection.
271 /// Inconsistent with specification here:
272 /// According to MiscSubclass 0.9 specification, it should be a pointer since it refers to a list of frequencies.
274 typedef EFI_EXP_BASE10_DATA
*EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA
;
277 /// This data record refers to the list of supported frequencies of the processor external bus. The list of
278 /// supported frequencies is determined by the firmware based on hardware capabilities--for example,
279 /// it could be a common subset of all processors and the chipset. The unit of measurement of this data
280 /// record is in Hertz. For asynchronous processors, the content of this data record is NULL.
281 /// The list is terminated by -1 in the Value field of the last element. A Value field of zero means
282 /// that the processor/driver supports automatic frequency selection.
284 typedef EFI_EXP_BASE10_DATA
*EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA
;
285 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_FSB_FREQUENCY_DATA
;
286 typedef STRING_REF EFI_PROCESSOR_VERSION_DATA
;
287 typedef STRING_REF EFI_PROCESSOR_MANUFACTURER_DATA
;
288 typedef STRING_REF EFI_PROCESSOR_SERIAL_NUMBER_DATA
;
289 typedef STRING_REF EFI_PROCESSOR_ASSET_TAG_DATA
;
290 typedef STRING_REF EFI_PROCESSOR_PART_NUMBER_DATA
;
293 UINT32 ProcessorSteppingId
:4;
294 UINT32 ProcessorModel
: 4;
295 UINT32 ProcessorFamily
: 4;
296 UINT32 ProcessorType
: 2;
297 UINT32 ProcessorReserved1
: 2;
298 UINT32 ProcessorXModel
: 4;
299 UINT32 ProcessorXFamily
: 8;
300 UINT32 ProcessorReserved2
: 4;
301 } EFI_PROCESSOR_SIGNATURE
;
305 /// Inconsistent with specification here:
306 /// The name of third field in ProcSubClass specification 0.9 is LogicalProcessorCount.
307 /// Keep it unchanged for backward compatibility.
310 UINT32 ProcessorBrandIndex
:8;
311 UINT32 ProcessorClflush
:8;
312 UINT32 ProcessorReserved
:8;
313 UINT32 ProcessorDfltApicId
:8;
314 } EFI_PROCESSOR_MISC_INFO
;
317 UINT32 ProcessorFpu
: 1;
318 UINT32 ProcessorVme
: 1;
319 UINT32 ProcessorDe
: 1;
320 UINT32 ProcessorPse
: 1;
321 UINT32 ProcessorTsc
: 1;
322 UINT32 ProcessorMsr
: 1;
323 UINT32 ProcessorPae
: 1;
324 UINT32 ProcessorMce
: 1;
325 UINT32 ProcessorCx8
: 1;
326 UINT32 ProcessorApic
: 1;
327 UINT32 ProcessorReserved1
: 1;
328 UINT32 ProcessorSep
: 1;
329 UINT32 ProcessorMtrr
: 1;
330 UINT32 ProcessorPge
: 1;
331 UINT32 ProcessorMca
: 1;
332 UINT32 ProcessorCmov
: 1;
333 UINT32 ProcessorPat
: 1;
334 UINT32 ProcessorPse36
: 1;
335 UINT32 ProcessorPsn
: 1;
336 UINT32 ProcessorClfsh
: 1;
337 UINT32 ProcessorReserved2
: 1;
338 UINT32 ProcessorDs
: 1;
339 UINT32 ProcessorAcpi
: 1;
340 UINT32 ProcessorMmx
: 1;
341 UINT32 ProcessorFxsr
: 1;
342 UINT32 ProcessorSse
: 1;
343 UINT32 ProcessorSse2
: 1;
344 UINT32 ProcessorSs
: 1;
345 UINT32 ProcessorReserved3
: 1;
346 UINT32 ProcessorTm
: 1;
347 UINT32 ProcessorReserved4
: 2;
348 } EFI_PROCESSOR_FEATURE_FLAGS
;
351 /// This data record refers to the unique ID that identifies a set of processors. This data record is 16
352 /// bytes in length. The data in this structure is processor specific and reserved values can be defined
353 /// for future use. The consumer of this data should not make any assumption and should use this data
354 /// with respect to the processor family defined in the Family record number.
358 /// Identifies the processor.
360 EFI_PROCESSOR_SIGNATURE Signature
;
362 /// Provides additional processor information.
364 EFI_PROCESSOR_MISC_INFO MiscInfo
;
366 /// Reserved for future use.
370 /// Provides additional processor information.
372 EFI_PROCESSOR_FEATURE_FLAGS FeatureFlags
;
373 } EFI_PROCESSOR_ID_DATA
;
376 /// This data record refers to the general classification of the processor. This data record is 4 bytes in
380 EfiProcessorOther
= 1,
381 EfiProcessorUnknown
= 2,
382 EfiCentralProcessor
= 3,
383 EfiMathProcessor
= 4,
385 EfiVideoProcessor
= 6
386 } EFI_PROCESSOR_TYPE_DATA
;
389 /// This data record refers to the family of the processor as defined by the DMTF.
390 /// This data record is 4 bytes in length.
393 EfiProcessorFamilyOther
= 0x01,
394 EfiProcessorFamilyUnknown
= 0x02,
395 EfiProcessorFamily8086
= 0x03,
396 EfiProcessorFamily80286
= 0x04,
397 EfiProcessorFamilyIntel386
= 0x05,
398 EfiProcessorFamilyIntel486
= 0x06,
399 EfiProcessorFamily8087
= 0x07,
400 EfiProcessorFamily80287
= 0x08,
401 EfiProcessorFamily80387
= 0x09,
402 EfiProcessorFamily80487
= 0x0A,
403 EfiProcessorFamilyPentium
= 0x0B,
404 EfiProcessorFamilyPentiumPro
= 0x0C,
405 EfiProcessorFamilyPentiumII
= 0x0D,
406 EfiProcessorFamilyPentiumMMX
= 0x0E,
407 EfiProcessorFamilyCeleron
= 0x0F,
408 EfiProcessorFamilyPentiumIIXeon
= 0x10,
409 EfiProcessorFamilyPentiumIII
= 0x11,
410 EfiProcessorFamilyM1
= 0x12,
411 EfiProcessorFamilyM2
= 0x13,
412 EfiProcessorFamilyM1Reserved2
= 0x14,
413 EfiProcessorFamilyM1Reserved3
= 0x15,
414 EfiProcessorFamilyM1Reserved4
= 0x16,
415 EfiProcessorFamilyM1Reserved5
= 0x17,
416 EfiProcessorFamilyAmdDuron
= 0x18,
417 EfiProcessorFamilyK5
= 0x19,
418 EfiProcessorFamilyK6
= 0x1A,
419 EfiProcessorFamilyK6_2
= 0x1B,
420 EfiProcessorFamilyK6_3
= 0x1C,
421 EfiProcessorFamilyAmdAthlon
= 0x1D,
422 EfiProcessorFamilyAmd29000
= 0x1E,
423 EfiProcessorFamilyK6_2Plus
= 0x1F,
424 EfiProcessorFamilyPowerPC
= 0x20,
425 EfiProcessorFamilyPowerPC601
= 0x21,
426 EfiProcessorFamilyPowerPC603
= 0x22,
427 EfiProcessorFamilyPowerPC603Plus
= 0x23,
428 EfiProcessorFamilyPowerPC604
= 0x24,
429 EfiProcessorFamilyPowerPC620
= 0x25,
430 EfiProcessorFamilyPowerPCx704
= 0x26,
431 EfiProcessorFamilyPowerPC750
= 0x27,
432 EfiProcessorFamilyAlpha3
= 0x30,
433 EfiProcessorFamilyAlpha21064
= 0x31,
434 EfiProcessorFamilyAlpha21066
= 0x32,
435 EfiProcessorFamilyAlpha21164
= 0x33,
436 EfiProcessorFamilyAlpha21164PC
= 0x34,
437 EfiProcessorFamilyAlpha21164a
= 0x35,
438 EfiProcessorFamilyAlpha21264
= 0x36,
439 EfiProcessorFamilyAlpha21364
= 0x37,
440 EfiProcessorFamilyMips
= 0x40,
441 EfiProcessorFamilyMIPSR4000
= 0x41,
442 EfiProcessorFamilyMIPSR4200
= 0x42,
443 EfiProcessorFamilyMIPSR4400
= 0x43,
444 EfiProcessorFamilyMIPSR4600
= 0x44,
445 EfiProcessorFamilyMIPSR10000
= 0x45,
446 EfiProcessorFamilySparc
= 0x50,
447 EfiProcessorFamilySuperSparc
= 0x51,
448 EfiProcessorFamilymicroSparcII
= 0x52,
449 EfiProcessorFamilymicroSparcIIep
= 0x53,
450 EfiProcessorFamilyUltraSparc
= 0x54,
451 EfiProcessorFamilyUltraSparcII
= 0x55,
452 EfiProcessorFamilyUltraSparcIIi
= 0x56,
453 EfiProcessorFamilyUltraSparcIII
= 0x57,
455 /// Inconsistent with specification here:
456 /// This field in ProcSubClass specification 0.9 is defined as EfiProcessorFamilyUltraSparcIIi.
457 /// Change it to EfiProcessorFamilyUltraSparcIIIi to avoid build break.
459 EfiProcessorFamilyUltraSparcIIIi
= 0x58,
460 EfiProcessorFamily68040
= 0x60,
461 EfiProcessorFamily68xxx
= 0x61,
462 EfiProcessorFamily68000
= 0x62,
463 EfiProcessorFamily68010
= 0x63,
464 EfiProcessorFamily68020
= 0x64,
465 EfiProcessorFamily68030
= 0x65,
466 EfiProcessorFamilyHobbit
= 0x70,
467 EfiProcessorFamilyCrusoeTM5000
= 0x78,
468 EfiProcessorFamilyCrusoeTM3000
= 0x79,
469 EfiProcessorFamilyEfficeonTM8000
= 0x7A,
470 EfiProcessorFamilyWeitek
= 0x80,
471 EfiProcessorFamilyItanium
= 0x82,
472 EfiProcessorFamilyAmdAthlon64
= 0x83,
473 EfiProcessorFamilyAmdOpteron
= 0x84,
474 EfiProcessorFamilyAmdSempron
= 0x85,
475 EfiProcessorFamilyAmdTurion64Mobile
= 0x86,
476 EfiProcessorFamilyDualCoreAmdOpteron
= 0x87,
477 EfiProcessorFamilyAmdAthlon64X2DualCore
= 0x88,
478 EfiProcessorFamilyAmdTurion64X2Mobile
= 0x89,
479 EfiProcessorFamilyPARISC
= 0x90,
480 EfiProcessorFamilyPaRisc8500
= 0x91,
481 EfiProcessorFamilyPaRisc8000
= 0x92,
482 EfiProcessorFamilyPaRisc7300LC
= 0x93,
483 EfiProcessorFamilyPaRisc7200
= 0x94,
484 EfiProcessorFamilyPaRisc7100LC
= 0x95,
485 EfiProcessorFamilyPaRisc7100
= 0x96,
486 EfiProcessorFamilyV30
= 0xA0,
487 EfiProcessorFamilyPentiumIIIXeon
= 0xB0,
488 EfiProcessorFamilyPentiumIIISpeedStep
= 0xB1,
489 EfiProcessorFamilyPentium4
= 0xB2,
490 EfiProcessorFamilyIntelXeon
= 0xB3,
491 EfiProcessorFamilyAS400
= 0xB4,
492 EfiProcessorFamilyIntelXeonMP
= 0xB5,
493 EfiProcessorFamilyAMDAthlonXP
= 0xB6,
494 EfiProcessorFamilyAMDAthlonMP
= 0xB7,
495 EfiProcessorFamilyIntelItanium2
= 0xB8,
497 /// Inconsistent with specification here:
498 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
500 EfiProcessorFamilyIntelPentiumM
= 0xB9,
502 /// Inconsistent with specification here:
503 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
505 EfiProcessorFamilyIntelCeleronD
= 0xBA,
507 /// Inconsistent with specification here:
508 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
510 EfiProcessorFamilyIntelPentiumD
= 0xBB,
512 /// Inconsistent with specification here:
513 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
515 EfiProcessorFamilyIntelPentiumEx
= 0xBC,
517 /// Inconsistent with specification here:
518 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
520 EfiProcessorFamilyIntelCoreSolo
= 0xBD,
522 /// Inconsistent with specification here:
523 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
525 EfiProcessorFamilyReserved
= 0xBE,
527 /// Inconsistent with specification here:
528 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
530 EfiProcessorFamilyIntelCore2
= 0xBF,
531 EfiProcessorFamilyIBM390
= 0xC8,
532 EfiProcessorFamilyG4
= 0xC9,
533 EfiProcessorFamilyG5
= 0xCA,
535 /// Inconsistent with specification here:
536 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
538 EfiProcessorFamilyG6
= 0xCB,
540 /// Inconsistent with specification here:
541 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
543 EfiProcessorFamilyzArchitectur
= 0xCC,
545 /// Inconsistent with specification here:
546 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
548 EfiProcessorFamilyViaC7M
= 0xD2,
550 /// Inconsistent with specification here:
551 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
553 EfiProcessorFamilyViaC7D
= 0xD3,
555 /// Inconsistent with specification here:
556 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
558 EfiProcessorFamilyViaC7
= 0xD4,
560 /// Inconsistent with specification here:
561 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
563 EfiProcessorFamilyViaEden
= 0xD5,
564 EfiProcessorFamilyi860
= 0xFA,
565 EfiProcessorFamilyi960
= 0xFB,
567 /// Inconsistent with specification here:
568 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
570 EfiProcessorFamilyIndicatorFamily2
= 0xFE,
572 /// Inconsistent with specification here:
573 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
575 EfiProcessorFamilyReserved1
= 0xFF
576 } EFI_PROCESSOR_FAMILY_DATA
;
579 EfiProcessorFamilySh3
= 0x104,
580 EfiProcessorFamilySh4
= 0x105,
581 EfiProcessorFamilyArm
= 0x118,
582 EfiProcessorFamilyStrongArm
= 0x119,
583 EfiProcessorFamily6x86
= 0x12C,
584 EfiProcessorFamilyMediaGx
= 0x12D,
585 EfiProcessorFamilyMii
= 0x12E,
586 EfiProcessorFamilyWinChip
= 0x140,
587 EfiProcessorFamilyDsp
= 0x15E,
588 EfiProcessorFamilyVideo
= 0x1F4
589 } EFI_PROCESSOR_FAMILY2_DATA
;
592 /// This data record refers to the core voltage of the processor being defined. The unit of measurement
593 /// of this data record is in volts.
595 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_VOLTAGE_DATA
;
598 /// This data record refers to the base address of the APIC of the processor being defined. This data
599 /// record is a physical address location.
601 typedef EFI_PHYSICAL_ADDRESS EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA
;
604 /// This data record refers to the ID of the APIC of the processor being defined. This data record is a
607 typedef UINT32 EFI_PROCESSOR_APIC_ID_DATA
;
610 /// This data record refers to the version number of the APIC of the processor being defined. This data
611 /// record is a 4-byte entry.
613 typedef UINT32 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA
;
616 EfiProcessorIa32Microcode
= 1,
617 EfiProcessorIpfPalAMicrocode
= 2,
618 EfiProcessorIpfPalBMicrocode
= 3
619 } EFI_PROCESSOR_MICROCODE_TYPE
;
622 /// This data record refers to the revision of the processor microcode that is loaded in the processor.
623 /// This data record is a 4-byte entry.
627 /// Identifies what type of microcode the data is.
629 EFI_PROCESSOR_MICROCODE_TYPE ProcessorMicrocodeType
;
631 /// Indicates the revision number of this microcode.
633 UINT32 ProcessorMicrocodeRevisionNumber
;
634 } EFI_PROCESSOR_MICROCODE_REVISION_DATA
;
637 /// This data record refers to the status of the processor.
640 UINT32 CpuStatus
:3; ///< Indicates the status of the processor.
641 UINT32 Reserved1
:3; ///< Reserved for future use. Should be set to zero.
642 UINT32 SocketPopulated
:1; ///< Indicates if the processor is socketed or not.
643 UINT32 Reserved2
:1; ///< Reserved for future use. Should be set to zero.
644 UINT32 ApicEnable
:1; ///< Indicates if the APIC is enabled or not.
645 UINT32 BootApplicationProcessor
:1; ///< Indicates if this processor is the boot processor.
646 UINT32 Reserved3
:22;///< Reserved for future use. Should be set to zero.
647 } EFI_PROCESSOR_STATUS_DATA
;
650 EfiCpuStatusUnknown
= 0,
651 EfiCpuStatusEnabled
= 1,
652 EfiCpuStatusDisabledByUser
= 2,
653 EfiCpuStatusDisabledbyBios
= 3,
654 EfiCpuStatusIdle
= 4,
655 EfiCpuStatusOther
= 7
659 EfiProcessorSocketOther
= 1,
660 EfiProcessorSocketUnknown
= 2,
661 EfiProcessorSocketDaughterBoard
= 3,
662 EfiProcessorSocketZIF
= 4,
663 EfiProcessorSocketReplacePiggyBack
= 5,
664 EfiProcessorSocketNone
= 6,
665 EfiProcessorSocketLIF
= 7,
666 EfiProcessorSocketSlot1
= 8,
667 EfiProcessorSocketSlot2
= 9,
668 EfiProcessorSocket370Pin
= 0xA,
669 EfiProcessorSocketSlotA
= 0xB,
670 EfiProcessorSocketSlotM
= 0xC,
671 EfiProcessorSocket423
= 0xD,
672 EfiProcessorSocketA462
= 0xE,
673 EfiProcessorSocket478
= 0xF,
674 EfiProcessorSocket754
= 0x10,
675 EfiProcessorSocket940
= 0x11,
677 /// Inconsistent with specification here:
678 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
680 EfiProcessorSocket939
= 0x12,
682 /// Inconsistent with specification here:
683 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
685 EfiProcessorSocketmPGA604
= 0x13,
687 /// Inconsistent with specification here:
688 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
690 EfiProcessorSocketLGA771
= 0x14,
692 /// Inconsistent with specification here:
693 /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
695 EfiProcessorSocketLGA775
= 0x15
697 } EFI_PROCESSOR_SOCKET_TYPE_DATA
;
699 typedef STRING_REF EFI_PROCESSOR_SOCKET_NAME_DATA
;
702 /// Inconsistent with specification here:
703 /// In ProcSubclass specification 0.9, the naming is EFI_PROCESSOR_CACHE_ASSOCIATION_DATA.
704 /// Keep it unchanged for backward compatibilty.
706 typedef EFI_INTER_LINK_DATA EFI_CACHE_ASSOCIATION_DATA
;
709 /// This data record refers to the health status of the processor.
711 /// Inconsistent with specification here:
712 /// In ProcSubclass specification 0.9, the naming is EFI_PROCESSOR_HEALTH_STATUS_DATA.
713 /// Keep it unchanged for backward compatibilty.
716 EfiProcessorHealthy
= 1,
717 EfiProcessorPerfRestricted
= 2,
718 EfiProcessorFuncRestricted
= 3
719 } EFI_PROCESSOR_HEALTH_STATUS
;
722 /// This data record refers to the package number of this processor. Multiple logical processors can
723 /// exist in a system and each logical processor can be correlated to the physical processor using this
726 typedef UINTN EFI_PROCESSOR_PACKAGE_NUMBER_DATA
;
728 typedef UINT8 EFI_PROCESSOR_CORE_COUNT_DATA
;
729 typedef UINT8 EFI_PROCESSOR_ENABLED_CORE_COUNT_DATA
;
730 typedef UINT8 EFI_PROCESSOR_THREAD_COUNT_DATA
;
735 UINT16 Capable64Bit
:1;
736 UINT16 Reserved2
:13;
737 } EFI_PROCESSOR_CHARACTERISTICS_DATA
;
740 /// Inconsistent with specification here:
741 /// In ProcSubclass specification 0.9, the enumeration type data structure is NOT defined.
742 /// The equivalent in specification is
743 /// #define EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER 0x00000001
744 /// #define EFI_PROCESSOR_BUS_FREQUENCY_RECORD_NUMBER 0x00000002
745 /// #define EFI_PROCESSOR_VERSION_RECORD_NUMBER 0x00000003
746 /// #define EFI_PROCESSOR_MANUFACTURER_RECORD_NUMBER 0x00000004
747 /// #define EFI_PROCESSOR_SERIAL_NUMBER_RECORD_NUMBER 0x00000005
748 /// #define EFI_PROCESSOR_ID_RECORD_NUMBER 0x00000006
749 /// #define EFI_PROCESSOR_TYPE_RECORD_NUMBER 0x00000007
750 /// #define EFI_PROCESSOR_FAMILY_RECORD_NUMBER 0x00000008
751 /// #define EFI_PROCESSOR_VOLTAGE_RECORD_NUMBER 0x00000009
752 /// #define EFI_PROCESSOR_APIC_BASE_ADDRESS_RECORD_NUMBER 0x0000000A
753 /// #define EFI_PROCESSOR_APIC_ID_RECORD_NUMBER 0x0000000B
754 /// #define EFI_PROCESSOR_APIC_VER_NUMBER_RECORD_NUMBER 0x0000000C
755 /// #define EFI_PROCESSOR_MICROCODE_REVISION_RECORD_NUMBER 0x0000000D
756 /// #define EFI_PROCESSOR_STATUS_RECORD_NUMBER 0x0000000E
757 /// #define EFI_PROCESSOR_SOCKET_TYPE_RECORD_NUMBER 0x0000000F
758 /// #define EFI_PROCESSOR_SOCKET_NAME_RECORD_NUMBER 0x00000010
759 /// #define EFI_PROCESSOR_CACHE_ASSOCIATION_RECORD_NUMBER 0x00000011
760 /// #define EFI_PROCESSOR_MAX_FREQUENCY_RECORD_NUMBER 0x00000012
761 /// #define EFI_PROCESSOR_ASSET_TAG_RECORD_NUMBER 0x00000013
762 /// #define EFI_PROCESSOR_MAX_FSB_FREQUENCY_RECORD_NUMBER 0x00000014
763 /// #define EFI_PROCESSOR_PACKAGE_NUMBER_RECORD_NUMBER 0x00000015
764 /// #define EFI_PROCESSOR_FREQUENCY_LIST_RECORD_NUMBER 0x00000016
765 /// #define EFI_PROCESSOR_FSB_FREQUENCY_LIST_RECORD_NUMBER 0x00000017
766 /// #define EFI_PROCESSOR_HEALTH_STATUS_RECORD_NUMBER 0x00000018
768 /// Keep the definition unchanged for backward compatibility.
770 ProcessorCoreFrequencyRecordType
= 1,
771 ProcessorFsbFrequencyRecordType
= 2,
772 ProcessorVersionRecordType
= 3,
773 ProcessorManufacturerRecordType
= 4,
774 ProcessorSerialNumberRecordType
= 5,
775 ProcessorIdRecordType
= 6,
776 ProcessorTypeRecordType
= 7,
777 ProcessorFamilyRecordType
= 8,
778 ProcessorVoltageRecordType
= 9,
779 ProcessorApicBaseAddressRecordType
= 10,
780 ProcessorApicIdRecordType
= 11,
781 ProcessorApicVersionNumberRecordType
= 12,
782 CpuUcodeRevisionDataRecordType
= 13,
783 ProcessorStatusRecordType
= 14,
784 ProcessorSocketTypeRecordType
= 15,
785 ProcessorSocketNameRecordType
= 16,
786 CacheAssociationRecordType
= 17,
787 ProcessorMaxCoreFrequencyRecordType
= 18,
788 ProcessorAssetTagRecordType
= 19,
789 ProcessorMaxFsbFrequencyRecordType
= 20,
790 ProcessorPackageNumberRecordType
= 21,
791 ProcessorCoreFrequencyListRecordType
= 22,
792 ProcessorFsbFrequencyListRecordType
= 23,
793 ProcessorHealthStatusRecordType
= 24,
794 ProcessorCoreCountRecordType
= 25,
795 ProcessorEnabledCoreCountRecordType
= 26,
796 ProcessorThreadCountRecordType
= 27,
797 ProcessorCharacteristicsRecordType
= 28,
798 ProcessorFamily2RecordType
= 29,
799 ProcessorPartNumberRecordType
= 30,
800 } EFI_CPU_VARIABLE_RECORD_TYPE
;
803 /// Inconsistent with specification here:
804 /// In ProcSubclass specification 0.9, the union type data structure is NOT defined.
805 /// It's implementation-specific to simplify the code logic.
808 EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA ProcessorCoreFrequencyList
;
809 EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA ProcessorFsbFrequencyList
;
810 EFI_PROCESSOR_SERIAL_NUMBER_DATA ProcessorSerialNumber
;
811 EFI_PROCESSOR_CORE_FREQUENCY_DATA ProcessorCoreFrequency
;
812 EFI_PROCESSOR_FSB_FREQUENCY_DATA ProcessorFsbFrequency
;
813 EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA ProcessorMaxCoreFrequency
;
814 EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA ProcessorMaxFsbFrequency
;
815 EFI_PROCESSOR_VERSION_DATA ProcessorVersion
;
816 EFI_PROCESSOR_MANUFACTURER_DATA ProcessorManufacturer
;
817 EFI_PROCESSOR_ID_DATA ProcessorId
;
818 EFI_PROCESSOR_TYPE_DATA ProcessorType
;
819 EFI_PROCESSOR_FAMILY_DATA ProcessorFamily
;
820 EFI_PROCESSOR_VOLTAGE_DATA ProcessorVoltage
;
821 EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA ProcessorApicBase
;
822 EFI_PROCESSOR_APIC_ID_DATA ProcessorApicId
;
823 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA ProcessorApicVersionNumber
;
824 EFI_PROCESSOR_MICROCODE_REVISION_DATA CpuUcodeRevisionData
;
825 EFI_PROCESSOR_STATUS_DATA ProcessorStatus
;
826 EFI_PROCESSOR_SOCKET_TYPE_DATA ProcessorSocketType
;
827 EFI_PROCESSOR_SOCKET_NAME_DATA ProcessorSocketName
;
828 EFI_PROCESSOR_ASSET_TAG_DATA ProcessorAssetTag
;
829 EFI_PROCESSOR_PART_NUMBER_DATA ProcessorPartNumber
;
830 EFI_PROCESSOR_HEALTH_STATUS ProcessorHealthStatus
;
831 EFI_PROCESSOR_PACKAGE_NUMBER_DATA ProcessorPackageNumber
;
832 EFI_PROCESSOR_CORE_COUNT_DATA ProcessorCoreCount
;
833 EFI_PROCESSOR_ENABLED_CORE_COUNT_DATA ProcessorEnabledCoreCount
;
834 EFI_PROCESSOR_THREAD_COUNT_DATA ProcessorThreadCount
;
835 EFI_PROCESSOR_CHARACTERISTICS_DATA ProcessorCharacteristics
;
836 EFI_PROCESSOR_FAMILY2_DATA ProcessorFamily2
;
837 } EFI_CPU_VARIABLE_RECORD
;
840 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader
;
841 EFI_CPU_VARIABLE_RECORD VariableRecord
;
842 } EFI_CPU_DATA_RECORD
;
844 #define EFI_CACHE_SUBCLASS_VERSION 0x00010000
846 typedef EFI_EXP_BASE2_DATA EFI_CACHE_SIZE_DATA
;
848 /// Inconsistent with specification here:
849 /// In CacheSubclass specification 0.9, the naming is EFI_CACHE_MAXIMUM_SIZE_DATA.
850 /// Keep it unchanged for backward compatibilty.
852 typedef EFI_EXP_BASE2_DATA EFI_MAXIMUM_CACHE_SIZE_DATA
;
853 typedef EFI_EXP_BASE10_DATA EFI_CACHE_SPEED_DATA
;
854 typedef STRING_REF EFI_CACHE_SOCKET_DATA
;
861 UINT32 PipelineBurst
:1;
862 UINT32 Asynchronous
:1;
863 UINT32 Synchronous
:1;
865 } EFI_CACHE_SRAM_TYPE_DATA
;
867 typedef EFI_CACHE_SRAM_TYPE_DATA EFI_CACHE_SRAM_INSTALL_DATA
;
870 EfiCacheErrorOther
= 1,
871 EfiCacheErrorUnknown
= 2,
872 EfiCacheErrorNone
= 3,
873 EfiCacheErrorParity
= 4,
874 EfiCacheErrorSingleBit
= 5,
875 EfiCacheErrorMultiBit
= 6
876 } EFI_CACHE_ERROR_TYPE_DATA
;
879 EfiCacheTypeOther
= 1,
880 EfiCacheTypeUnknown
= 2,
881 EfiCacheTypeInstruction
= 3,
882 EfiCacheTypeData
= 4,
883 EfiCacheTypeUnified
= 5
884 } EFI_CACHE_TYPE_DATA
;
887 EfiCacheAssociativityOther
= 1,
888 EfiCacheAssociativityUnknown
= 2,
889 EfiCacheAssociativityDirectMapped
= 3,
890 EfiCacheAssociativity2Way
= 4,
891 EfiCacheAssociativity4Way
= 5,
892 EfiCacheAssociativityFully
= 6,
893 EfiCacheAssociativity8Way
= 7,
894 EfiCacheAssociativity16Way
= 8
895 } EFI_CACHE_ASSOCIATIVITY_DATA
;
898 /// Inconsistent with specification here:
899 /// In CacheSubclass 0.9 specification. It defines the field type as UINT16.
900 /// In fact, it should be UINT32 type because it refers to a 32bit width data.
908 UINT32 OperationalMode
:2;
909 UINT32 Reserved1
:22;
910 } EFI_CACHE_CONFIGURATION_DATA
;
912 #define EFI_CACHE_L1 1
913 #define EFI_CACHE_L2 2
914 #define EFI_CACHE_L3 3
915 #define EFI_CACHE_L4 4
916 #define EFI_CACHE_LMAX EFI_CACHE_L4
918 #define EFI_CACHE_SOCKETED 1
919 #define EFI_CACHE_NOT_SOCKETED 0
922 EfiCacheInternal
= 0,
923 EfiCacheExternal
= 1,
924 EfiCacheReserved
= 2,
926 } EFI_CACHE_LOCATION
;
928 #define EFI_CACHE_ENABLED 1
929 #define EFI_CACHE_DISABLED 0
932 EfiCacheWriteThrough
= 0,
933 EfiCacheWriteBack
= 1,
934 EfiCacheDynamicMode
= 2,
935 EfiCacheUnknownMode
= 3
936 } EFI_CACHE_OPERATIONAL_MODE
;
940 /// Inconsistent with specification here:
941 /// In CacheSubclass specification 0.9, the enumeration type data structure is NOT defined.
942 /// The equivalent in specification is
943 /// #define EFI_CACHE_SIZE_RECORD_NUMBER 0x00000001
944 /// #define EFI_CACHE_MAXIMUM_SIZE_RECORD_NUMBER 0x00000002
945 /// #define EFI_CACHE_SPEED_RECORD_NUMBER 0x00000003
946 /// #define EFI_CACHE_SOCKET_RECORD_NUMBER 0x00000004
947 /// #define EFI_CACHE_SRAM_SUPPORT_RECORD_NUMBER 0x00000005
948 /// #define EFI_CACHE_SRAM_INSTALL_RECORD_NUMBER 0x00000006
949 /// #define EFI_CACHE_ERROR_SUPPORT_RECORD_NUMBER 0x00000007
950 /// #define EFI_CACHE_TYPE_RECORD_NUMBER 0x00000008
951 /// #define EFI_CACHE_ASSOCIATIVITY_RECORD_NUMBER 0x00000009
952 /// #define EFI_CACHE_CONFIGURATION_RECORD_NUMBER 0x0000000A
953 /// Keep the definition unchanged for backward compatibility.
956 CacheSizeRecordType
= 1,
957 MaximumSizeCacheRecordType
= 2,
958 CacheSpeedRecordType
= 3,
959 CacheSocketRecordType
= 4,
960 CacheSramTypeRecordType
= 5,
961 CacheInstalledSramTypeRecordType
= 6,
962 CacheErrorTypeRecordType
= 7,
963 CacheTypeRecordType
= 8,
964 CacheAssociativityRecordType
= 9,
965 CacheConfigRecordType
= 10
966 } EFI_CACHE_VARIABLE_RECORD_TYPE
;
969 /// Inconsistent with specification here:
970 /// In CacheSubclass specification 0.9, the union type data structure is NOT defined.
971 /// It's implementation-specific to simplify the code logic.
974 EFI_CACHE_SIZE_DATA CacheSize
;
975 EFI_MAXIMUM_CACHE_SIZE_DATA MaximumCacheSize
;
976 EFI_CACHE_SPEED_DATA CacheSpeed
;
977 EFI_CACHE_SOCKET_DATA CacheSocket
;
978 EFI_CACHE_SRAM_TYPE_DATA CacheSramType
;
979 EFI_CACHE_SRAM_TYPE_DATA CacheInstalledSramType
;
980 EFI_CACHE_ERROR_TYPE_DATA CacheErrorType
;
981 EFI_CACHE_TYPE_DATA CacheType
;
982 EFI_CACHE_ASSOCIATIVITY_DATA CacheAssociativity
;
983 EFI_CACHE_CONFIGURATION_DATA CacheConfig
;
984 EFI_CACHE_ASSOCIATION_DATA CacheAssociation
;
985 } EFI_CACHE_VARIABLE_RECORD
;
988 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader
;
989 EFI_CACHE_VARIABLE_RECORD VariableRecord
;
990 } EFI_CACHE_DATA_RECORD
;
992 #define EFI_MEMORY_SUBCLASS_VERSION 0x0100
993 #define EFI_MEMORY_SIZE_RECORD_NUMBER 0x00000001
995 typedef enum _EFI_MEMORY_REGION_TYPE
{
996 EfiMemoryRegionMemory
= 0x01,
997 EfiMemoryRegionReserved
= 0x02,
998 EfiMemoryRegionAcpi
= 0x03,
999 EfiMemoryRegionNvs
= 0x04
1000 } EFI_MEMORY_REGION_TYPE
;
1003 /// This data record refers to the size of a memory region. The regions that are
1004 /// described can refer to physical memory, memory-mapped I/O, or reserved BIOS memory regions.
1005 /// The unit of measurement of this data record is in bytes.
1009 /// A zero-based value that indicates which processor(s) can access the memory region.
1010 /// A value of 0xFFFF indicates the region is accessible by all processors.
1012 UINT32 ProcessorNumber
;
1014 /// A zero-based value that indicates the starting bus that can access the memory region.
1016 UINT16 StartBusNumber
;
1018 /// A zero-based value that indicates the ending bus that can access the memory region.
1019 /// A value of 0xFF for a PCI system indicates the region is accessible by all buses and
1020 /// is global in scope. An example of the EndBusNumber not being 0xFF is a system
1021 /// with two or more peer-to-host PCI bridges.
1023 UINT16 EndBusNumber
;
1025 /// The type of memory region from the operating system's point of view.
1026 /// MemoryRegionType values are equivalent to the legacy INT 15 AX = E820 BIOS
1029 EFI_MEMORY_REGION_TYPE MemoryRegionType
;
1031 /// The size of the memory region in bytes.
1033 EFI_EXP_BASE2_DATA MemorySize
;
1035 /// The starting physical address of the memory region.
1037 EFI_PHYSICAL_ADDRESS MemoryStartAddress
;
1038 } EFI_MEMORY_SIZE_DATA
;
1041 #define EFI_MEMORY_ARRAY_LOCATION_RECORD_NUMBER 0x00000002
1043 typedef enum _EFI_MEMORY_ARRAY_LOCATION
{
1044 EfiMemoryArrayLocationOther
= 0x01,
1045 EfiMemoryArrayLocationUnknown
= 0x02,
1046 EfiMemoryArrayLocationSystemBoard
= 0x03,
1047 EfiMemoryArrayLocationIsaAddonCard
= 0x04,
1048 EfiMemoryArrayLocationEisaAddonCard
= 0x05,
1049 EfiMemoryArrayLocationPciAddonCard
= 0x06,
1050 EfiMemoryArrayLocationMcaAddonCard
= 0x07,
1051 EfiMemoryArrayLocationPcmciaAddonCard
= 0x08,
1052 EfiMemoryArrayLocationProprietaryAddonCard
= 0x09,
1053 EfiMemoryArrayLocationNuBus
= 0x0A,
1054 EfiMemoryArrayLocationPc98C20AddonCard
= 0xA0,
1055 EfiMemoryArrayLocationPc98C24AddonCard
= 0xA1,
1056 EfiMemoryArrayLocationPc98EAddonCard
= 0xA2,
1057 EfiMemoryArrayLocationPc98LocalBusAddonCard
= 0xA3
1058 } EFI_MEMORY_ARRAY_LOCATION
;
1060 typedef enum _EFI_MEMORY_ARRAY_USE
{
1061 EfiMemoryArrayUseOther
= 0x01,
1062 EfiMemoryArrayUseUnknown
= 0x02,
1063 EfiMemoryArrayUseSystemMemory
= 0x03,
1064 EfiMemoryArrayUseVideoMemory
= 0x04,
1065 EfiMemoryArrayUseFlashMemory
= 0x05,
1066 EfiMemoryArrayUseNonVolatileRam
= 0x06,
1067 EfiMemoryArrayUseCacheMemory
= 0x07
1068 } EFI_MEMORY_ARRAY_USE
;
1070 typedef enum _EFI_MEMORY_ERROR_CORRECTION
{
1071 EfiMemoryErrorCorrectionOther
= 0x01,
1072 EfiMemoryErrorCorrectionUnknown
= 0x02,
1073 EfiMemoryErrorCorrectionNone
= 0x03,
1074 EfiMemoryErrorCorrectionParity
= 0x04,
1075 EfiMemoryErrorCorrectionSingleBitEcc
= 0x05,
1076 EfiMemoryErrorCorrectionMultiBitEcc
= 0x06,
1077 EfiMemoryErrorCorrectionCrc
= 0x07
1078 } EFI_MEMORY_ERROR_CORRECTION
;
1081 /// This data record refers to the physical memory array. This data record is a structure.
1082 /// The type definition structure for EFI_MEMORY_ARRAY_LOCATION_DATA is in SMBIOS 2.3.4:
1083 /// - Table 3.3.17.1, Type 16, Offset 0x4
1084 /// - Table 3.3.17.2, Type 16, Offset 0x5
1085 /// - Table 3.3.17.3, Type 16, with the following offsets:
1093 /// The physical location of the memory array.
1095 EFI_MEMORY_ARRAY_LOCATION MemoryArrayLocation
;
1097 /// The memory array usage.
1099 EFI_MEMORY_ARRAY_USE MemoryArrayUse
;
1101 /// The primary error correction or detection supported by this memory array.
1103 EFI_MEMORY_ERROR_CORRECTION MemoryErrorCorrection
;
1105 /// The maximum memory capacity size in kilobytes. If capacity is unknown, then
1106 /// values of MaximumMemoryCapacity.Value = 0x00 and
1107 /// MaximumMemoryCapacity.Exponent = 0x8000 are used.
1109 EFI_EXP_BASE2_DATA MaximumMemoryCapacity
;
1111 /// The number of memory slots or sockets that are available for memory devices
1114 UINT16 NumberMemoryDevices
;
1115 } EFI_MEMORY_ARRAY_LOCATION_DATA
;
1118 #define EFI_MEMORY_ARRAY_LINK_RECORD_NUMBER 0x00000003
1120 typedef enum _EFI_MEMORY_FORM_FACTOR
{
1121 EfiMemoryFormFactorOther
= 0x01,
1122 EfiMemoryFormFactorUnknown
= 0x02,
1123 EfiMemoryFormFactorSimm
= 0x03,
1124 EfiMemoryFormFactorSip
= 0x04,
1125 EfiMemoryFormFactorChip
= 0x05,
1126 EfiMemoryFormFactorDip
= 0x06,
1127 EfiMemoryFormFactorZip
= 0x07,
1128 EfiMemoryFormFactorProprietaryCard
= 0x08,
1129 EfiMemoryFormFactorDimm
= 0x09,
1130 EfiMemoryFormFactorTsop
= 0x0A,
1131 EfiMemoryFormFactorRowOfChips
= 0x0B,
1132 EfiMemoryFormFactorRimm
= 0x0C,
1133 EfiMemoryFormFactorSodimm
= 0x0D,
1134 EfiMemoryFormFactorSrimm
= 0x0E,
1136 /// Inconsistent with specification here:
1137 /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
1139 EfiMemoryFormFactorFbDimm
= 0x0F
1140 } EFI_MEMORY_FORM_FACTOR
;
1142 typedef enum _EFI_MEMORY_ARRAY_TYPE
{
1143 EfiMemoryTypeOther
= 0x01,
1144 EfiMemoryTypeUnknown
= 0x02,
1145 EfiMemoryTypeDram
= 0x03,
1146 EfiMemoryTypeEdram
= 0x04,
1147 EfiMemoryTypeVram
= 0x05,
1148 EfiMemoryTypeSram
= 0x06,
1149 EfiMemoryTypeRam
= 0x07,
1150 EfiMemoryTypeRom
= 0x08,
1151 EfiMemoryTypeFlash
= 0x09,
1152 EfiMemoryTypeEeprom
= 0x0A,
1153 EfiMemoryTypeFeprom
= 0x0B,
1154 EfiMemoryTypeEprom
= 0x0C,
1155 EfiMemoryTypeCdram
= 0x0D,
1156 EfiMemoryType3Dram
= 0x0E,
1157 EfiMemoryTypeSdram
= 0x0F,
1158 EfiMemoryTypeSgram
= 0x10,
1159 EfiMemoryTypeRdram
= 0x11,
1160 EfiMemoryTypeDdr
= 0x12,
1162 /// Inconsistent with specification here:
1163 /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
1165 EfiMemoryTypeDdr2
= 0x13,
1167 /// Inconsistent with specification here:
1168 /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
1170 EfiMemoryTypeDdr2FbDimm
= 0x14
1171 } EFI_MEMORY_ARRAY_TYPE
;
1177 UINT32 FastPaged
:1;
1178 UINT32 StaticColumn
:1;
1179 UINT32 PseudoStatic
:1;
1181 UINT32 Synchronous
:1;
1184 UINT32 WindowDram
:1;
1185 UINT32 CacheDram
:1;
1186 UINT32 Nonvolatile
:1;
1187 UINT32 Reserved1
:19;
1188 } EFI_MEMORY_TYPE_DETAIL
;
1191 EfiMemoryStateEnabled
= 0,
1192 EfiMemoryStateUnknown
= 1,
1193 EfiMemoryStateUnsupported
= 2,
1194 EfiMemoryStateError
= 3,
1195 EfiMemoryStateAbsent
= 4,
1196 EfiMemoryStateDisabled
= 5,
1198 /// Inconsistent with specification here:
1199 /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.
1201 EfiMemoryStatePartial
= 6
1205 /// This data record describes a memory device. This data record is a structure.
1206 /// The type definition structure for EFI_MEMORY_ARRAY_LINK_DATA is in SMBIOS 2.3.4.
1210 /// A string that identifies the physically labeled socket or board position where the
1211 /// memory device is located.
1213 STRING_REF MemoryDeviceLocator
;
1215 /// A string denoting the physically labeled bank where the memory device is located.
1217 STRING_REF MemoryBankLocator
;
1219 /// A string denoting the memory manufacturer.
1221 STRING_REF MemoryManufacturer
;
1223 /// A string denoting the serial number of the memory device.
1225 STRING_REF MemorySerialNumber
;
1227 /// The asset tag of the memory device.
1229 STRING_REF MemoryAssetTag
;
1231 /// A string denoting the part number of the memory device.
1233 STRING_REF MemoryPartNumber
;
1235 /// A link to a memory array structure set.
1237 EFI_INTER_LINK_DATA MemoryArrayLink
;
1239 /// A link to a memory array structure set.
1241 EFI_INTER_LINK_DATA MemorySubArrayLink
;
1243 /// The total width in bits of this memory device. If there are no error correcting bits,
1244 /// then the total width equals the data width. If the width is unknown, then set the field
1247 UINT16 MemoryTotalWidth
;
1249 /// The data width in bits of the memory device. A data width of 0x00 and a total width
1250 /// of 0x08 indicate that the device is used solely for error correction.
1252 UINT16 MemoryDataWidth
;
1254 /// The size in bytes of the memory device. A value of 0x00 denotes that no device is
1255 /// installed, while a value of all Fs denotes that the size is not known.
1257 EFI_EXP_BASE2_DATA MemoryDeviceSize
;
1259 /// The form factor of the memory device.
1261 EFI_MEMORY_FORM_FACTOR MemoryFormFactor
;
1263 /// A memory device set that must be populated with all devices of the same type and
1264 /// size. A value of 0x00 indicates that the device is not part of any set. A value of 0xFF
1265 /// indicates that the attribute is unknown. Any other value denotes the set number.
1267 UINT8 MemoryDeviceSet
;
1269 /// The memory type in the socket.
1271 EFI_MEMORY_ARRAY_TYPE MemoryType
;
1273 /// The memory type details.
1275 EFI_MEMORY_TYPE_DETAIL MemoryTypeDetail
;
1277 /// The memory speed in megahertz (MHz). A value of 0x00 denotes that
1278 /// the speed is unknown.
1279 /// Inconsistent with specification here:
1280 /// In MemSubclass specification 0.9, the naming is MemoryTypeSpeed.
1281 /// Keep it unchanged for backward compatibilty.
1283 EFI_EXP_BASE10_DATA MemorySpeed
;
1285 /// The memory state.
1287 EFI_MEMORY_STATE MemoryState
;
1288 } EFI_MEMORY_ARRAY_LINK_DATA
;
1291 #define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER 0x00000004
1294 /// This data record refers to a specified physical memory array associated with
1295 /// a given memory range.
1299 /// The starting physical address in bytes of memory mapped to a specified physical
1302 EFI_PHYSICAL_ADDRESS MemoryArrayStartAddress
;
1304 /// The last physical address in bytes of memory mapped to a specified physical memory
1307 EFI_PHYSICAL_ADDRESS MemoryArrayEndAddress
;
1309 /// See Physical Memory Array (Type 16) for physical memory array structures.
1311 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink
;
1313 /// The number of memory devices that form a single row of memory for the address
1316 UINT16 MemoryArrayPartitionWidth
;
1317 } EFI_MEMORY_ARRAY_START_ADDRESS_DATA
;
1320 #define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER 0x00000005
1323 /// This data record refers to a physical memory device that is associated with
1324 /// a given memory range.
1328 /// The starting physical address that is associated with the device.
1330 EFI_PHYSICAL_ADDRESS MemoryDeviceStartAddress
;
1332 /// The ending physical address that is associated with the device.
1334 EFI_PHYSICAL_ADDRESS MemoryDeviceEndAddress
;
1336 /// A link to the memory device data structure.
1338 EFI_INTER_LINK_DATA PhysicalMemoryDeviceLink
;
1340 /// A link to the memory array data structure.
1342 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink
;
1344 /// The position of the memory device in a row. A value of 0x00 is reserved and a value
1345 /// of 0xFF indicates that the position is unknown.
1347 UINT8 MemoryDevicePartitionRowPosition
;
1349 /// The position of the device in an interleave.
1351 UINT8 MemoryDeviceInterleavePosition
;
1353 /// The maximum number of consecutive rows from the device that are accessed in a
1354 /// single interleave transfer. A value of 0x00 indicates that the device is not interleaved
1355 /// and a value of 0xFF indicates that the interleave configuration is unknown.
1357 UINT8 MemoryDeviceInterleaveDataDepth
;
1358 } EFI_MEMORY_DEVICE_START_ADDRESS_DATA
;
1362 // Memory. Channel Device Type - SMBIOS Type 37
1365 #define EFI_MEMORY_CHANNEL_TYPE_RECORD_NUMBER 0x00000006
1367 typedef enum _EFI_MEMORY_CHANNEL_TYPE
{
1368 EfiMemoryChannelTypeOther
= 1,
1369 EfiMemoryChannelTypeUnknown
= 2,
1370 EfiMemoryChannelTypeRambus
= 3,
1371 EfiMemoryChannelTypeSyncLink
= 4
1372 } EFI_MEMORY_CHANNEL_TYPE
;
1375 /// This data record refers the type of memory that is associated with the channel. This data record is a
1377 /// The type definition structure for EFI_MEMORY_CHANNEL_TYPE_DATA is in SMBIOS 2.3.4,
1378 /// Table 3.3.38, Type 37, with the following offsets:
1385 /// The type of memory that is associated with the channel.
1387 EFI_MEMORY_CHANNEL_TYPE MemoryChannelType
;
1389 /// The maximum load that is supported by the channel.
1391 UINT8 MemoryChannelMaximumLoad
;
1393 /// The number of memory devices on this channel.
1395 UINT8 MemoryChannelDeviceCount
;
1396 } EFI_MEMORY_CHANNEL_TYPE_DATA
;
1398 #define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER 0x00000007
1401 /// This data record refers to the memory device that is associated with the memory channel. This data
1402 /// record is a structure.
1403 /// The type definition structure for EFI_MEMORY_CHANNEL_DEVICE_DATA is in SMBIOS 2.3.4,
1404 /// Table 3.3.38, Type 37, with the following offsets:
1410 /// A number between one and MemoryChannelDeviceCount plus an arbitrary base.
1414 /// The Link of the associated memory device. See Memory Device (Type 17) for
1417 EFI_INTER_LINK_DATA DeviceLink
;
1419 /// The number of load units that this device consumes.
1421 UINT8 MemoryChannelDeviceLoad
;
1422 } EFI_MEMORY_CHANNEL_DEVICE_DATA
;
1425 // Memory. Controller Information - SMBIOS Type 5
1428 /// Inconsistent with specification here:
1429 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1430 /// It's introduced for SmBios 2.6 type 5.
1432 #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER 0x00000008
1435 /// Inconsistent with specification here:
1436 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1437 /// It's introduced for SmBios 2.6 type 5.
1440 EfiErrorDetectingMethodOther
= 1,
1441 EfiErrorDetectingMethodUnknown
= 2,
1442 EfiErrorDetectingMethodNone
= 3,
1443 EfiErrorDetectingMethodParity
= 4,
1444 EfiErrorDetectingMethod32Ecc
= 5,
1445 EfiErrorDetectingMethod64Ecc
= 6,
1446 EfiErrorDetectingMethod128Ecc
= 7,
1447 EfiErrorDetectingMethodCrc
= 8
1448 } EFI_MEMORY_ERROR_DETECT_METHOD_TYPE
;
1451 /// Inconsistent with specification here:
1452 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1453 /// It's introduced for SmBios 2.6 type 5.
1459 UINT8 SingleBitErrorCorrect
:1;
1460 UINT8 DoubleBitErrorCorrect
:1;
1461 UINT8 ErrorScrubbing
:1;
1463 } EFI_MEMORY_ERROR_CORRECT_CAPABILITY
;
1466 /// Inconsistent with specification here:
1467 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1468 /// It's introduced for SmBios 2.6 type 5.
1471 EfiMemoryInterleaveOther
= 1,
1472 EfiMemoryInterleaveUnknown
= 2,
1473 EfiMemoryInterleaveOneWay
= 3,
1474 EfiMemoryInterleaveTwoWay
= 4,
1475 EfiMemoryInterleaveFourWay
= 5,
1476 EfiMemoryInterleaveEightWay
= 6,
1477 EfiMemoryInterleaveSixteenWay
= 7
1478 } EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE
;
1481 /// Inconsistent with specification here:
1482 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1483 /// It's introduced for SmBios 2.6 type 5.
1491 UINT16 Reserved
:11;
1492 } EFI_MEMORY_SPEED_TYPE
;
1495 /// Inconsistent with specification here:
1496 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1497 /// It's introduced for SmBios 2.6 type 5.
1503 UINT16 FastPageMode
:1;
1512 } EFI_MEMORY_SUPPORTED_TYPE
;
1515 /// Inconsistent with specification here:
1516 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1517 /// It's introduced for SmBios 2.6 type 5.
1524 } EFI_MEMORY_MODULE_VOLTAGE_TYPE
;
1527 /// EFI_MEMORY_CONTROLLER_INFORMATION is obsolete
1528 /// Use EFI_MEMORY_CONTROLLER_INFORMATION_DATA instead
1530 /// Inconsistent with specification here:
1531 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1532 /// It's introduced for SmBios 2.6 type 5.
1535 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod
;
1536 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability
;
1537 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave
;
1538 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave
;
1539 UINT8 MaxMemoryModuleSize
;
1540 EFI_MEMORY_SPEED_TYPE MemorySpeedType
;
1541 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType
;
1542 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage
;
1543 UINT8 NumberofMemorySlot
;
1544 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability
;
1545 UINT16
*MemoryModuleConfigHandles
;
1546 } EFI_MEMORY_CONTROLLER_INFORMATION
;
1549 /// Inconsistent with specification here:
1550 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1551 /// It's introduced for SmBios 2.6 type 5.
1554 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod
;
1555 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability
;
1556 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave
;
1557 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave
;
1558 UINT8 MaxMemoryModuleSize
;
1559 EFI_MEMORY_SPEED_TYPE MemorySpeedType
;
1560 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType
;
1561 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage
;
1562 UINT8 NumberofMemorySlot
;
1563 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability
;
1564 EFI_INTER_LINK_DATA MemoryModuleConfig
[1];
1565 } EFI_MEMORY_CONTROLLER_INFORMATION_DATA
;
1568 /// Memory. Error Information - SMBIOS Type 18
1570 /// Inconsistent with specification here:
1571 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1572 /// It's introduced for SmBios 2.6 type 18.
1574 #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER 0x00000009
1576 /// Inconsistent with specification here:
1577 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1578 /// It's introduced for SmBios 2.6 type 18.
1581 EfiMemoryErrorOther
= 1,
1582 EfiMemoryErrorUnknown
= 2,
1583 EfiMemoryErrorOk
= 3,
1584 EfiMemoryErrorBadRead
= 4,
1585 EfiMemoryErrorParity
= 5,
1586 EfiMemoryErrorSigleBit
= 6,
1587 EfiMemoryErrorDoubleBit
= 7,
1588 EfiMemoryErrorMultiBit
= 8,
1589 EfiMemoryErrorNibble
= 9,
1590 EfiMemoryErrorChecksum
= 10,
1591 EfiMemoryErrorCrc
= 11,
1592 EfiMemoryErrorCorrectSingleBit
= 12,
1593 EfiMemoryErrorCorrected
= 13,
1594 EfiMemoryErrorUnCorrectable
= 14
1595 } EFI_MEMORY_ERROR_TYPE
;
1597 /// Inconsistent with specification here:
1598 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1599 /// It's introduced for SmBios 2.6 type 18.
1602 EfiMemoryGranularityOther
= 1,
1603 EfiMemoryGranularityOtherUnknown
= 2,
1604 EfiMemoryGranularityDeviceLevel
= 3,
1605 EfiMemoryGranularityMemPartitionLevel
= 4
1606 } EFI_MEMORY_ERROR_GRANULARITY_TYPE
;
1608 /// Inconsistent with specification here:
1609 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1610 /// It's introduced for SmBios 2.6 type 18.
1613 EfiMemoryErrorOperationOther
= 1,
1614 EfiMemoryErrorOperationUnknown
= 2,
1615 EfiMemoryErrorOperationRead
= 3,
1616 EfiMemoryErrorOperationWrite
= 4,
1617 EfiMemoryErrorOperationPartialWrite
= 5
1618 } EFI_MEMORY_ERROR_OPERATION_TYPE
;
1620 /// Inconsistent with specification here:
1621 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1622 /// It's introduced for SmBios 2.6 type 18.
1625 EFI_MEMORY_ERROR_TYPE MemoryErrorType
;
1626 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity
;
1627 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation
;
1628 UINT32 VendorSyndrome
;
1629 UINT32 MemoryArrayErrorAddress
;
1630 UINT32 DeviceErrorAddress
;
1631 UINT32 DeviceErrorResolution
;
1632 } EFI_MEMORY_32BIT_ERROR_INFORMATION
;
1635 /// Memory. Error Information - SMBIOS Type 33.
1637 /// Inconsistent with specification here:
1638 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1639 /// It's introduced for SmBios 2.6 type 33.
1641 #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER 0x0000000A
1644 /// Inconsistent with specification here:
1645 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1646 /// It's introduced for SmBios 2.6 type 33.
1649 EFI_MEMORY_ERROR_TYPE MemoryErrorType
;
1650 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity
;
1651 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation
;
1652 UINT32 VendorSyndrome
;
1653 UINT64 MemoryArrayErrorAddress
;
1654 UINT64 DeviceErrorAddress
;
1655 UINT32 DeviceErrorResolution
;
1656 } EFI_MEMORY_64BIT_ERROR_INFORMATION
;
1659 /// Inconsistent with specification here:
1660 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
1661 /// It is implementation-specific to simplify the code logic.
1663 typedef union _EFI_MEMORY_SUBCLASS_RECORDS
{
1664 EFI_MEMORY_SIZE_DATA SizeData
;
1665 EFI_MEMORY_ARRAY_LOCATION_DATA ArrayLocationData
;
1666 EFI_MEMORY_ARRAY_LINK_DATA ArrayLink
;
1667 EFI_MEMORY_ARRAY_START_ADDRESS_DATA ArrayStartAddress
;
1668 EFI_MEMORY_DEVICE_START_ADDRESS_DATA DeviceStartAddress
;
1669 EFI_MEMORY_CHANNEL_TYPE_DATA ChannelTypeData
;
1670 EFI_MEMORY_CHANNEL_DEVICE_DATA ChannelDeviceData
;
1671 EFI_MEMORY_CONTROLLER_INFORMATION MemoryControllerInfo
;
1672 EFI_MEMORY_32BIT_ERROR_INFORMATION Memory32bitErrorInfo
;
1673 EFI_MEMORY_64BIT_ERROR_INFORMATION Memory64bitErrorInfo
;
1674 } EFI_MEMORY_SUBCLASS_RECORDS
;
1677 EFI_SUBCLASS_TYPE1_HEADER Header
;
1678 EFI_MEMORY_SUBCLASS_RECORDS Record
;
1679 } EFI_MEMORY_SUBCLASS_DRIVER_DATA
;
1681 #define EFI_MISC_SUBCLASS_VERSION 0x0100
1686 // Last PCI Bus Number
1688 #define EFI_MISC_LAST_PCI_BUS_RECORD_NUMBER 0x00000001
1692 } EFI_MISC_LAST_PCI_BUS_DATA
;
1695 // Misc. BIOS Vendor - SMBIOS Type 0
1697 #define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER 0x00000002
1700 UINT64 Reserved1
:2;
1702 UINT64 BiosCharacteristicsNotSupported
:1;
1703 UINT64 IsaIsSupported
:1;
1704 UINT64 McaIsSupported
:1;
1705 UINT64 EisaIsSupported
:1;
1706 UINT64 PciIsSupported
:1;
1707 UINT64 PcmciaIsSupported
:1;
1708 UINT64 PlugAndPlayIsSupported
:1;
1709 UINT64 ApmIsSupported
:1;
1710 UINT64 BiosIsUpgradable
:1;
1711 UINT64 BiosShadowingAllowed
:1;
1712 UINT64 VlVesaIsSupported
:1;
1713 UINT64 EscdSupportIsAvailable
:1;
1714 UINT64 BootFromCdIsSupported
:1;
1715 UINT64 SelectableBootIsSupported
:1;
1716 UINT64 RomBiosIsSocketed
:1;
1717 UINT64 BootFromPcmciaIsSupported
:1;
1718 UINT64 EDDSpecificationIsSupported
:1;
1719 UINT64 JapaneseNecFloppyIsSupported
:1;
1720 UINT64 JapaneseToshibaFloppyIsSupported
:1;
1721 UINT64 Floppy525_360IsSupported
:1;
1722 UINT64 Floppy525_12IsSupported
:1;
1723 UINT64 Floppy35_720IsSupported
:1;
1724 UINT64 Floppy35_288IsSupported
:1;
1725 UINT64 PrintScreenIsSupported
:1;
1726 UINT64 Keyboard8042IsSupported
:1;
1727 UINT64 SerialIsSupported
:1;
1728 UINT64 PrinterIsSupported
:1;
1729 UINT64 CgaMonoIsSupported
:1;
1731 UINT64 AcpiIsSupported
:1;
1732 UINT64 UsbLegacyIsSupported
:1;
1733 UINT64 AgpIsSupported
:1;
1734 UINT64 I20BootIsSupported
:1;
1735 UINT64 Ls120BootIsSupported
:1;
1736 UINT64 AtapiZipDriveBootIsSupported
:1;
1737 UINT64 Boot1394IsSupported
:1;
1738 UINT64 SmartBatteryIsSupported
:1;
1739 UINT64 BiosBootSpecIsSupported
:1;
1740 UINT64 FunctionKeyNetworkBootIsSupported
:1;
1741 UINT64 Reserved
:22;
1742 } EFI_MISC_BIOS_CHARACTERISTICS
;
1745 UINT64 BiosReserved
:16;
1746 UINT64 SystemReserved
:16;
1747 UINT64 Reserved
:32;
1748 } EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
;
1751 STRING_REF BiosVendor
;
1752 STRING_REF BiosVersion
;
1753 STRING_REF BiosReleaseDate
;
1754 EFI_PHYSICAL_ADDRESS BiosStartingAddress
;
1755 EFI_EXP_BASE2_DATA BiosPhysicalDeviceSize
;
1756 EFI_MISC_BIOS_CHARACTERISTICS BiosCharacteristics1
;
1757 EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION
1758 BiosCharacteristics2
;
1760 /// Inconsistent with specification here:
1761 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1762 /// It's introduced for SmBios 2.6 specification type 0.
1764 UINT8 BiosMajorRelease
;
1766 /// Inconsistent with specification here:
1767 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1768 /// It's introduced for SmBios 2.6 specification type 0.
1770 UINT8 BiosMinorRelease
;
1772 /// Inconsistent with specification here:
1773 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1774 /// It's introduced for SmBios 2.6 specification type 0.
1776 UINT8 BiosEmbeddedFirmwareMajorRelease
;
1778 /// Inconsistent with specification here:
1779 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1780 /// It's introduced for SmBios 2.6 specification type 0.
1782 UINT8 BiosEmbeddedFirmwareMinorRelease
;
1783 } EFI_MISC_BIOS_VENDOR_DATA
;
1786 // Misc. System Manufacturer - SMBIOS Type 1
1788 #define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003
1791 EfiSystemWakeupTypeReserved
= 0,
1792 EfiSystemWakeupTypeOther
= 1,
1793 EfiSystemWakeupTypeUnknown
= 2,
1794 EfiSystemWakeupTypeApmTimer
= 3,
1795 EfiSystemWakeupTypeModemRing
= 4,
1796 EfiSystemWakeupTypeLanRemote
= 5,
1797 EfiSystemWakeupTypePowerSwitch
= 6,
1798 EfiSystemWakeupTypePciPme
= 7,
1799 EfiSystemWakeupTypeAcPowerRestored
= 8
1800 } EFI_MISC_SYSTEM_WAKEUP_TYPE
;
1803 STRING_REF SystemManufacturer
;
1804 STRING_REF SystemProductName
;
1805 STRING_REF SystemVersion
;
1806 STRING_REF SystemSerialNumber
;
1807 EFI_GUID SystemUuid
;
1808 EFI_MISC_SYSTEM_WAKEUP_TYPE SystemWakeupType
;
1810 /// Inconsistent with specification here:
1811 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1812 /// It's introduced for SmBios 2.6 specification type 1.
1814 STRING_REF SystemSKUNumber
;
1816 /// Inconsistent with specification here:
1817 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.
1818 /// It's introduced for SmBios 2.6 specification type 1.
1820 STRING_REF SystemFamily
;
1821 } EFI_MISC_SYSTEM_MANUFACTURER_DATA
;
1824 // Misc. Base Board Manufacturer - SMBIOS Type 2
1826 #define EFI_MISC_BASE_BOARD_MANUFACTURER_RECORD_NUMBER 0x00000004
1829 UINT32 Motherboard
:1;
1830 UINT32 RequiresDaughterCard
:1;
1831 UINT32 Removable
:1;
1832 UINT32 Replaceable
:1;
1833 UINT32 HotSwappable
:1;
1834 UINT32 Reserved
:27;
1835 } EFI_BASE_BOARD_FEATURE_FLAGS
;
1838 EfiBaseBoardTypeUnknown
= 1,
1839 EfiBaseBoardTypeOther
= 2,
1840 EfiBaseBoardTypeServerBlade
= 3,
1841 EfiBaseBoardTypeConnectivitySwitch
= 4,
1842 EfiBaseBoardTypeSystemManagementModule
= 5,
1843 EfiBaseBoardTypeProcessorModule
= 6,
1844 EfiBaseBoardTypeIOModule
= 7,
1845 EfiBaseBoardTypeMemoryModule
= 8,
1846 EfiBaseBoardTypeDaughterBoard
= 9,
1847 EfiBaseBoardTypeMotherBoard
= 0xA,
1848 EfiBaseBoardTypeProcessorMemoryModule
= 0xB,
1849 EfiBaseBoardTypeProcessorIOModule
= 0xC,
1850 EfiBaseBoardTypeInterconnectBoard
= 0xD
1851 } EFI_BASE_BOARD_TYPE
;
1854 STRING_REF BaseBoardManufacturer
;
1855 STRING_REF BaseBoardProductName
;
1856 STRING_REF BaseBoardVersion
;
1857 STRING_REF BaseBoardSerialNumber
;
1858 STRING_REF BaseBoardAssetTag
;
1859 STRING_REF BaseBoardChassisLocation
;
1860 EFI_BASE_BOARD_FEATURE_FLAGS BaseBoardFeatureFlags
;
1861 EFI_BASE_BOARD_TYPE BaseBoardType
;
1862 EFI_INTER_LINK_DATA BaseBoardChassisLink
;
1863 UINT32 BaseBoardNumberLinks
;
1864 EFI_INTER_LINK_DATA LinkN
;
1865 } EFI_MISC_BASE_BOARD_MANUFACTURER_DATA
;
1868 // Misc. System/Chassis Enclosure - SMBIOS Type 3
1870 #define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER 0x00000005
1873 EfiMiscChassisTypeOther
= 0x1,
1874 EfiMiscChassisTypeUnknown
= 0x2,
1875 EfiMiscChassisTypeDeskTop
= 0x3,
1876 EfiMiscChassisTypeLowProfileDesktop
= 0x4,
1877 EfiMiscChassisTypePizzaBox
= 0x5,
1878 EfiMiscChassisTypeMiniTower
= 0x6,
1879 EfiMiscChassisTypeTower
= 0x7,
1880 EfiMiscChassisTypePortable
= 0x8,
1881 EfiMiscChassisTypeLapTop
= 0x9,
1882 EfiMiscChassisTypeNotebook
= 0xA,
1883 EfiMiscChassisTypeHandHeld
= 0xB,
1884 EfiMiscChassisTypeDockingStation
= 0xC,
1885 EfiMiscChassisTypeAllInOne
= 0xD,
1886 EfiMiscChassisTypeSubNotebook
= 0xE,
1887 EfiMiscChassisTypeSpaceSaving
= 0xF,
1888 EfiMiscChassisTypeLunchBox
= 0x10,
1889 EfiMiscChassisTypeMainServerChassis
= 0x11,
1890 EfiMiscChassisTypeExpansionChassis
= 0x12,
1891 EfiMiscChassisTypeSubChassis
= 0x13,
1892 EfiMiscChassisTypeBusExpansionChassis
= 0x14,
1893 EfiMiscChassisTypePeripheralChassis
= 0x15,
1894 EfiMiscChassisTypeRaidChassis
= 0x16,
1895 EfiMiscChassisTypeRackMountChassis
= 0x17,
1896 EfiMiscChassisTypeSealedCasePc
= 0x18,
1897 EfiMiscChassisMultiSystemChassis
= 0x19
1898 } EFI_MISC_CHASSIS_TYPE
;
1902 /// Inconsistent with specification here:
1903 /// In MiscSubclass 0.9 specification, it has the incorrect field name "EFI_MISC_CHASSIS_TYPE".
1904 /// Change it to "ChassisType" to pass build.
1906 UINT32 ChassisType
:16;
1907 UINT32 ChassisLockPresent
:1;
1908 UINT32 Reserved
:15;
1909 } EFI_MISC_CHASSIS_STATUS
;
1912 EfiChassisStateOther
= 0x01,
1913 EfiChassisStateUnknown
= 0x02,
1914 EfiChassisStateSafe
= 0x03,
1915 EfiChassisStateWarning
= 0x04,
1916 EfiChassisStateCritical
= 0x05,
1917 EfiChassisStateNonRecoverable
= 0x06
1918 } EFI_MISC_CHASSIS_STATE
;
1921 EfiChassisSecurityStatusOther
= 0x01,
1922 EfiChassisSecurityStatusUnknown
= 0x02,
1923 EfiChassisSecurityStatusNone
= 0x03,
1924 EfiChassisSecurityStatusExternalInterfaceLockedOut
= 0x04,
1925 EfiChassisSecurityStatusExternalInterfaceLockedEnabled
= 0x05
1926 } EFI_MISC_CHASSIS_SECURITY_STATE
;
1929 UINT32 RecordType
:1;
1931 UINT32 Reserved
:24;
1932 } EFI_MISC_ELEMENT_TYPE
;
1935 EFI_MISC_ELEMENT_TYPE ChassisElementType
;
1936 EFI_INTER_LINK_DATA ChassisElementStructure
;
1937 EFI_BASE_BOARD_TYPE ChassisBaseBoard
;
1938 UINT32 ChassisElementMinimum
;
1939 UINT32 ChassisElementMaximum
;
1940 } EFI_MISC_ELEMENTS
;
1943 STRING_REF ChassisManufacturer
;
1944 STRING_REF ChassisVersion
;
1945 STRING_REF ChassisSerialNumber
;
1946 STRING_REF ChassisAssetTag
;
1947 EFI_MISC_CHASSIS_STATUS ChassisType
;
1948 EFI_MISC_CHASSIS_STATE ChassisBootupState
;
1949 EFI_MISC_CHASSIS_STATE ChassisPowerSupplyState
;
1950 EFI_MISC_CHASSIS_STATE ChassisThermalState
;
1951 EFI_MISC_CHASSIS_SECURITY_STATE ChassisSecurityState
;
1952 UINT32 ChassisOemDefined
;
1953 UINT32 ChassisHeight
;
1954 UINT32 ChassisNumberPowerCords
;
1955 UINT32 ChassisElementCount
;
1956 UINT32 ChassisElementRecordLength
;
1957 EFI_MISC_ELEMENTS ChassisElements
;
1958 } EFI_MISC_CHASSIS_MANUFACTURER_DATA
;
1961 // Misc. Port Connector Information - SMBIOS Type 8
1963 #define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006
1966 EfiPortConnectorTypeNone
= 0x00,
1967 EfiPortConnectorTypeCentronics
= 0x01,
1968 EfiPortConnectorTypeMiniCentronics
= 0x02,
1969 EfiPortConnectorTypeProprietary
= 0x03,
1970 EfiPortConnectorTypeDB25Male
= 0x04,
1971 EfiPortConnectorTypeDB25Female
= 0x05,
1972 EfiPortConnectorTypeDB15Male
= 0x06,
1973 EfiPortConnectorTypeDB15Female
= 0x07,
1974 EfiPortConnectorTypeDB9Male
= 0x08,
1975 EfiPortConnectorTypeDB9Female
= 0x09,
1976 EfiPortConnectorTypeRJ11
= 0x0A,
1977 EfiPortConnectorTypeRJ45
= 0x0B,
1978 EfiPortConnectorType50PinMiniScsi
= 0x0C,
1979 EfiPortConnectorTypeMiniDin
= 0x0D,
1980 EfiPortConnectorTypeMicriDin
= 0x0E,
1981 EfiPortConnectorTypePS2
= 0x0F,
1982 EfiPortConnectorTypeInfrared
= 0x10,
1983 EfiPortConnectorTypeHpHil
= 0x11,
1984 EfiPortConnectorTypeUsb
= 0x12,
1985 EfiPortConnectorTypeSsaScsi
= 0x13,
1986 EfiPortConnectorTypeCircularDin8Male
= 0x14,
1987 EfiPortConnectorTypeCircularDin8Female
= 0x15,
1988 EfiPortConnectorTypeOnboardIde
= 0x16,
1989 EfiPortConnectorTypeOnboardFloppy
= 0x17,
1990 EfiPortConnectorType9PinDualInline
= 0x18,
1991 EfiPortConnectorType25PinDualInline
= 0x19,
1992 EfiPortConnectorType50PinDualInline
= 0x1A,
1993 EfiPortConnectorType68PinDualInline
= 0x1B,
1994 EfiPortConnectorTypeOnboardSoundInput
= 0x1C,
1995 EfiPortConnectorTypeMiniCentronicsType14
= 0x1D,
1996 EfiPortConnectorTypeMiniCentronicsType26
= 0x1E,
1997 EfiPortConnectorTypeHeadPhoneMiniJack
= 0x1F,
1998 EfiPortConnectorTypeBNC
= 0x20,
1999 EfiPortConnectorType1394
= 0x21,
2000 EfiPortConnectorTypePC98
= 0xA0,
2001 EfiPortConnectorTypePC98Hireso
= 0xA1,
2002 EfiPortConnectorTypePCH98
= 0xA2,
2003 EfiPortConnectorTypePC98Note
= 0xA3,
2004 EfiPortConnectorTypePC98Full
= 0xA4,
2005 EfiPortConnectorTypeOther
= 0xFF
2006 } EFI_MISC_PORT_CONNECTOR_TYPE
;
2009 EfiPortTypeNone
= 0x00,
2010 EfiPortTypeParallelXtAtCompatible
= 0x01,
2011 EfiPortTypeParallelPortPs2
= 0x02,
2012 EfiPortTypeParallelPortEcp
= 0x03,
2013 EfiPortTypeParallelPortEpp
= 0x04,
2014 EfiPortTypeParallelPortEcpEpp
= 0x05,
2015 EfiPortTypeSerialXtAtCompatible
= 0x06,
2016 EfiPortTypeSerial16450Compatible
= 0x07,
2017 EfiPortTypeSerial16550Compatible
= 0x08,
2018 EfiPortTypeSerial16550ACompatible
= 0x09,
2019 EfiPortTypeScsi
= 0x0A,
2020 EfiPortTypeMidi
= 0x0B,
2021 EfiPortTypeJoyStick
= 0x0C,
2022 EfiPortTypeKeyboard
= 0x0D,
2023 EfiPortTypeMouse
= 0x0E,
2024 EfiPortTypeSsaScsi
= 0x0F,
2025 EfiPortTypeUsb
= 0x10,
2026 EfiPortTypeFireWire
= 0x11,
2027 EfiPortTypePcmciaTypeI
= 0x12,
2028 EfiPortTypePcmciaTypeII
= 0x13,
2029 EfiPortTypePcmciaTypeIII
= 0x14,
2030 EfiPortTypeCardBus
= 0x15,
2031 EfiPortTypeAccessBusPort
= 0x16,
2032 EfiPortTypeScsiII
= 0x17,
2033 EfiPortTypeScsiWide
= 0x18,
2034 EfiPortTypePC98
= 0x19,
2035 EfiPortTypePC98Hireso
= 0x1A,
2036 EfiPortTypePCH98
= 0x1B,
2037 EfiPortTypeVideoPort
= 0x1C,
2038 EfiPortTypeAudioPort
= 0x1D,
2039 EfiPortTypeModemPort
= 0x1E,
2040 EfiPortTypeNetworkPort
= 0x1F,
2041 EfiPortType8251Compatible
= 0xA0,
2042 EfiPortType8251FifoCompatible
= 0xA1,
2043 EfiPortTypeOther
= 0xFF
2044 } EFI_MISC_PORT_TYPE
;
2047 STRING_REF PortInternalConnectorDesignator
;
2048 STRING_REF PortExternalConnectorDesignator
;
2049 EFI_MISC_PORT_CONNECTOR_TYPE PortInternalConnectorType
;
2050 EFI_MISC_PORT_CONNECTOR_TYPE PortExternalConnectorType
;
2051 EFI_MISC_PORT_TYPE PortType
;
2053 /// Inconsistent with specification here:
2054 /// In MiscSubclass specification 0.9, this type of field is defined as EFI_DEVICE_PATH_PROTOCOL,
2055 /// which causes the implementation some complexity. Keep it unchanged for backward
2058 EFI_MISC_PORT_DEVICE_PATH PortPath
;
2059 } EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA
;
2062 // Misc. System Slots - SMBIOS Type 9
2064 #define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007
2067 EfiSlotTypeOther
= 0x01,
2068 EfiSlotTypeUnknown
= 0x02,
2069 EfiSlotTypeIsa
= 0x03,
2070 EfiSlotTypeMca
= 0x04,
2071 EfiSlotTypeEisa
= 0x05,
2072 EfiSlotTypePci
= 0x06,
2073 EfiSlotTypePcmcia
= 0x07,
2074 EfiSlotTypeVlVesa
= 0x08,
2075 EfiSlotTypeProprietary
= 0x09,
2076 EfiSlotTypeProcessorCardSlot
= 0x0A,
2077 EfiSlotTypeProprietaryMemoryCardSlot
= 0x0B,
2078 EfiSlotTypeIORiserCardSlot
= 0x0C,
2079 EfiSlotTypeNuBus
= 0x0D,
2080 EfiSlotTypePci66MhzCapable
= 0x0E,
2081 EfiSlotTypeAgp
= 0x0F,
2083 /// Inconsistent with specification here:
2084 /// In MiscSubclass specification 0.9, its naming should be EfiSlotTypeAgp2X
2085 /// rather than EfiSlotTypeApg2X.
2087 EfiSlotTypeAgp2X
= 0x10,
2088 EfiSlotTypeAgp4X
= 0x11,
2089 EfiSlotTypePciX
= 0x12,
2090 EfiSlotTypeAgp8x
= 0x13,
2091 EfiSlotTypePC98C20
= 0xA0,
2092 EfiSlotTypePC98C24
= 0xA1,
2093 EfiSlotTypePC98E
= 0xA2,
2094 EfiSlotTypePC98LocalBus
= 0xA3,
2095 EfiSlotTypePC98Card
= 0xA4,
2097 /// Inconsistent with specification here:
2098 /// In MiscSubclass specification 0.9, this field isn't defined.
2099 /// It's introduced for SmBios 2.6 specification type 9.
2101 EfiSlotTypePciExpress
= 0xA5
2102 } EFI_MISC_SLOT_TYPE
;
2105 EfiSlotDataBusWidthOther
= 0x01,
2106 EfiSlotDataBusWidthUnknown
= 0x02,
2107 EfiSlotDataBusWidth8Bit
= 0x03,
2108 EfiSlotDataBusWidth16Bit
= 0x04,
2109 EfiSlotDataBusWidth32Bit
= 0x05,
2110 EfiSlotDataBusWidth64Bit
= 0x06,
2111 EfiSlotDataBusWidth128Bit
= 0x07
2112 } EFI_MISC_SLOT_DATA_BUS_WIDTH
;
2115 EfiSlotUsageOther
= 1,
2116 EfiSlotUsageUnknown
= 2,
2117 EfiSlotUsageAvailable
= 3,
2118 EfiSlotUsageInUse
= 4
2119 } EFI_MISC_SLOT_USAGE
;
2122 EfiSlotLengthOther
= 1,
2123 EfiSlotLengthUnknown
= 2,
2124 EfiSlotLengthShort
= 3,
2125 EfiSlotLengthLong
= 4
2126 } EFI_MISC_SLOT_LENGTH
;
2129 UINT32 CharacteristicsUnknown
:1;
2130 UINT32 Provides50Volts
:1;
2131 UINT32 Provides33Volts
:1;
2132 UINT32 SharedSlot
:1;
2133 UINT32 PcCard16Supported
:1;
2134 UINT32 CardBusSupported
:1;
2135 UINT32 ZoomVideoSupported
:1;
2136 UINT32 ModemRingResumeSupported
:1;
2137 UINT32 PmeSignalSupported
:1;
2138 UINT32 HotPlugDevicesSupported
:1;
2139 UINT32 SmbusSignalSupported
:1;
2140 UINT32 Reserved
:21;
2141 } EFI_MISC_SLOT_CHARACTERISTICS
;
2144 STRING_REF SlotDesignation
;
2145 EFI_MISC_SLOT_TYPE SlotType
;
2146 EFI_MISC_SLOT_DATA_BUS_WIDTH SlotDataBusWidth
;
2147 EFI_MISC_SLOT_USAGE SlotUsage
;
2148 EFI_MISC_SLOT_LENGTH SlotLength
;
2150 EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics
;
2151 EFI_DEVICE_PATH_PROTOCOL SlotDevicePath
;
2152 } EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA
;
2155 // Misc. Onboard Device - SMBIOS Type 10
2157 #define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008
2160 EfiOnBoardDeviceTypeOther
= 1,
2161 EfiOnBoardDeviceTypeUnknown
= 2,
2162 EfiOnBoardDeviceTypeVideo
= 3,
2163 EfiOnBoardDeviceTypeScsiController
= 4,
2164 EfiOnBoardDeviceTypeEthernet
= 5,
2165 EfiOnBoardDeviceTypeTokenRing
= 6,
2166 EfiOnBoardDeviceTypeSound
= 7
2167 } EFI_MISC_ONBOARD_DEVICE_TYPE
;
2170 UINT32 DeviceType
:16;
2171 UINT32 DeviceEnabled
:1;
2172 UINT32 Reserved
:15;
2173 } EFI_MISC_ONBOARD_DEVICE_STATUS
;
2176 STRING_REF OnBoardDeviceDescription
;
2178 /// Inconsistent with specification here:
2179 /// In MiscSubclass specification 0.9, the name is OnBoardDeviceType.
2180 /// Keep it unchanged for backward compatibilty.
2182 EFI_MISC_ONBOARD_DEVICE_STATUS OnBoardDeviceStatus
;
2183 EFI_DEVICE_PATH_PROTOCOL OnBoardDevicePath
;
2184 } EFI_MISC_ONBOARD_DEVICE_DATA
;
2187 // Misc. BIOS Language Information - SMBIOS Type 11
2189 #define EFI_MISC_OEM_STRING_RECORD_NUMBER 0x00000009
2192 STRING_REF OemStringRef
[1];
2193 } EFI_MISC_OEM_STRING_DATA
;
2196 // Misc. System Options - SMBIOS Type 12
2199 STRING_REF SystemOptionStringRef
[1];
2200 } EFI_MISC_SYSTEM_OPTION_STRING_DATA
;
2202 #define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A
2205 // Misc. Number of Installable Languages - SMBIOS Type 13
2207 #define EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_RECORD_NUMBER 0x0000000B
2210 UINT32 AbbreviatedLanguageFormat
:1;
2211 UINT32 Reserved
:31;
2212 } EFI_MISC_LANGUAGE_FLAGS
;
2215 UINT16 NumberOfInstallableLanguages
;
2216 EFI_MISC_LANGUAGE_FLAGS LanguageFlags
;
2217 UINT16 CurrentLanguageNumber
;
2218 } EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA
;
2221 // Misc. System Language String
2223 #define EFI_MISC_SYSTEM_LANGUAGE_STRING_RECORD_NUMBER 0x0000000C
2227 STRING_REF SystemLanguageString
;
2228 } EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA
;
2231 // Group Associations - SMBIOS Type 14
2233 #define EFI_MISC_GROUP_NAME_RECORD_NUMBER 0x0000000D
2236 STRING_REF GroupName
;
2237 UINT16 NumberGroupItems
;
2239 } EFI_MISC_GROUP_NAME_DATA
;
2242 // Group Item Set Element
2244 #define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER 0x0000000E
2248 EFI_INTER_LINK_DATA GroupLink
;
2250 UINT16 GroupElementId
;
2251 } EFI_MISC_GROUP_ITEM_SET_DATA
;
2254 // Misc. Pointing Device Type - SMBIOS Type 21
2256 #define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F
2259 EfiPointingDeviceTypeOther
= 0x01,
2260 EfiPointingDeviceTypeUnknown
= 0x02,
2261 EfiPointingDeviceTypeMouse
= 0x03,
2262 EfiPointingDeviceTypeTrackBall
= 0x04,
2263 EfiPointingDeviceTypeTrackPoint
= 0x05,
2264 EfiPointingDeviceTypeGlidePoint
= 0x06,
2265 EfiPointingDeviceTouchPad
= 0x07,
2266 EfiPointingDeviceTouchScreen
= 0x08,
2267 EfiPointingDeviceOpticalSensor
= 0x09
2268 } EFI_MISC_POINTING_DEVICE_TYPE
;
2271 EfiPointingDeviceInterfaceOther
= 0x01,
2272 EfiPointingDeviceInterfaceUnknown
= 0x02,
2273 EfiPointingDeviceInterfaceSerial
= 0x03,
2274 EfiPointingDeviceInterfacePs2
= 0x04,
2275 EfiPointingDeviceInterfaceInfrared
= 0x05,
2276 EfiPointingDeviceInterfaceHpHil
= 0x06,
2277 EfiPointingDeviceInterfaceBusMouse
= 0x07,
2278 EfiPointingDeviceInterfaceADB
= 0x08,
2279 EfiPointingDeviceInterfaceBusMouseDB9
= 0xA0,
2280 EfiPointingDeviceInterfaceBusMouseMicroDin
= 0xA1,
2281 EfiPointingDeviceInterfaceUsb
= 0xA2
2282 } EFI_MISC_POINTING_DEVICE_INTERFACE
;
2285 EFI_MISC_POINTING_DEVICE_TYPE PointingDeviceType
;
2286 EFI_MISC_POINTING_DEVICE_INTERFACE PointingDeviceInterface
;
2287 UINT16 NumberPointingDeviceButtons
;
2288 EFI_DEVICE_PATH_PROTOCOL PointingDevicePath
;
2289 } EFI_MISC_POINTING_DEVICE_TYPE_DATA
;
2292 // Portable Battery - SMBIOS Type 22
2295 /// Inconsistent with specification here:
2296 /// In MiscSubclass specification 0.9, the name is EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER.
2297 /// Keep it unchanged for backward compatibilty.
2299 #define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER 0x00000010
2302 /// Inconsistent with specification here:
2303 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BATTERY_DEVICE_CHEMISTRY.
2304 /// And all field namings are also different with specification.
2305 /// Keep it unchanged for backward compatibilty.
2308 EfiPortableBatteryDeviceChemistryOther
= 1,
2309 EfiPortableBatteryDeviceChemistryUnknown
= 2,
2310 EfiPortableBatteryDeviceChemistryLeadAcid
= 3,
2311 EfiPortableBatteryDeviceChemistryNickelCadmium
= 4,
2312 EfiPortableBatteryDeviceChemistryNickelMetalHydride
= 5,
2313 EfiPortableBatteryDeviceChemistryLithiumIon
= 6,
2314 EfiPortableBatteryDeviceChemistryZincAir
= 7,
2315 EfiPortableBatteryDeviceChemistryLithiumPolymer
= 8
2316 } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
;
2319 /// Inconsistent with specification here:
2320 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BATTERY_LOCATION_DATA.
2321 /// Also, the name and the order of the fields vary with specifications.
2322 /// Keep it unchanged for backward compatibilty.
2325 STRING_REF Location
;
2326 STRING_REF Manufacturer
;
2327 STRING_REF ManufactureDate
;
2328 STRING_REF SerialNumber
;
2329 STRING_REF DeviceName
;
2330 EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY
2332 UINT16 DesignCapacity
;
2333 UINT16 DesignVoltage
;
2334 STRING_REF SBDSVersionNumber
;
2336 UINT16 SBDSSerialNumber
;
2337 UINT16 SBDSManufactureDate
;
2338 STRING_REF SBDSDeviceChemistry
;
2339 UINT8 DesignCapacityMultiplier
;
2341 UINT8 BatteryNumber
; // Temporary
2342 BOOLEAN Valid
; // Is entry valid - Temporary
2343 } EFI_MISC_PORTABLE_BATTERY
;
2347 // Misc. Reset Capabilities - SMBIOS Type 23
2349 #define EFI_MISC_RESET_CAPABILITIES_RECORD_NUMBER 0x00000011
2353 UINT32 BootOption
:2;
2354 UINT32 BootOptionOnLimit
:2;
2355 UINT32 WatchdogTimerPresent
:1;
2356 UINT32 Reserved
:26;
2357 } EFI_MISC_RESET_CAPABILITIES_TYPE
;
2360 EFI_MISC_RESET_CAPABILITIES_TYPE ResetCapabilities
;
2363 UINT16 ResetTimerInterval
;
2364 UINT16 ResetTimeout
;
2365 } EFI_MISC_RESET_CAPABILITIES
;
2368 EFI_MISC_RESET_CAPABILITIES ResetCapabilities
;
2371 UINT16 ResetTimerInterval
;
2372 UINT16 ResetTimeout
;
2373 } EFI_MISC_RESET_CAPABILITIES_DATA
;
2376 // Misc. Hardware Security - SMBIOS Type 24
2378 #define EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA_RECORD_NUMBER 0x00000012
2381 /// Inconsistent with specification here:
2382 /// The MiscSubclass specification 0.9 only mentions the possible value of each field in
2383 /// EFI_MISC_HARDWARE_SECURITY_SETTINGS.
2384 /// It's implementation-specific in order to to simplify the code logic.
2387 EfiHardwareSecurityStatusDisabled
= 0,
2388 EfiHardwareSecurityStatusEnabled
= 1,
2389 EfiHardwareSecurityStatusNotImplemented
= 2,
2390 EfiHardwareSecurityStatusUnknown
= 3
2391 } EFI_MISC_HARDWARE_SECURITY_STATUS
;
2394 UINT32 FrontPanelResetStatus
:2;
2395 UINT32 AdministratorPasswordStatus
:2;
2396 UINT32 KeyboardPasswordStatus
:2;
2397 UINT32 PowerOnPasswordStatus
:2;
2398 UINT32 Reserved
:24;
2399 } EFI_MISC_HARDWARE_SECURITY_SETTINGS
;
2402 EFI_MISC_HARDWARE_SECURITY_SETTINGS HardwareSecuritySettings
;
2403 } EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA
;
2406 // System Power Controls - SMBIOS Type 25
2408 #define EFI_MISC_SCHEDULED_POWER_ON_MONTH_RECORD_NUMBER 0x00000013
2411 UINT16 ScheduledPoweronMonth
;
2412 UINT16 ScheduledPoweronDayOfMonth
;
2413 UINT16 ScheduledPoweronHour
;
2414 UINT16 ScheduledPoweronMinute
;
2415 UINT16 ScheduledPoweronSecond
;
2416 } EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA
;
2419 // Voltage Probe - SMBIOS Type 26
2421 #define EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000014
2424 UINT32 VoltageProbeSite
:5;
2425 UINT32 VoltageProbeStatus
:3;
2426 UINT32 Reserved
:24;
2427 } EFI_MISC_VOLTAGE_PROBE_LOCATION
;
2430 STRING_REF VoltageProbeDescription
;
2431 EFI_MISC_VOLTAGE_PROBE_LOCATION VoltageProbeLocation
;
2432 EFI_EXP_BASE10_DATA VoltageProbeMaximumValue
;
2433 EFI_EXP_BASE10_DATA VoltageProbeMinimumValue
;
2434 EFI_EXP_BASE10_DATA VoltageProbeResolution
;
2435 EFI_EXP_BASE10_DATA VoltageProbeTolerance
;
2436 EFI_EXP_BASE10_DATA VoltageProbeAccuracy
;
2437 EFI_EXP_BASE10_DATA VoltageProbeNominalValue
;
2438 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2439 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2440 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2441 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2442 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2443 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2444 UINT32 VoltageProbeOemDefined
;
2445 } EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA
;
2448 // Cooling Device - SMBIOS Type 27
2450 #define EFI_MISC_COOLING_DEVICE_TEMP_LINK_RECORD_NUMBER 0x00000015
2453 UINT32 CoolingDevice
:5;
2454 UINT32 CoolingDeviceStatus
:3;
2455 UINT32 Reserved
:24;
2456 } EFI_MISC_COOLING_DEVICE_TYPE
;
2459 EFI_MISC_COOLING_DEVICE_TYPE CoolingDeviceType
;
2460 EFI_INTER_LINK_DATA CoolingDeviceTemperatureLink
;
2461 UINT16 CoolingDeviceUnitGroup
;
2462 EFI_EXP_BASE10_DATA CoolingDeviceNominalSpeed
;
2463 UINT32 CoolingDeviceOemDefined
;
2464 } EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA
;
2467 // Temperature Probe - SMBIOS Type 28
2469 #define EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000016
2472 UINT32 TemperatureProbeSite
:5;
2473 UINT32 TemperatureProbeStatus
:3;
2474 UINT32 Reserved
:24;
2475 } EFI_MISC_TEMPERATURE_PROBE_LOCATION
;
2478 STRING_REF TemperatureProbeDescription
;
2479 EFI_MISC_TEMPERATURE_PROBE_LOCATION
2480 TemperatureProbeLocation
;
2481 EFI_EXP_BASE10_DATA TemperatureProbeMaximumValue
;
2482 EFI_EXP_BASE10_DATA TemperatureProbeMinimumValue
;
2483 EFI_EXP_BASE10_DATA TemperatureProbeResolution
;
2484 EFI_EXP_BASE10_DATA TemperatureProbeTolerance
;
2485 EFI_EXP_BASE10_DATA TemperatureProbeAccuracy
;
2486 EFI_EXP_BASE10_DATA TemperatureProbeNominalValue
;
2487 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2488 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2489 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2490 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2491 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2492 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2493 UINT32 TemperatureProbeOemDefined
;
2494 } EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA
;
2497 // Electrical Current Probe - SMBIOS Type 29
2500 #define EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000017
2503 UINT32 ElectricalCurrentProbeSite
:5;
2504 UINT32 ElectricalCurrentProbeStatus
:3;
2505 UINT32 Reserved
:24;
2506 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
;
2509 STRING_REF ElectricalCurrentProbeDescription
;
2510 EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
2511 ElectricalCurrentProbeLocation
;
2512 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMaximumValue
;
2513 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMinimumValue
;
2514 EFI_EXP_BASE10_DATA ElectricalCurrentProbeResolution
;
2515 EFI_EXP_BASE10_DATA ElectricalCurrentProbeTolerance
;
2516 EFI_EXP_BASE10_DATA ElectricalCurrentProbeAccuracy
;
2517 EFI_EXP_BASE10_DATA ElectricalCurrentProbeNominalValue
;
2518 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold
;
2519 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold
;
2520 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold
;
2521 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold
;
2522 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold
;
2523 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold
;
2524 UINT32 ElectricalCurrentProbeOemDefined
;
2525 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA
;
2528 // Out-of-Band Remote Access - SMBIOS Type 30
2531 #define EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_RECORD_NUMBER 0x00000018
2534 UINT32 InboundConnectionEnabled
:1;
2535 UINT32 OutboundConnectionEnabled
:1;
2536 UINT32 Reserved
:30;
2537 } EFI_MISC_REMOTE_ACCESS_CONNECTIONS
;
2540 STRING_REF RemoteAccessManufacturerNameDescription
;
2541 EFI_MISC_REMOTE_ACCESS_CONNECTIONS RemoteAccessConnections
;
2542 } EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
;
2545 // Misc. BIS Entry Point - SMBIOS Type 31
2547 #define EFI_MISC_BIS_ENTRY_POINT_RECORD_NUMBER 0x00000019
2550 EFI_PHYSICAL_ADDRESS BisEntryPoint
;
2551 } EFI_MISC_BIS_ENTRY_POINT_DATA
;
2554 // Misc. Boot Information - SMBIOS Type 32
2556 #define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER 0x0000001A
2559 /// Inconsistent with specification here:
2560 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.
2561 /// Keep it unchanged for backward compatibilty.
2564 EfiBootInformationStatusNoError
= 0x00,
2565 EfiBootInformationStatusNoBootableMedia
= 0x01,
2566 EfiBootInformationStatusNormalOSFailedLoading
= 0x02,
2567 EfiBootInformationStatusFirmwareDetectedFailure
= 0x03,
2568 EfiBootInformationStatusOSDetectedFailure
= 0x04,
2569 EfiBootInformationStatusUserRequestedBoot
= 0x05,
2570 EfiBootInformationStatusSystemSecurityViolation
= 0x06,
2571 EfiBootInformationStatusPreviousRequestedImage
= 0x07,
2572 EfiBootInformationStatusWatchdogTimerExpired
= 0x08,
2573 EfiBootInformationStatusStartReserved
= 0x09,
2574 EfiBootInformationStatusStartOemSpecific
= 0x80,
2575 EfiBootInformationStatusStartProductSpecific
= 0xC0
2576 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE
;
2580 /// Inconsistent with specification here:
2581 /// In MiscSubclass specification 0.9, the field name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.
2582 /// Keep it unchanged for backward compatibilty.
2584 EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE BootInformationStatus
;
2585 UINT8 BootInformationData
[9];
2586 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA
;
2589 // Management Device - SMBIOS Type 34
2591 #define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER 0x0000001B
2594 EfiManagementDeviceTypeOther
= 0x01,
2595 EfiManagementDeviceTypeUnknown
= 0x02,
2596 EfiManagementDeviceTypeLm75
= 0x03,
2597 EfiManagementDeviceTypeLm78
= 0x04,
2598 EfiManagementDeviceTypeLm79
= 0x05,
2599 EfiManagementDeviceTypeLm80
= 0x06,
2600 EfiManagementDeviceTypeLm81
= 0x07,
2601 EfiManagementDeviceTypeAdm9240
= 0x08,
2602 EfiManagementDeviceTypeDs1780
= 0x09,
2603 EfiManagementDeviceTypeMaxim1617
= 0x0A,
2604 EfiManagementDeviceTypeGl518Sm
= 0x0B,
2605 EfiManagementDeviceTypeW83781D
= 0x0C,
2606 EfiManagementDeviceTypeHt82H791
= 0x0D
2607 } EFI_MISC_MANAGEMENT_DEVICE_TYPE
;
2610 EfiManagementDeviceAddressTypeOther
= 1,
2611 EfiManagementDeviceAddressTypeUnknown
= 2,
2612 EfiManagementDeviceAddressTypeIOPort
= 3,
2613 EfiManagementDeviceAddressTypeMemory
= 4,
2614 EfiManagementDeviceAddressTypeSmbus
= 5
2615 } EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
;
2618 STRING_REF ManagementDeviceDescription
;
2619 EFI_MISC_MANAGEMENT_DEVICE_TYPE ManagementDeviceType
;
2620 UINTN ManagementDeviceAddress
;
2621 EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
2622 ManagementDeviceAddressType
;
2623 } EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA
;
2626 // Management Device Component - SMBIOS Type 35
2629 #define EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_RECORD_NUMBER 0x0000001C
2632 STRING_REF ManagementDeviceComponentDescription
;
2633 EFI_INTER_LINK_DATA ManagementDeviceLink
;
2634 EFI_INTER_LINK_DATA ManagementDeviceComponentLink
;
2636 /// Inconsistent with specification here:
2637 /// In MiscSubclass specification 0.9, this field is NOT defined.
2638 /// It's introduced for SmBios 2.6 specification type 35.
2640 EFI_INTER_LINK_DATA ManagementDeviceThresholdLink
;
2641 } EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
;
2644 // IPMI Data Record - SMBIOS Type 38
2651 } EFI_MISC_IPMI_INTERFACE_TYPE
;
2654 UINT16 IpmiSpecLeastSignificantDigit
:4;
2655 UINT16 IpmiSpecMostSignificantDigit
: 4;
2657 } EFI_MISC_IPMI_SPECIFICATION_REVISION
;
2660 EFI_MISC_IPMI_INTERFACE_TYPE IpmiInterfaceType
;
2661 EFI_MISC_IPMI_SPECIFICATION_REVISION
2662 IpmiSpecificationRevision
;
2663 UINT16 IpmiI2CSlaveAddress
;
2664 UINT16 IpmiNvDeviceAddress
;
2665 UINT64 IpmiBaseAddress
;
2666 EFI_DEVICE_PATH_PROTOCOL IpmiDevicePath
;
2667 } EFI_MISC_IPMI_INTERFACE_TYPE_DATA
;
2669 #define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER 0x0000001D
2672 /// System Power supply Record - SMBIOS Type 39
2674 /// Inconsistent with specification here:
2675 /// In MiscSubclass specification 0.9, the type of all fields are UINT32.
2676 /// Keep it unchanged for backward compatibilty.
2679 UINT16 PowerSupplyHotReplaceable
:1;
2680 UINT16 PowerSupplyPresent
:1;
2681 UINT16 PowerSupplyUnplugged
:1;
2682 UINT16 InputVoltageRangeSwitch
:4;
2683 UINT16 PowerSupplyStatus
:3;
2684 UINT16 PowerSupplyType
:4;
2686 } EFI_MISC_POWER_SUPPLY_CHARACTERISTICS
;
2689 /// Inconsistent with specification here:
2690 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_POWER_SUPPLY_UNIT_GROUP_DATA.
2691 /// Keep it unchanged for backward compatibilty.
2694 UINT16 PowerUnitGroup
;
2695 STRING_REF PowerSupplyLocation
;
2696 STRING_REF PowerSupplyDeviceName
;
2697 STRING_REF PowerSupplyManufacturer
;
2698 STRING_REF PowerSupplySerialNumber
;
2699 STRING_REF PowerSupplyAssetTagNumber
;
2700 STRING_REF PowerSupplyModelPartNumber
;
2701 STRING_REF PowerSupplyRevisionLevel
;
2702 UINT16 PowerSupplyMaxPowerCapacity
;
2703 EFI_MISC_POWER_SUPPLY_CHARACTERISTICS PowerSupplyCharacteristics
;
2704 EFI_INTER_LINK_DATA PowerSupplyInputVoltageProbeLink
;
2705 EFI_INTER_LINK_DATA PowerSupplyCoolingDeviceLink
;
2706 EFI_INTER_LINK_DATA PowerSupplyInputCurrentProbeLink
;
2707 } EFI_MISC_SYSTEM_POWER_SUPPLY_DATA
;
2709 #define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E
2712 /// OEM Data Record - SMBIOS Type 0x80-0xFF
2714 /// Inconsistent with specification here:
2715 /// In MiscSubclass specification 0.9, the structure name is EFI_SMBIOS_STRUCTURE_HDR.
2716 /// Due to this, the structure is commonly used by vendors to construct SmBios type 0x80~0xFF table,
2717 /// Keep it unchanged for backward compatibilty.
2723 } SMBIOS_STRUCTURE_HDR
;
2727 /// Inconsistent with specification here:
2728 /// In MiscSubclass specification 0.9, the field name is EFI_SMBIOS_STRUCTURE_HDR.
2729 /// Keep it unchanged for backward compatibilty.
2731 SMBIOS_STRUCTURE_HDR Header
;
2733 } EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA
;
2735 #define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER 0x0000001F
2738 /// Misc. System Event Log - SMBIOS Type 15
2740 /// Inconsistent with specification here:
2741 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.
2742 /// It's introduced for SmBios 2.6 specification type 15.
2744 #define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x00000020
2747 /// Inconsistent with specification here:
2748 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.
2749 /// It's introduced for SmBios 2.6 specification type 15.
2752 UINT16 LogAreaLength
;
2753 UINT16 LogHeaderStartOffset
;
2754 UINT16 LogDataStartOffset
;
2757 UINT32 LogChangeToken
;
2758 UINT32 AccessMethodAddress
;
2759 UINT8 LogHeaderFormat
;
2760 UINT8 NumberOfSupportedLogType
;
2761 UINT8 LengthOfLogDescriptor
;
2762 } EFI_MISC_SYSTEM_EVENT_LOG_DATA
;
2766 // 0x00~0x04: as following definition
2767 // 0x05~0x7f: Available for future assignment.
2768 // 0x80~0xff: BIOS Vendor/OEM-specific.
2770 #define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT 0x00
2771 #define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT 0X01
2772 #define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT 0X02
2773 #define ACCESS_MEMORY_MAPPED 0x03
2774 #define ACCESS_GPNV 0x04
2777 /// Management Device Threshold Data Record - SMBIOS Type 36
2779 /// Inconsistent with specification here:
2780 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.
2781 /// It's introduced for SmBios 2.6 specification type 36.
2783 #define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER 0x00000021
2785 /// Inconsistent with specification here:
2786 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.
2787 /// It's introduced for SmBios 2.6 specification type 36.
2790 UINT16 LowerThresNonCritical
;
2791 UINT16 UpperThresNonCritical
;
2792 UINT16 LowerThresCritical
;
2793 UINT16 UpperThresCritical
;
2794 UINT16 LowerThresNonRecover
;
2795 UINT16 UpperThresNonRecover
;
2796 } EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD
;
2799 // Declare the following strutures alias to use them more conviniently.
2801 typedef EFI_MISC_LAST_PCI_BUS_DATA EFI_MISC_LAST_PCI_BUS
;
2802 typedef EFI_MISC_BIOS_VENDOR_DATA EFI_MISC_BIOS_VENDOR
;
2803 typedef EFI_MISC_SYSTEM_MANUFACTURER_DATA EFI_MISC_SYSTEM_MANUFACTURER
;
2804 typedef EFI_MISC_BASE_BOARD_MANUFACTURER_DATA EFI_MISC_BASE_BOARD_MANUFACTURER
;
2805 typedef EFI_MISC_CHASSIS_MANUFACTURER_DATA EFI_MISC_CHASSIS_MANUFACTURER
;
2806 typedef EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR
;
2807 typedef EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA EFI_MISC_SYSTEM_SLOT_DESIGNATION
;
2808 typedef EFI_MISC_ONBOARD_DEVICE_DATA EFI_MISC_ONBOARD_DEVICE
;
2809 typedef EFI_MISC_POINTING_DEVICE_TYPE_DATA EFI_MISC_ONBOARD_DEVICE_TYPE_DATA
;
2810 typedef EFI_MISC_OEM_STRING_DATA EFI_MISC_OEM_STRING
;
2811 typedef EFI_MISC_SYSTEM_OPTION_STRING_DATA EFI_MISC_SYSTEM_OPTION_STRING
;
2812 typedef EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES
;
2813 typedef EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA EFI_MISC_SYSTEM_LANGUAGE_STRING
;
2814 typedef EFI_MISC_SYSTEM_EVENT_LOG_DATA EFI_MISC_SYSTEM_EVENT_LOG
;
2815 typedef EFI_MISC_BIS_ENTRY_POINT_DATA EFI_MISC_BIS_ENTRY_POINT
;
2816 typedef EFI_MISC_BOOT_INFORMATION_STATUS_DATA EFI_MISC_BOOT_INFORMATION_STATUS
;
2817 typedef EFI_MISC_SYSTEM_POWER_SUPPLY_DATA EFI_MISC_SYSTEM_POWER_SUPPLY
;
2818 typedef EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION
;
2819 typedef EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA EFI_MISC_SCHEDULED_POWER_ON_MONTH
;
2820 typedef EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA EFI_MISC_VOLTAGE_PROBE_DESCRIPTION
;
2821 typedef EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA EFI_MISC_COOLING_DEVICE_TEMP_LINK
;
2822 typedef EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION
;
2823 typedef EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
2824 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION
;
2825 typedef EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION
;
2826 typedef EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION
;
2829 /// Inconsistent with specification here:
2830 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
2831 /// It is implementation-specific to simplify the code logic.
2834 EFI_MISC_LAST_PCI_BUS_DATA LastPciBus
;
2835 EFI_MISC_BIOS_VENDOR_DATA MiscBiosVendor
;
2836 EFI_MISC_SYSTEM_MANUFACTURER_DATA MiscSystemManufacturer
;
2837 EFI_MISC_BASE_BOARD_MANUFACTURER_DATA MiscBaseBoardManufacturer
;
2838 EFI_MISC_CHASSIS_MANUFACTURER_DATA MiscChassisManufacturer
;
2839 EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA MiscPortInternalConnectorDesignator
;
2840 EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA MiscSystemSlotDesignation
;
2841 EFI_MISC_ONBOARD_DEVICE_DATA MiscOnboardDevice
;
2842 EFI_MISC_OEM_STRING_DATA MiscOemString
;
2843 EFI_MISC_SYSTEM_OPTION_STRING_DATA MiscOptionString
;
2844 EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA NumberOfInstallableLanguages
;
2845 EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA MiscSystemLanguageString
;
2846 EFI_MISC_SYSTEM_EVENT_LOG_DATA MiscSystemEventLog
;
2847 EFI_MISC_GROUP_NAME_DATA MiscGroupNameData
;
2848 EFI_MISC_GROUP_ITEM_SET_DATA MiscGroupItemSetData
;
2849 EFI_MISC_POINTING_DEVICE_TYPE_DATA MiscPointingDeviceTypeData
;
2850 EFI_MISC_RESET_CAPABILITIES_DATA MiscResetCapablilitiesData
;
2851 EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA MiscHardwareSecuritySettingsData
;
2852 EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA MiscScheduledPowerOnMonthData
;
2853 EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA MiscVoltagePorbeDescriptionData
;
2854 EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA MiscCoolingDeviceTempLinkData
;
2855 EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA MiscTemperatureProbeDescriptionData
;
2856 EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA MiscElectricalCurrentProbeDescriptionData
;
2857 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
2858 MiscRemoteAccessManufacturerDescriptionData
;
2859 EFI_MISC_BIS_ENTRY_POINT_DATA MiscBisEntryPoint
;
2860 EFI_MISC_BOOT_INFORMATION_STATUS_DATA MiscBootInformationStatus
;
2861 EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA MiscMangementDeviceDescriptionData
;
2862 EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
2863 MiscmangementDeviceComponentDescriptionData
;
2864 EFI_MISC_IPMI_INTERFACE_TYPE_DATA MiscIpmiInterfaceTypeData
;
2865 EFI_MISC_SYSTEM_POWER_SUPPLY_DATA MiscPowerSupplyInfo
;
2866 EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA MiscSmbiosStructEncapsulation
;
2867 EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD MiscManagementDeviceThreshold
;
2868 } EFI_MISC_SUBCLASS_RECORDS
;
2871 /// Inconsistent with specification here:
2872 /// In MemSubclass specification 0.9, the following data structures are NOT defined.
2873 /// It is implementation-specific to simplify the code logic.
2876 EFI_SUBCLASS_TYPE1_HEADER Header
;
2877 EFI_MISC_SUBCLASS_RECORDS Record
;
2878 } EFI_MISC_SUBCLASS_DRIVER_DATA
;
2882 /// Inconsistent with specification here:
2883 /// In DataHubSubclass specification 0.9 page 16, the following symbol is NOT defined.
2884 /// But value is meaningful, 0 means Reserved.
2886 #define EFI_SUBCLASS_INSTANCE_RESERVED 0
2888 /// Inconsistent with specification here:
2889 /// In DataHubSubclass specification 0.9 page 16, the following symbol is NOT defined.
2890 /// But value is meaningful, -1 means Not Applicable.
2892 #define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF