#include <Guid/SystemResourceTable.h>\r
#include <Guid/MicrocodeFmp.h>\r
\r
+#include <IndustryStandard/FirmwareInterfaceTable.h>\r
+\r
#include <Protocol/FirmwareManagement.h>\r
#include <Protocol/MpService.h>\r
\r
BOOLEAN InUse;\r
} MICROCODE_INFO;\r
\r
+typedef struct {\r
+ CPU_MICROCODE_HEADER *MicrocodeEntryPoint;\r
+ UINTN TotalSize;\r
+ BOOLEAN InUse;\r
+ BOOLEAN Empty;\r
+} FIT_MICROCODE_INFO;\r
+\r
typedef struct {\r
UINTN CpuIndex;\r
UINT32 ProcessorSignature;\r
UINTN BspIndex;\r
UINTN ProcessorCount;\r
PROCESSOR_INFO *ProcessorInfo;\r
+ UINT32 FitMicrocodeEntryCount;\r
+ FIT_MICROCODE_INFO *FitMicrocodeInfo;\r
};\r
\r
typedef struct _MICROCODE_FMP_PRIVATE_DATA MICROCODE_FMP_PRIVATE_DATA;\r
\r
-#define MICROCODE_FMP_LAST_ATTEMPT_VARIABLE_NAME L"MicrocodeLastAttempVar"\r
+#define MICROCODE_FMP_LAST_ATTEMPT_VARIABLE_NAME L"MicrocodeLastAttemptVar"\r
\r
/**\r
Returns a pointer to the MICROCODE_FMP_PRIVATE_DATA structure from the input a as Fmp.\r