2 # This file is used to document mismatches between Intel Platform Innovation Framework specification
3 # (http://www.intel.com/technology/framework/spec.htm) and data structures defind at IntelFrameworkPkg
4 # package in EdkII Open Source Project (https://edk2.tianocore.org/source/browse/edk2/trunk/edk2/IntelFrameworkPkg)
8 # The general consideration about keeping the mismatches in EdkII:
9 # 1. Some definitions defined in Framework specification may bring a little complexity on implementation. EdkII
10 # makes changes on them from the view of code development.
11 # 2. Some definitions are NOT defined in Framework specification, but introduced in Edk. EdkII chooses to keep
12 # them for backward-compatibility.
13 # 3. The name of some definitions are NOT consistent with Framework specification. If the name doesn't bring
14 # misunderstanding literally, EdkII chooses to keep them for backward-compatibility.
15 # 4. Some defintitions don't exactly match Framework specification, some new field members are introduced in EdkII
16 # to reflect the latest industry standard.
19 # The IntelFrameworkPkg contains Framework specification contents that were not adopted by UEFI/PI, and names may be
20 # changed (such as adding "FRAMEWORK_") to avoid name collisions with approved UEFI/PI specifications.
24 # Mismatch with Intel Platform Innovation Framework for DataHubSubclass Specification (Version 0.90)
26 1. Guid/DataHubRecords.h
27 #define EFI_STRING_TOKEN UINT16
29 This macro named "EFI_STRING_TOKEN" is *NOT* defined in Framework specification. Keeping this inconsistency
30 for backward compatibility.
32 2. Guid/DataHubRecords.h
36 } EFI_MISC_LAST_PCI_BUS_DATA;
39 EFI_SUBCLASS_TYPE1_HEADER Header;
40 EFI_MISC_SUBCLASS_RECORDS Record;
41 } EFI_MISC_SUBCLASS_DRIVER_DATA;
44 Section "Alignment" in DataHubSubclass specification say "Fields in a data hub record should be aligned at their
45 natural boundaries". But in EdkII, the data structures above are packed.
46 Keeping this inconsistency for backward compatibility.
48 3. Guid/DataHubRecords.h
49 #define EFI_SUBCLASS_INSTANCE_RESERVED 0
50 #define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF
52 The symbols above are *NOT* defined in DataHubSubclass specification. But the values are defined and are meaningful.
53 According to DataHubSubclass spec, value 0 means Reserved and -1 means Not Applicable. EdkII introduces these macros
54 to faciliate user development.
57 # Mismatch with Intel Platform Innovation Framework for CacheSubclass Specification (Version 0.90)
59 1. Guid/DataHubRecords.h
60 typedef EFI_EXP_BASE2_DATA EFI_MAXIMUM_CACHE_SIZE_DATA;
62 The definition named "EFI_MAXIMUM_CACHE_SIZE_DATA" is *NOT* consistent with CacheSubclass specification, in which
63 the name should be EFI_CACHE_MAXIMUM_SIZE_DATA. Keeping this inconsistency for backward compatibility.
65 2. Guid/DataHubRecords.h
72 UINT32 OperationalMode :2;
74 } EFI_CACHE_CONFIGURATION_DATA;
76 The field type of the definition is *NOT* consistent with CacheSubclass specification. Specification defines
77 them as UINT16, which is incorrect and should be UINT32 because the total width of bit-fields is 32bits width.
79 3. Guid/DataHubRecords.h
81 CacheSizeRecordType = 1,
82 MaximumSizeCacheRecordType = 2,
83 CacheSpeedRecordType = 3,
84 CacheSocketRecordType = 4,
85 CacheSramTypeRecordType = 5,
86 CacheInstalledSramTypeRecordType = 6,
87 CacheErrorTypeRecordType = 7,
88 CacheTypeRecordType = 8,
89 CacheAssociativityRecordType = 9,
90 CacheConfigRecordType = 10
91 } EFI_CACHE_VARIABLE_RECORD_TYPE;
93 The data structure and all enumeration fields are *NOT* defined in CacheSubclass specification, which only
94 defines the following macros to specify the record number of the data record:
95 #define EFI_CACHE_SIZE_RECORD_NUMBER 0x00000001
96 #define EFI_CACHE_MAXIMUM_SIZE_RECORD_NUMBER 0x00000002
97 #define EFI_CACHE_SPEED_RECORD_NUMBER 0x00000003
98 #define EFI_CACHE_SOCKET_RECORD_NUMBER 0x00000004
99 #define EFI_CACHE_SRAM_SUPPORT_RECORD_NUMBER 0x00000005
100 #define EFI_CACHE_SRAM_INSTALL_RECORD_NUMBER 0x00000006
101 #define EFI_CACHE_ERROR_SUPPORT_RECORD_NUMBER 0x00000007
102 #define EFI_CACHE_TYPE_RECORD_NUMBER 0x00000008
103 #define EFI_CACHE_ASSOCIATIVITY_RECORD_NUMBER 0x00000009
104 #define EFI_CACHE_CONFIGURATION_RECORD_NUMBER 0x0000000A
105 Keeping this inconsistency for backward compatibility.
107 4. Guid/DataHubRecords.h
109 EFI_CACHE_SIZE_DATA CacheSize;
111 EFI_CACHE_ASSOCIATION_DATA CacheAssociation;
112 } EFI_CACHE_VARIABLE_RECORD;
115 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader;
116 EFI_CACHE_VARIABLE_RECORD VariableRecord;
117 } EFI_CACHE_DATA_RECORD;
119 The definitions above are *NOT* defined in CacheSubclass specification. EdkII introduces them to simplify the
120 code logic. Therefore developer doesn't need to allocate memory dynamically to construct variable length data record.
121 Keeping this inconsistency for backward compatibility.
124 # Mismatch with Intel Platform Innovation Framework for ProcSubclass Specification (Version 0.90)
126 1. Guid/DataHubRecords.h
127 #define EFI_PROCESSOR_SUBCLASS_VERSION 0x00010000
129 The value of the definition is *NOT* consistent with ProcSubclass specification, in which the value is 0x0100.
130 Keeping this inconsistency from the perspective of binary consistency.
132 2. Guid/DataHubRecords.h
134 UINT32 ProcessorBrandIndex :8;
135 UINT32 ProcessorClflush :8;
136 UINT32 ProcessorReserved :8;
137 UINT32 ProcessorDfltApicId :8;
138 } EFI_PROCESSOR_MISC_INFO;
140 The definition is *NOT* consistent with ProcSubclass specification, in which the name of third field is defined
141 as "LogicalProcessorCount" rather than "ProcessorReserved".
142 Keeping this inconsistency for backward compatibility.
144 3. Guid/DataHubRecords.h
147 EfiProcessorFamilyUltraSparcIIIi = 0x58,
149 EfiProcessorFamilyIntelPentiumM = 0xB9,
150 EfiProcessorFamilyIntelCeleronD = 0xBA,
151 EfiProcessorFamilyIntelPentiumD = 0xBB,
152 EfiProcessorFamilyIntelPentiumEx = 0xBC,
153 EfiProcessorFamilyIntelCoreSolo = 0xBD,
154 EfiProcessorFamilyReserved = 0xBE,
155 EfiProcessorFamilyIntelCore2 = 0xBF,
157 EfiProcessorFamilyG6 = 0xCB,
158 EfiProcessorFamilyzArchitectur = 0xCC,
159 EfiProcessorFamilyViaC7M = 0xD2,
160 EfiProcessorFamilyViaC7D = 0xD3,
161 EfiProcessorFamilyViaC7 = 0xD4,
162 EfiProcessorFamilyViaEden = 0xD5,
164 EfiProcessorFamilyIndicatorFamily2 = 0xFE,
165 EfiProcessorFamilyReserved1 = 0xFF
166 } EFI_PROCESSOR_FAMILY_DATA;
168 a. In ProcSubclass specification 0.9, the field name whose value equals to 0x58 is "EfiProcessorFamilyUltraSparcIIi".
169 Due to the name has been defined in previous field, changing it to "EfiProcessorFamilyUltraSparcIIIi" to avoid
171 b. The other fields listed here are *NOT* defined in ProcSubclass specification 0.9. They are introduced to
172 support new processor family (type 4) defined in SmBios 2.6 specification.
173 Keeping this inconsistency to reflect the latest industry standard.
175 4. Guid/DataHubRecords.h
178 EfiProcessorSocket939 = 0x12,
179 EfiProcessorSocketmPGA604 = 0x13,
180 EfiProcessorSocketLGA771 = 0x14,
181 EfiProcessorSocketLGA775 = 0x15
182 } EFI_PROCESSOR_SOCKET_TYPE_DATA;
184 The fields listed here are *NOT* defined in ProcSubclass specification 0.9. They are introduced to support
185 new processor upgrade (type 4 offset 19h) defined in SmBios 2.6 specification.
186 Keeping this inconsistency to reflect the latest industry standard.
188 5. Guid/DataHubRecords.h
189 typedef EFI_INTER_LINK_DATA EFI_CACHE_ASSOCIATION_DATA;
191 The definition name "EFI_CACHE_ASSOCIATION_DATA" is *NOT* consistent with ProcSubclass specification 0.9, in which
192 the name should be "EFI_PROCESSOR_CACHE_ASSOCIATION_DATA". Keeping this inconsistency for backward compatibility.
194 6. Guid/DataHubRecords.h
196 EfiProcessorHealthy = 1,
197 EfiProcessorPerfRestricted = 2,
198 EfiProcessorFuncRestricted = 3
199 } EFI_PROCESSOR_HEALTH_STATUS;
201 The structure name "EFI_PROCESSOR_HEALTH_STATUS" is *NOT* consistent with ProcSubclass specification 0.9, in which
202 the name should be "EFI_PROCESSOR_HEALTH_STATUS_DATA". Keeping this inconsistency for backward compatibility.
204 7. Guid/DataHubRecords.h
206 ProcessorCoreFrequencyRecordType = 1,
207 ProcessorFsbFrequencyRecordType = 2,
208 ProcessorVersionRecordType = 3,
209 ProcessorManufacturerRecordType = 4,
210 ProcessorSerialNumberRecordType = 5,
211 ProcessorIdRecordType = 6,
212 ProcessorTypeRecordType = 7,
213 ProcessorFamilyRecordType = 8,
214 ProcessorVoltageRecordType = 9,
215 ProcessorApicBaseAddressRecordType = 10,
216 ProcessorApicIdRecordType = 11,
217 ProcessorApicVersionNumberRecordType = 12,
218 CpuUcodeRevisionDataRecordType = 13,
219 ProcessorStatusRecordType = 14,
220 ProcessorSocketTypeRecordType = 15,
221 ProcessorSocketNameRecordType = 16,
222 CacheAssociationRecordType = 17,
223 ProcessorMaxCoreFrequencyRecordType = 18,
224 ProcessorAssetTagRecordType = 19,
225 ProcessorMaxFsbFrequencyRecordType = 20,
226 ProcessorPackageNumberRecordType = 21,
227 ProcessorCoreFrequencyListRecordType = 22,
228 ProcessorFsbFrequencyListRecordType = 23,
229 ProcessorHealthStatusRecordType = 24,
230 ProcessorCoreCountRecordType = 25,
231 ProcessorEnabledCoreCountRecordType = 26,
232 ProcessorThreadCountRecordType = 27,
233 ProcessorCharacteristicsRecordType = 28,
234 ProcessorFamily2RecordType = 29,
235 ProcessorPartNumberRecordType = 30,
236 } EFI_CPU_VARIABLE_RECORD_TYPE;
238 The enumeration fields from ProcessorCoreFrequencyRecordType to ProcessorHealthStatusRecordType are *NOT* defined
239 in ProcSubclass specification 0.9, which only defines the following macros to specify the record number of the data record:
240 #define EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER 0x00000001
241 #define EFI_PROCESSOR_BUS_FREQUENCY_RECORD_NUMBER 0x00000002
242 #define EFI_PROCESSOR_VERSION_RECORD_NUMBER 0x00000003
243 #define EFI_PROCESSOR_MANUFACTURER_RECORD_NUMBER 0x00000004
244 #define EFI_PROCESSOR_SERIAL_NUMBER_RECORD_NUMBER 0x00000005
245 #define EFI_PROCESSOR_ID_RECORD_NUMBER 0x00000006
246 #define EFI_PROCESSOR_TYPE_RECORD_NUMBER 0x00000007
247 #define EFI_PROCESSOR_FAMILY_RECORD_NUMBER 0x00000008
248 #define EFI_PROCESSOR_VOLTAGE_RECORD_NUMBER 0x00000009
249 #define EFI_PROCESSOR_APIC_BASE_ADDRESS_RECORD_NUMBER 0x0000000A
250 #define EFI_PROCESSOR_APIC_ID_RECORD_NUMBER 0x0000000B
251 #define EFI_PROCESSOR_APIC_VER_NUMBER_RECORD_NUMBER 0x0000000C
252 #define EFI_PROCESSOR_MICROCODE_REVISION_RECORD_NUMBER 0x0000000D
253 #define EFI_PROCESSOR_STATUS_RECORD_NUMBER 0x0000000E
254 #define EFI_PROCESSOR_SOCKET_TYPE_RECORD_NUMBER 0x0000000F
255 #define EFI_PROCESSOR_SOCKET_NAME_RECORD_NUMBER 0x00000010
256 #define EFI_PROCESSOR_CACHE_ASSOCIATION_RECORD_NUMBER 0x00000011
257 #define EFI_PROCESSOR_MAX_FREQUENCY_RECORD_NUMBER 0x00000012
258 #define EFI_PROCESSOR_ASSET_TAG_RECORD_NUMBER 0x00000013
259 #define EFI_PROCESSOR_MAX_FSB_FREQUENCY_RECORD_NUMBER 0x00000014
260 #define EFI_PROCESSOR_PACKAGE_NUMBER_RECORD_NUMBER 0x00000015
261 #define EFI_PROCESSOR_FREQUENCY_LIST_RECORD_NUMBER 0x00000016
262 #define EFI_PROCESSOR_FSB_FREQUENCY_LIST_RECORD_NUMBER 0x00000017
263 #define EFI_PROCESSOR_HEALTH_STATUS_RECORD_NUMBER 0x00000018
264 Keeping this inconsistency for backward compatibility.
266 The enumeration fields from ProcessorCoreCountRecordType to ProcessorPartNumberRecordType are *NOT* defined
267 in ProcSubclass specification 0.9.
268 They are introduced to support new fields for type 4 defined in SmBios 2.6 specification.
269 Keeping this inconsistency to reflect the latest industry standard.
271 8. Guid/DataHubRecords.h
273 EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA ProcessorCoreFrequencyList;
275 EFI_PROCESSOR_FAMILY2_DATA ProcessorFamily2;
276 } EFI_CPU_VARIABLE_RECORD;
279 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader;
280 EFI_CPU_VARIABLE_RECORD VariableRecord;
281 } EFI_CPU_DATA_RECORD;
283 The definitions above are *NOT* defined in ProcSubclass specification 0.9. EdkII introduces them to simplify the
284 code logic. Therefore developer doesn't need to allocate memory dynamically to construct variable length data record.
285 Keeping this inconsistency for backward compatibility.
287 9. Guid/DataHubRecords.h
288 typedef STRING_REF EFI_PROCESSOR_PART_NUMBER_DATA;
291 EfiProcessorFamilySh3 = 0x104,
292 EfiProcessorFamilySh4 = 0x105,
293 EfiProcessorFamilyArm = 0x118,
294 EfiProcessorFamilyStrongArm = 0x119,
295 EfiProcessorFamily6x86 = 0x12C,
296 EfiProcessorFamilyMediaGx = 0x12D,
297 EfiProcessorFamilyMii = 0x12E,
298 EfiProcessorFamilyWinChip = 0x140,
299 EfiProcessorFamilyDsp = 0x15E,
300 EfiProcessorFamilyVideo = 0x1F4
301 } EFI_PROCESSOR_FAMILY2_DATA;
303 typedef UINT8 EFI_PROCESSOR_CORE_COUNT_DATA;
305 typedef UINT8 EFI_PROCESSOR_ENABLED_CORE_COUNT_DATA;
307 typedef UINT8 EFI_PROCESSOR_THREAD_COUNT_DATA;
312 UINT16 Capable64Bit :1;
313 UINT16 Reserved2 :13;
314 } EFI_PROCESSOR_CHARACTERISTICS_DATA;
316 The fields listed here are *NOT* defined in ProcSubclass specification 0.9. They are introduced to support
317 new fields for type 4 defined in SmBios 2.6 specification.
318 Keeping this inconsistency to reflect the latest industry standard.
321 # Mismatch with Intel Platform Innovation Framework for MemSubclass Specification (Version 0.90)
323 1. Guid/DataHubRecords.h
324 typedef enum _EFI_MEMORY_FORM_FACTOR {
326 EfiMemoryFormFactorFbDimm = 0x0F
327 } EFI_MEMORY_FORM_FACTOR;
329 typedef enum _EFI_MEMORY_ARRAY_TYPE {
331 EfiMemoryTypeDdr2 = 0x13,
332 EfiMemoryTypeDdr2FbDimm = 0x14
333 } EFI_MEMORY_ARRAY_TYPE;
337 EfiMemoryStatePartial = 6
340 The fields listed above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support
341 new memory device (type 17) defined in SmBios 2.6 specification.
342 Keeping this inconsistency to reflect the latest industry standard.
344 2. Guid/DataHubRecords.h
347 EFI_EXP_BASE10_DATA MemorySpeed;
349 } EFI_MEMORY_ARRAY_LINK_DATA;
351 The field name "MemorySpeed" in the definition above is *NOT* consistent with MemSubclass specification 0.9,
352 in which it is defined as MemoryTypeSpeed. Keeping this inconsistency for backward compatibility.
354 3. Guid/DataHubRecords.h
355 #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER 0x00000008
358 EfiErrorDetectingMethodOther = 1,
359 EfiErrorDetectingMethodUnknown = 2,
360 EfiErrorDetectingMethodNone = 3,
361 EfiErrorDetectingMethodParity = 4,
362 EfiErrorDetectingMethod32Ecc = 5,
363 EfiErrorDetectingMethod64Ecc = 6,
364 EfiErrorDetectingMethod128Ecc = 7,
365 EfiErrorDetectingMethodCrc = 8
366 } EFI_MEMORY_ERROR_DETECT_METHOD_TYPE;
372 UINT8 SingleBitErrorCorrect :1;
373 UINT8 DoubleBitErrorCorrect :1;
374 UINT8 ErrorScrubbing :1;
376 } EFI_MEMORY_ERROR_CORRECT_CAPABILITY;
379 EfiMemoryInterleaveOther = 1,
380 EfiMemoryInterleaveUnknown = 2,
381 EfiMemoryInterleaveOneWay = 3,
382 EfiMemoryInterleaveTwoWay = 4,
383 EfiMemoryInterleaveFourWay = 5,
384 EfiMemoryInterleaveEightWay = 6,
385 EfiMemoryInterleaveSixteenWay = 7
386 } EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE;
395 } EFI_MEMORY_SPEED_TYPE;
401 UINT16 FastPageMode:1;
410 } EFI_MEMORY_SUPPORTED_TYPE;
417 } EFI_MEMORY_MODULE_VOLTAGE_TYPE;
420 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod;
421 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability;
422 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave;
423 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave;
424 UINT8 MaxMemoryModuleSize;
425 EFI_MEMORY_SPEED_TYPE MemorySpeedType;
426 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType;
427 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage;
428 UINT8 NumberofMemorySlot;
429 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability;
430 UINT16 *MemoryModuleConfigHandles;
431 } EFI_MEMORY_CONTROLLER_INFORMATION;
434 EFI_MEMORY_ERROR_DETECT_METHOD_TYPE ErrorDetectingMethod;
435 EFI_MEMORY_ERROR_CORRECT_CAPABILITY ErrorCorrectingCapability;
436 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemorySupportedInterleave;
437 EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE MemoryCurrentInterleave;
438 UINT8 MaxMemoryModuleSize;
439 EFI_MEMORY_SPEED_TYPE MemorySpeedType;
440 EFI_MEMORY_SUPPORTED_TYPE MemorySupportedType;
441 EFI_MEMORY_MODULE_VOLTAGE_TYPE MemoryModuleVoltage;
442 UINT8 NumberofMemorySlot;
443 EFI_MEMORY_ERROR_CORRECT_CAPABILITY EnabledCorrectingCapability;
444 EFI_INTER_LINK_DATA MemoryModuleConfig[1];
445 } EFI_MEMORY_CONTROLLER_INFORMATION_DATA;
447 The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support
448 new memory controller information (type 5) defined in SmBios 2.6 specification.
449 Keeping this inconsistency to reflect the latest industry standard.
451 4. Guid/DataHubRecords.h
452 #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER 0x00000009
455 EfiMemoryErrorOther = 1,
456 EfiMemoryErrorUnknown = 2,
457 EfiMemoryErrorOk = 3,
458 EfiMemoryErrorBadRead = 4,
459 EfiMemoryErrorParity = 5,
460 EfiMemoryErrorSigleBit = 6,
461 EfiMemoryErrorDoubleBit = 7,
462 EfiMemoryErrorMultiBit = 8,
463 EfiMemoryErrorNibble = 9,
464 EfiMemoryErrorChecksum = 10,
465 EfiMemoryErrorCrc = 11,
466 EfiMemoryErrorCorrectSingleBit = 12,
467 EfiMemoryErrorCorrected = 13,
468 EfiMemoryErrorUnCorrectable = 14
469 } EFI_MEMORY_ERROR_TYPE;
472 EfiMemoryGranularityOther = 1,
473 EfiMemoryGranularityOtherUnknown = 2,
474 EfiMemoryGranularityDeviceLevel = 3,
475 EfiMemoryGranularityMemPartitionLevel = 4
476 } EFI_MEMORY_ERROR_GRANULARITY_TYPE;
479 EfiMemoryErrorOperationOther = 1,
480 EfiMemoryErrorOperationUnknown = 2,
481 EfiMemoryErrorOperationRead = 3,
482 EfiMemoryErrorOperationWrite = 4,
483 EfiMemoryErrorOperationPartialWrite = 5
484 } EFI_MEMORY_ERROR_OPERATION_TYPE;
487 EFI_MEMORY_ERROR_TYPE MemoryErrorType;
488 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity;
489 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation;
490 UINT32 VendorSyndrome;
491 UINT32 MemoryArrayErrorAddress;
492 UINT32 DeviceErrorAddress;
493 UINT32 DeviceErrorResolution;
494 } EFI_MEMORY_32BIT_ERROR_INFORMATION;
496 The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support
497 new 32-bit memory error information (type 18) defined in SmBios 2.6 specification.
498 Keeping this inconsistency to reflect the latest industry standard.
500 5. Guid/DataHubRecords.h
501 #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER 0x0000000A
504 EFI_MEMORY_ERROR_TYPE MemoryErrorType;
505 EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity;
506 EFI_MEMORY_ERROR_OPERATION_TYPE MemoryErrorOperation;
507 UINT32 VendorSyndrome;
508 UINT64 MemoryArrayErrorAddress;
509 UINT64 DeviceErrorAddress;
510 UINT32 DeviceErrorResolution;
511 } EFI_MEMORY_64BIT_ERROR_INFORMATION;
513 The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support
514 new 64-bit memory error information (type 33) defined in SmBios 2.6 specification.
515 Keeping this inconsistency to reflect the latest industry standard.
517 6. Guid/DataHubRecords.h
518 typedef union _EFI_MEMORY_SUBCLASS_RECORDS {
519 EFI_MEMORY_SIZE_DATA SizeData;
521 EFI_MEMORY_64BIT_ERROR_INFORMATION Memory64bitErrorInfo;
522 } EFI_MEMORY_SUBCLASS_RECORDS;
525 EFI_SUBCLASS_TYPE1_HEADER Header;
526 EFI_MEMORY_SUBCLASS_RECORDS Record;
527 } EFI_MEMORY_SUBCLASS_DRIVER_DATA;
529 The definitions above are *NOT* defined in MemSubclass specification 0.9. EdkII introduces them to simplify the
530 code logic. Therefore developer doesn't need to allocate memory dynamically to construct variable length data record.
531 Keeping this inconsistency for backward compatibility.
534 # Mismatch with Intel Platform Innovation Framework for MiscSubclass Specification (Version 0.90)
536 1. Guid/DataHubRecords.h
538 typedef struct _USB_PORT_DEVICE_PATH {
539 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
540 PCI_DEVICE_PATH PciBusDevicePath;
541 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
542 } USB_PORT_DEVICE_PATH;
544 typedef struct _IDE_DEVICE_PATH {
545 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
546 PCI_DEVICE_PATH PciBusDevicePath;
547 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
550 typedef struct _RMC_CONN_DEVICE_PATH {
551 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
552 PCI_DEVICE_PATH PciBridgeDevicePath;
553 PCI_DEVICE_PATH PciBusDevicePath;
554 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
555 } RMC_CONN_DEVICE_PATH;
557 typedef struct _RIDE_DEVICE_PATH {
558 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
559 PCI_DEVICE_PATH PciBridgeDevicePath;
560 PCI_DEVICE_PATH PciBusDevicePath;
561 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
564 typedef struct _GB_NIC_DEVICE_PATH {
565 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
566 PCI_DEVICE_PATH PciBridgeDevicePath;
567 PCI_DEVICE_PATH PciXBridgeDevicePath;
568 PCI_DEVICE_PATH PciXBusDevicePath;
569 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
570 } GB_NIC_DEVICE_PATH;
572 typedef struct _PS2_CONN_DEVICE_PATH {
573 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
574 PCI_DEVICE_PATH LpcBridgeDevicePath;
575 ACPI_HID_DEVICE_PATH LpcBusDevicePath;
576 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
577 } PS2_CONN_DEVICE_PATH;
579 typedef struct _SERIAL_CONN_DEVICE_PATH {
580 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
581 PCI_DEVICE_PATH LpcBridgeDevicePath;
582 ACPI_HID_DEVICE_PATH LpcBusDevicePath;
583 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
584 } SERIAL_CONN_DEVICE_PATH;
586 typedef struct _PARALLEL_CONN_DEVICE_PATH {
587 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
588 PCI_DEVICE_PATH LpcBridgeDevicePath;
589 ACPI_HID_DEVICE_PATH LpcBusDevicePath;
590 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
591 } PARALLEL_CONN_DEVICE_PATH;
593 typedef struct _FLOOPY_CONN_DEVICE_PATH {
594 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
595 PCI_DEVICE_PATH LpcBridgeDevicePath;
596 ACPI_HID_DEVICE_PATH LpcBusDevicePath;
597 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
598 } FLOOPY_CONN_DEVICE_PATH;
600 typedef union _EFI_MISC_PORT_DEVICE_PATH {
601 USB_PORT_DEVICE_PATH UsbDevicePath;
602 IDE_DEVICE_PATH IdeDevicePath;
603 RMC_CONN_DEVICE_PATH RmcConnDevicePath;
604 RIDE_DEVICE_PATH RideDevicePath;
605 GB_NIC_DEVICE_PATH GbNicDevicePath;
606 PS2_CONN_DEVICE_PATH Ps2ConnDevicePath;
607 SERIAL_CONN_DEVICE_PATH SerialConnDevicePath;
608 PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath;
609 FLOOPY_CONN_DEVICE_PATH FloppyConnDevicePath;
610 } EFI_MISC_PORT_DEVICE_PATH;
613 a. The definitions above are *NOT* defined in MiscSubclass specifications 0.9. EdkII introduces them to simplify the
614 code logic. Therefore developer doesn't need to allocate memory dynamically to construct variable length device
615 path for various device.
616 Keeping this inconsistency for backward compatibility.
618 b. The definitions above are packed. This way violates the rule of alignment defined in DataHubSubclass specification.
619 Section "Alignment" in DataHubSubclass specification say "Fields in a data hub record should be aligned at their
620 natural boundaries". Keeping this inconsistency for backward compatibility.
622 2. Guid/DataHubRecords.h
625 EFI_MISC_PORT_DEVICE_PATH PortPath;
626 } EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA;
628 The definition is *NOT* consistent with MiscSubclass specification, in which the type of last field is defined as
629 "EFI_DEVICE_PATH_PROTOCOL". The definition in Specification may bring a little complexity on implementation. User
630 have to allocate variable length memory to contain device path info and free them finially.
631 EdkII introduced an union type named EFI_MISC_PORT_DEVICE_PATH to avoid the logic above.
633 3. Guid/DataHubRecords.h
636 UINT8 BiosMajorRelease;
637 UINT8 BiosMinorRelease;
638 UINT8 BiosEmbeddedFirmwareMajorRelease;
639 UINT8 BiosEmbeddedFirmwareMinorRelease;
640 } EFI_MISC_BIOS_VENDOR_DATA;
642 The fields listed above are *NOT* defined in MiscSubclass specification 0.9. They are introduced to support
643 new bios information (type 0) defined in SmBios 2.6 specification.
644 Keeping this inconsistency to reflect the latest industry standard.
646 4. Guid/DataHubRecords.h
649 STRING_REF SystemSKUNumber;
650 STRING_REF SystemFamily;
651 } EFI_MISC_SYSTEM_MANUFACTURER_DATA;
653 The fields listed above are *NOT* defined in MiscSubclass specification 0.9. They are introduced to support
654 new system information (type 1) defined in SmBios 2.6 specification.
655 Keeping this inconsistency to reflect the latest industry standard.
657 5. Guid/DataHubRecords.h
660 EFI_INTER_LINK_DATA ManagementDeviceThresholdLink;
662 } EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA;
664 a. The field "ManagementDeviceThresholdLink" above is *NOT* defined in MiscSubclass specification 0.9. It is introduced to support
665 new management device component (type 35) defined in SmBios 2.6 specification.
666 Keeping this inconsistency to reflect the latest industry standard.
667 b. The field "ComponentType" above is *NOT* defined in MiscSubclass specifications 0.9. It's implementation-specific to simplify the code logic.
668 Keeping this inconsistency for backward compatibility.
670 6. Guid/DataHubRecords.h
672 UINT32 ChassisType :16;
673 UINT32 ChassisLockPresent:1;
675 } EFI_MISC_CHASSIS_STATUS;
677 The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the first field is assigned a wrong field
678 name "EFI_MISC_CHASSIS_TYPE". Due to EFI_MISC_CHASSIS_TYPE has been declared as a data type, it can not be used as a
679 field name again. EdkII changes its name to "ChassisType" to pass build.
681 7. Guid/DataHubRecords.h
684 EfiSlotTypeAgp2X = 0x10,
686 EfiSlotTypePciExpress = 0xA5,
687 EfiSlotTypePciExpressX1 = 0xA6,
688 EfiSlotTypePciExpressX2 = 0xA7,
689 EfiSlotTypePciExpressX4 = 0xA8,
690 EfiSlotTypePciExpressX8 = 0xA9,
691 EfiSlotTypePciExpressX16 = 0xAA
692 } EFI_MISC_SLOT_TYPE;
694 a. The field name "EfiSlotTypeAgp2X" is *NOT* consistent with MiscSubclass specification 0.9, in which it is named
696 From its literal sense, this field represents a AGP type display card, so it should be named as "EfiSlotTypeAgp2X".
697 b. The enumeration fields from "EfiSlotTypePciExpress" to "EfiSlotTypePciExpressX16" are *NOT* defined in MiscSubclass specification 0.9.
698 They are introduced to support new system slots (type 9) defined in SmBios 2.6 specification.
699 Keeping this inconsistency to reflect the latest industry standard.
701 8. Guid/DataHubRecords.h
704 EFI_MISC_ONBOARD_DEVICE_STATUS OnBoardDeviceStatus;
706 } EFI_MISC_ONBOARD_DEVICE_DATA;
708 The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the field "OnBoardDeviceStatus" is
709 named as "OnBoardDeviceType". Keeping this inconsistency for backward compatibility.
711 9. Guid/DataHubRecords.h
712 #define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER 0x00000010
714 The name of the definition is *NOT* consistent with MiscSubclass specification 0.9, in which it is defined as
715 "EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER". Keeping this inconsistency for backward compatibility.
717 10. Guid/DataHubRecords.h
719 EfiPortableBatteryDeviceChemistryOther = 1,
720 EfiPortableBatteryDeviceChemistryUnknown = 2,
721 EfiPortableBatteryDeviceChemistryLeadAcid = 3,
722 EfiPortableBatteryDeviceChemistryNickelCadmium = 4,
723 EfiPortableBatteryDeviceChemistryNickelMetalHydride = 5,
724 EfiPortableBatteryDeviceChemistryLithiumIon = 6,
725 EfiPortableBatteryDeviceChemistryZincAir = 7,
726 EfiPortableBatteryDeviceChemistryLithiumPolymer = 8
727 } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY;
729 The name of the definition is *NOT* consistent with MiscSubclass specification, in which it is defined as
730 "EFI_MISC_BATTERY_DEVICE_CHEMISTRY". And all field names have a redundant "Portable" string compared with MisSubclass
732 Keeping this inconsistency for backward compatibility.
734 11. Guid/DataHubRecords.h
737 STRING_REF Manufacturer;
738 STRING_REF ManufactureDate;
739 STRING_REF SerialNumber;
740 STRING_REF DeviceName;
741 EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY DeviceChemistry;
742 UINT16 DesignCapacity;
743 UINT16 DesignVoltage;
744 STRING_REF SBDSVersionNumber;
746 UINT16 SBDSSerialNumber;
747 UINT16 SBDSManufactureDate;
748 STRING_REF SBDSDeviceChemistry;
749 UINT8 DesignCapacityMultiplier;
753 } EFI_MISC_PORTABLE_BATTERY;
755 The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the structure name is defined as
756 "EFI_MISC_BATTERY_LOCATION_DATA". Moreover, the name and the order of all fields are also different with MiscSubclass
757 specification 0.9. Keeping this inconsistency for backward compatibility.
759 12. Guid/DataHubRecords.h
762 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE;
764 The name of the definition is *NOT* consistent with MiscSubclass specification 0.9, in which it is defined as
765 "EFI_MISC_BOOT_INFORMATION_STATUS_TYPE". Keeping this inconsistency for backward compatibility.
767 13. Guid/DataHubRecords.h
769 EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE BootInformationStatus;
771 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA;
773 The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the type of the first field is
774 "EFI_MISC_BOOT_INFORMATION_STATUS_TYPE". Keeping this inconsistency for backward compatibility.
776 14. Guid/DataHubRecords.h
779 } EFI_MISC_SYSTEM_POWER_SUPPLY_DATA;
781 The name of the definition is *NOT* consistent with MiscSubclass specification 0.9, in which it is defined as
782 "EFI_MISC_POWER_SUPPLY_UNIT_GROUP_DATA". Keeping this inconsistency for backward compatibility.
784 15. Guid/DataHubRecords.h
787 } SMBIOS_STRUCTURE_HDR;
789 The name of the definition is *NOT* consistent with MiscSubclass specification 0.9, in which the structure name
790 is defined as "EFI_SMBIOS_STRUCTURE_HDR". Due to this structure is commonly used by vendor to construct SmBios
791 type 0x80~0xFF table, Keeping this inconsistency for backward compatibility.
793 16. Guid/DataHubRecords.h
795 SMBIOS_STRUCTURE_HDR Header;
797 } EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA;
799 The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the type of the first field is
800 "EFI_SMBIOS_STRUCTURE_HDR". Keeping this inconsistency for backward compatibility.
802 17. Guid/DataHubRecords.h
804 UINT16 PowerSupplyHotReplaceable:1;
805 UINT16 PowerSupplyPresent :1;
806 UINT16 PowerSupplyUnplugged :1;
807 UINT16 InputVoltageRangeSwitch :4;
808 UINT16 PowerSupplyStatus :3;
809 UINT16 PowerSupplyType :4;
811 } EFI_MISC_POWER_SUPPLY_CHARACTERISTICS;
813 all field type in the definition are *NOT* consistent with MiscSubclass specification 0.9, in which it is defined as
814 "UINT32" and the total width of bit-fields is 32bits width.
815 Keeping this inconsistency for backward compatibility.
817 18. Guid/DataHubRecords.h
818 #define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x00000020
821 UINT16 LogAreaLength;
822 UINT16 LogHeaderStartOffset;
823 UINT16 LogDataStartOffset;
826 UINT32 LogChangeToken;
827 UINT32 AccessMethodAddress;
828 UINT8 LogHeaderFormat;
829 UINT8 NumberOfSupportedLogType;
830 UINT8 LengthOfLogDescriptor;
831 } EFI_MISC_SYSTEM_EVENT_LOG_DATA;
833 #define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT 0x00
834 #define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT 0X01
835 #define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT 0X02
836 #define ACCESS_MEMORY_MAPPED 0x03
837 #define ACCESS_GPNV 0x04
839 The definitions listed above are *NOT* defined in MiscSubclass specification 0.9. It is introduced to support
840 new system event log (type 15) defined in SmBios 2.6 specification.
841 Keeping this inconsistency to reflect the latest industry standard.
843 19. Guid/DataHubRecords.h
844 #define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER 0x00000021
847 UINT16 LowerThresNonCritical;
848 UINT16 UpperThresNonCritical;
849 UINT16 LowerThresCritical;
850 UINT16 UpperThresCritical;
851 UINT16 LowerThresNonRecover;
852 UINT16 UpperThresNonRecover;
853 } EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD;
855 The definitions listed above are *NOT* defined in MiscSubclass specification 0.9. It is introduced to support
856 new management device threshold data (type 36) defined in SmBios 2.6 specification.
857 Keeping this inconsistency to reflect the latest industry standard.
859 20. Guid/DataHubRecords.h
861 EFI_MISC_LAST_PCI_BUS_DATA LastPciBus;
863 EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD MiscManagementDeviceThreshold;
864 } EFI_MISC_SUBCLASS_RECORDS;
867 EFI_SUBCLASS_TYPE1_HEADER Header;
868 EFI_MISC_SUBCLASS_RECORDS Record;
869 } EFI_MISC_SUBCLASS_DRIVER_DATA;
871 The definitions above are *NOT* defined in MemSubclass specification 0.9. EdkII introduces them to simplify the
872 code logic. Therefore developer doesn't need to allocate memory dynamically to construct variable length data record.
873 Keeping this inconsistency for backward compatibility.
875 21. Guid/DataHubRecords.h
877 EFI_MISC_COOLING_DEVICE_TYPE CoolingDeviceType;
878 EFI_INTER_LINK_DATA CoolingDeviceTemperatureLink;
879 UINT8 CoolingDeviceUnitGroup;
880 UINT16 CoolingDeviceNominalSpeed;
881 UINT32 CoolingDeviceOemDefined;
882 } EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA;
884 The "CoolingDeviceUnitGroup" field and "CoolingDeviceNominalSpeed" field are *NOT* consistent with
885 MiscSubclass specification 0.9. These fields are aligned with SMBIOS 2.6 specification. And user can easily
886 assign any value to CoolingDeviceNominalSpeed.
888 22. Guid/DataHubRecords.h
891 EfiSlotDataBusWidth1xOrx1 = 0x8,
892 EfiSlotDataBusWidth2xOrx2 = 0x9,
893 EfiSlotDataBusWidth4xOrx4 = 0xA,
894 EfiSlotDataBusWidth8xOrx8 = 0xB,
895 EfiSlotDataBusWidth12xOrx12 = 0xC,
896 EfiSlotDataBusWidth16xOrx16 = 0xD,
897 EfiSlotDataBusWidth32xOrx32 = 0xE
898 } EFI_MISC_SLOT_DATA_BUS_WIDTH;
900 The enumeration fields from "EfiSlotDataBusWidth1xOrx1" to "EfiSlotDataBusWidth32xOrx32" are *NOT* defined in MiscSubclass specification 0.9.
901 They are introduced to support new system slots (type 9) defined in SmBios 2.6 specification.
902 Keeping this inconsistency to reflect the latest industry standard.
904 23. Guid/DataHubRecords.h
907 UINT16 TemperatureProbeMaximumValue;
908 UINT16 TemperatureProbeMinimumValue;
909 UINT16 TemperatureProbeResolution;
910 UINT16 TemperatureProbeTolerance;
911 UINT16 TemperatureProbeAccuracy;
912 UINT16 TemperatureProbeNominalValue;
913 UINT16 MDLowerNoncriticalThreshold;
914 UINT16 MDUpperNoncriticalThreshold;
915 UINT16 MDLowerCriticalThreshold;
916 UINT16 MDUpperCriticalThreshold;
917 UINT16 MDLowerNonrecoverableThreshold;
918 UINT16 MDUpperNonrecoverableThreshold;
920 } EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA;
922 The structure fields from "TemperatureProbeMaximumValue" to "MDUpperNonrecoverableThreshold" are *NOT* consistent with MiscSubclass specification 0.9.
923 The specification defines the fields type as EFI_EXP_BASE10_DATA. In fact, they should be UINT16 type because they refer to 16bit width data.
924 Keeping this inconsistency for backward compatibility.
926 24. Guid/DataHubRecords.h
927 #define EFI_MISC_IPMI_INTERFACE_TYPE_DATA_RECORD_NUMBER EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER
929 The definition above is *NOT* defined in MiscSubclass specifications 0.9. It's defined for backward compatibility.
932 # Mismatch with Intel Platform Innovation Framework for Status Codes Specification (Version 0.92)
934 1. Include/Framework/StatusCode.h
935 #define EFI_IOB_ATA_BUS_SMART_ENABLE (EFI_SUBCLASS_SPECIFIC | 0x00000000)
936 #define EFI_IOB_ATA_BUS_SMART_DISABLE (EFI_SUBCLASS_SPECIFIC | 0x00000001)
937 #define EFI_IOB_ATA_BUS_SMART_OVERTHRESHOLD (EFI_SUBCLASS_SPECIFIC | 0x00000002)
938 #define EFI_IOB_ATA_BUS_SMART_UNDERTHRESHOLD (EFI_SUBCLASS_SPECIFIC | 0x00000003)
940 #define EFI_IOB_ATA_BUS_SMART_NOTSUPPORTED (EFI_SUBCLASS_SPECIFIC | 0x00000000)
941 #define EFI_IOB_ATA_BUS_SMART_DISABLED (EFI_SUBCLASS_SPECIFIC | 0x00000001)
943 #define EFI_SW_DXE_BS_PC_BEGIN_CONNECTING_DRIVERS (EFI_SUBCLASS_SPECIFIC | 0x00000005)
944 #define EFI_SW_DXE_BS_PC_VERIFYING_PASSWORD (EFI_SUBCLASS_SPECIFIC | 0x00000006)
946 #define EFI_SW_DXE_RT_PC_S0 (EFI_SUBCLASS_SPECIFIC | 0x00000000)
947 #define EFI_SW_DXE_RT_PC_S1 (EFI_SUBCLASS_SPECIFIC | 0x00000001)
948 #define EFI_SW_DXE_RT_PC_S2 (EFI_SUBCLASS_SPECIFIC | 0x00000002)
949 #define EFI_SW_DXE_RT_PC_S3 (EFI_SUBCLASS_SPECIFIC | 0x00000003)
950 #define EFI_SW_DXE_RT_PC_S4 (EFI_SUBCLASS_SPECIFIC | 0x00000004)
951 #define EFI_SW_DXE_RT_PC_S5 (EFI_SUBCLASS_SPECIFIC | 0x00000005)
953 #define EFI_SW_CSM_LEGACY_ROM_INIT (EFI_SUBCLASS_SPECIFIC | 0x00000000)
955 The definitions above are *NOT* defined in Framework StatusCodes specification 0.92. But these subclass-specific error code
956 operations are needed for EdkII implementation.
957 Keeping this inconsistency for backward compatibility.
959 2. Include/Framework/StatusCode.h
964 } EFI_STATUS_CODE_STRING;
966 The definition is *NOT* consistent with Framework SatausCodes specification 0.92, in which the first field is defined as "CHAR8 Ascii[]"
967 and the second field is defined as "CHAR16 Unicode[]". Keeping this inconsistency for backward compatibility.
969 3. Include/Framework/StatusCode.h
970 #define EFI_SW_EC_X64_DIVIDE_ERROR EXCEPT_X64_DIVIDE_ERROR
971 #define EFI_SW_EC_X64_DEBUG EXCEPT_X64_DEBUG
972 #define EFI_SW_EC_X64_NMI EXCEPT_X64_NMI
973 #define EFI_SW_EC_X64_BREAKPOINT EXCEPT_X64_BREAKPOINT
974 #define EFI_SW_EC_X64_OVERFLOW EXCEPT_X64_OVERFLOW
975 #define EFI_SW_EC_X64_BOUND EXCEPT_X64_BOUND
976 #define EFI_SW_EC_X64_INVALID_OPCODE EXCEPT_X64_INVALID_OPCODE
977 #define EFI_SW_EC_X64_DOUBLE_FAULT EXCEPT_X64_DOUBLE_FAULT
978 #define EFI_SW_EC_X64_INVALID_TSS EXCEPT_X64_INVALID_TSS
979 #define EFI_SW_EC_X64_SEG_NOT_PRESENT EXCEPT_X64_SEG_NOT_PRESENT
980 #define EFI_SW_EC_X64_STACK_FAULT EXCEPT_X64_STACK_FAULT
981 #define EFI_SW_EC_X64_GP_FAULT EXCEPT_X64_GP_FAULT
982 #define EFI_SW_EC_X64_PAGE_FAULT EXCEPT_X64_PAGE_FAULT
983 #define EFI_SW_EC_X64_FP_ERROR EXCEPT_X64_FP_ERROR
984 #define EFI_SW_EC_X64_ALIGNMENT_CHECK EXCEPT_X64_ALIGNMENT_CHECK
985 #define EFI_SW_EC_X64_MACHINE_CHECK EXCEPT_X64_MACHINE_CHECK
986 #define EFI_SW_EC_X64_SIMD EXCEPT_X64_SIMD
988 The definitions are *NOT* defined in Framework StatusCodes specification 0.92, in which IA32 and IPF exception subclass error code definitions
989 are defined but omit the corresponding definitions for X64. EdkII introduce these definitions for implementation.
992 # Mismatch with Intel Platform Innovation Framework for EFI Boot Script Specification (Version 0.91)
994 1. Include/Protocol/BootScriptSave.h
995 #define EFI_BOOT_SCRIPT_SAVE_PROTOCOL_GUID \
997 0x470e1529, 0xb79e, 0x4e32, {0xa0, 0xfe, 0x6a, 0x15, 0x6d, 0x29, 0xf9, 0xb2 } \
1000 The macro name "EFI_BOOT_SCRIPT_SAVE_PROTOCOL_GUID" is *NOT* consistent with Framework BootScript specification 0.91,
1001 in which it's defined as "EFI_BOOT_SCRIPT_SAVE_GUID". Keeping this inconsistency for backward compatibility.
1003 2. Include/Protocol/BootScriptSave.h
1006 (EFIAPI *EFI_BOOT_SCRIPT_WRITE) (
1007 IN EFI_BOOT_SCRIPT_SAVE_PROTOCOL *This,
1011 The first parameter's type is *NOT* consistent with Framework BootScript specification 0.91, in which it's defined as
1012 "struct _EFI_BOOT_SCRIPT_SAVE_PROTOCOL". Keeping this inconsistency for backward compatibility.
1014 3. Include/Framework/BootScript.h
1015 #define EFI_BOOT_SCRIPT_MEM_POLL_OPCODE 0x09
1016 #define EFI_BOOT_SCRIPT_INFORMATION_OPCODE 0x0A
1017 #define EFI_BOOT_SCRIPT_PCI_CONFIG2_WRITE_OPCODE 0x0B
1018 #define EFI_BOOT_SCRIPT_PCI_CONFIG2_READ_WRITE_OPCODE 0x0C
1019 #define EFI_BOOT_SCRIPT_DISPATCH_2_OPCODE 0x0D
1021 The OPCODEs above are not defined in Framework BootScript Specification 0.91, but adopted by PI 1.0 Spec. And they
1022 are needed for EdkII implementation.
1024 4. Include/Framework/BootScript.h
1025 #define EFI_BOOT_SCRIPT_TABLE_OPCODE 0xAA
1026 #define EFI_BOOT_SCRIPT_TERMINATE_OPCODE 0xFF
1028 The two OPCODEs are *NOT* defined in Framework BootScript specification 0.91. EdkII introduces them to indicate the start
1029 or end of the boot script table.
1030 Keeping this inconsistency for backward compatibility.
1032 5. Include/Protocol/BootScriptSave.h
1035 (EFIAPI *EFI_BOOT_SCRIPT_CLOSE_TABLE) (
1036 IN EFI_BOOT_SCRIPT_SAVE_PROTOCOL *This,
1040 The first parameter's type is *NOT* consistent with BootScript specification, in which it's defined as
1041 "struct _EFI_BOOT_SCRIPT_SAVE_PROTOCOL". Keeping this inconsistency for backward compatibility.
1043 6. Include/Include/BootScriptExecuter.h
1046 (EFIAPI *EFI_PEI_BOOT_SCRIPT_EXECUTE)(
1047 IN EFI_PEI_SERVICES **PeiServices,
1048 IN EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI *This,
1052 The second parameter's type is *NOT* consistent with BootScript specification, in which it's defined as
1053 "struct _EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI". Keeping this inconsistency for backward compatibility.
1056 # Mismatch with Intel Platform Innovation Framework for EFI DXE CIS (Version 0.91)
1058 1. Include/Framework/DxeCis.h
1059 EFI_STATUS_CODE_ARCH_PROTOCOL is removed.
1061 EdkII doesn't provide EFI_STATUS_CODE_ARCH_PROTOCOL definition due to ReportStatusCode() field has been
1062 removed from EFI Runtime Service Table of PI specification. EFI_STATUS_CODE_ARCH_PROTOCOL is *NOT* required,
1063 and is replaced with EFI_STATUS_CODE_RUNTIME_PROTOCOL.
1066 # Mismatch with Intel Platform Innovation Framework for EFI Firmware Volume Specification (Version 0.9)
1068 1. Include/Framework/FirmwareVolumeImageFormat.h
1069 #define EFI_AGGREGATE_AUTH_STATUS_ALL 0x00000f
1070 #define EFI_LOCAL_AUTH_STATUS_ALL 0x0f0000
1072 The two macros are *NOT* defined in Framework FV specification 0.9. EdkII introduces them as a mask to calculate the
1073 value of authentication status.
1076 # Mismatch with Intel Platform Innovation Framework for EFI Human Interface Infrastructure Specification (Version 0.92)
1078 1. Include/Protocol/FrameworkHii.h
1079 #define EFI_HII_PROTOCOL_GUID \
1081 0xd7ad636e, 0xb997, 0x459b, {0xbf, 0x3f, 0x88, 0x46, 0x89, 0x79, 0x80, 0xe1} \
1084 The Framework HII specification 0.92 changed part of HII interfaces but did not update the protocol GUID.
1085 This change should cause a change of GUID in both of code and HII spec. EdkII updates the GUID in code,
1086 but the Framework HII specification 0.92 is not updated. This is a known issue.
1088 2. Include/Protocol/FrameworkHii.h
1091 EFI_HANDLE COBExportHandle;
1092 } EFI_HII_HANDLE_PACK;
1094 The last field "COBExportHandle" of EFI_HII_HANDLE_PACK is *NOT* defined in the Framework HII specification
1095 0.92. Keeping this inconsistency for backward compatibility.
1097 3. Include/Protocol/FrameworkHii.h
1099 UINTN NumberOfPackages;
1103 The definition is *NOT* consistent with Framework HII specification 0.92, in which a field "HandlePack" is defined.
1104 EdkII changes the EFI_HII_PACKAGES to contain various number of packages of different types just after the structure
1105 as inline data, which will bring the flexibility on development.
1107 4. Include/Protocol/FrameworkHii.h
1108 struct _EFI_HII_PROTOCOL {
1110 EFI_HII_RESET_STRINGS ResetStrings;
1114 The field listed above is *NOT* defined in Framework HII specification 0.92. EdkII adds this field to provide
1115 an ability of removing any new strings that were added after the initial string export for this handle.
1117 5. Include/Protocol/FrameworkHii.h
1120 (EFIAPI *EFI_HII_GLYPH_TO_BLT)(
1122 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL Foreground,
1123 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL Background,
1125 IN OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer
1128 The type of the parameters listed above are *NOT* consistent with Framework HII specification 0.92, in which
1129 the type of these parameters is EFI_UGA_PIXEL. Here the definition uses the EFI_GRAPHICS_OUTPUT_BLT_PIXEL which
1130 defined in UEFI2.1 spec. Keeping this inconsistency for backward compatibility.
1132 6. Include/Protocol/FrameworkHii.h
1134 FRAMEWORK_EFI_IFR_OP_HEADER Header;
1139 FRAMEWORK_EFI_IFR_OP_HEADER Header;
1144 FRAMEWORK_EFI_IFR_OP_HEADER Header;
1147 } EFI_IFR_INCONSISTENT;
1150 FRAMEWORK_EFI_IFR_OP_HEADER Header;
1154 } FRAMEWORK_EFI_IFR_EQ_ID_VAL;
1157 FRAMEWORK_EFI_IFR_OP_HEADER Header;
1161 UINT16 ValueList[1];
1162 } FRAMEWORK_EFI_IFR_EQ_ID_LIST;
1165 FRAMEWORK_EFI_IFR_OP_HEADER Header;
1169 } FRAMEWORK_EFI_IFR_EQ_ID_ID;
1172 FRAMEWORK_EFI_IFR_OP_HEADER Header;
1175 } EFI_IFR_EQ_VAR_VAL;
1177 The defintions are not complied with Framework HII spec 0.92. Keeping the inconsistent for implementation needed.
1179 7. Include/Protocol/FrameworkFormCallback.h
1180 #define RESET_REQUIRED 1
1181 #define EXIT_REQUIRED 2
1182 #define SAVE_REQUIRED 4
1183 #define NV_CHANGED 8
1184 #define NV_NOT_CHANGED 16
1186 These macros are *NOT* defined in the Framework HII specification 0.92. These Flags are introduced to describe
1187 the standard behavior of the browser after the callback.
1188 Keeping this inconsistency for backward compatibility.
1190 8. Include/Protocol/FrameworkFormCallback.h
1193 (EFIAPI *EFI_NV_WRITE)(
1195 IN UINT32 Attributes,
1199 The definition is *NOT* consistent with Framework HII specification 0.92, in which the type of Attributes
1200 parameter is defined as "UINT32 *". EdkII changes the type of Attributes from UINT32 * to UINT32 because
1201 the input paramter is not necessary to use pointer date type.
1204 # Mismatch with Intel Platform Innovation Framework for PEI CIS Specification (Version 0.91)
1206 1. Include/Ppi/ReadOnlyVariable.h
1207 #define EFI_VARIABLE_READ_ONLY 0x00000008
1209 In Framework PeiCis specification 0.91, neither the macro or its value is defined.
1210 Keeping this inconsistency for backward compatibility.
1212 2. Include/Ppi/FindFv.h
1215 (EFIAPI *EFI_PEI_FIND_FV_FINDFV)(
1216 IN EFI_PEI_FIND_FV_PPI *This,
1217 IN EFI_PEI_SERVICES **PeiServices,
1219 IN OUT EFI_FIRMWARE_VOLUME_HEADER **FVAddress
1222 The definition is *NOT* consistent with Framework PeiCis specification 0.91. Compared with spec, the order
1223 of the first and second parameters is reversed. Keeping this inconsistency for backward compatibility.
1226 # Mismatch with Intel Platform Innovation Framework for EFI SMM CIS (Version 0.91)
1228 1. Include/Guid/SmramMemoryReserve.h
1230 UINT32 NumberOfSmmReservedRegions;
1232 } EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;
1234 1) The name of the definition is *NOT* consistent with Framework SmmCis specification 0.91, in which it's
1235 defined as "EFI_HOB_SMRAM_DESCRIPTOR_BLOCK" rather than "EFI_SMRAM_HOB_DESCRIPTOR_BLOCK".
1236 Keeping this inconsistency for backward compatibility.
1238 2) The definition of NumberOfSmmReservedRegions is *NOT* consistent with Framework SmmCis specification 0.91,
1239 in which the type of this field is defined as UINTN. However, HOBs are supposed to be CPU neutral, so UINTN
1240 is incorrect and UINT32 should be used.
1242 2. Include/Guid/SmramMemoryReserve.h
1255 } EFI_SMM_ICHN_SMI_TYPE;
1257 The enumeration fields listed above are *NOT* defined in Framework SmmCis specification 0.91. EdkII introduces
1258 these fields to support new SMI types.
1260 3. Include/Framework/SmmCis.h
1263 /// The processor save-state information for IA-32 processors.
1265 EFI_SMI_CPU_SAVE_STATE Ia32SaveState;
1267 /// Note: Inconsistency with the Framework SMM CIS spec - Itanium save state not included.
1269 /// The processor save-state information for Itanium processors.
1271 /// EFI_PMI_SYSTEM_CONTEXT ItaniumSaveState;
1272 } EFI_SMM_CPU_SAVE_STATE;
1275 # Mismatch with Intel Platform Innovation Framework for EFI S3 Resume Boot Path Specification (Version 0.9)
1277 1. Include/Protocol/AcpiS3Save.h
1281 (EFIAPI *EFI_ACPI_GET_LEGACY_MEMORY_SIZE) (
1282 IN EFI_ACPI_S3_SAVE_PROTOCOL *This,
1286 The first parameter's type is *NOT* consistent with Framework S3Resume specification, in which it's defined as
1287 "struct _EFI_ACPI_S3_SAVE_PROTOCOL". Keeping this inconsistency for backward compatibility.
1289 2. Include/Protocol/AcpiS3Save.h
1292 (EFIAPI *EFI_ACPI_S3_SAVE) (
1293 IN EFI_ACPI_S3_SAVE_PROTOCOL *This,
1294 IN VOID *LegacyMemoryAddress
1297 The first parameter's type is *NOT* consistent with Framework S3Resume specification, in which it's defined as
1298 "struct _EFI_ACPI_S3_SAVE_PROTOCOL". Also the EFI_BOOTSERVICE modifier is removed from the function declaration.
1300 3. Include/Protocol/AcpiS3Save.h
1303 (EFIAPI *EFI_ACPI_GET_LEGACY_MEMORY_SIZE)(
1304 IN EFI_ACPI_S3_SAVE_PROTOCOL *This,
1308 The first parameter's type is *NOT* consistent with Framework S3Resume specification, in which it's defined as
1309 "struct _EFI_ACPI_S3_SAVE_PROTOCOL". Also the EFI_BOOTSERVICE modifier is removed from the function declaration.
1312 # Mismatch with Intel Platform Innovation Framework for EFI ACPI Specification (Version 0.91)
1314 1. Include/Protocol/AcpiSupport.h
1317 (EFIAPI *EFI_ACPI_GET_ACPI_TABLE)(
1321 The function modifier is *NOT* consistent with Framework Acpi specification. The EFI_BOOTSERVICE modifier
1322 is removed from the function declaration.
1324 2. Include/Protocol/AcpiSupport.h
1327 (EFIAPI *EFI_ACPI_SET_ACPI_TABLE)(
1331 The function modifier is *NOT* consistent with Framework Acpi specification. The EFI_BOOTSERVICE modifier
1332 is removed from the function declaration.
1334 3. Include/Protocol/AcpiSupport.h
1337 (EFIAPI *EFI_ACPI_PUBLISH_TABLES)(
1341 The function modifier is *NOT* consistent with Framework Acpi specification. The EFI_BOOTSERVICE modifier
1342 is removed from the function declaration.