#include <Library/MtrrLib.h>\r
#include <Library/HobLib.h>\r
\r
+#include <Guid/MicrocodePatchHob.h>\r
+\r
#include <IndustryStandard/FirmwareInterfaceTable.h>\r
\r
\r
IN OUT CPU_MP_DATA *CpuMpData\r
);\r
\r
+/**\r
+ Get the cached microcode patch base address and size from the microcode patch\r
+ information cache HOB.\r
+\r
+ @param[out] Address Base address of the microcode patches data.\r
+ It will be updated if the microcode patch\r
+ information cache HOB is found.\r
+ @param[out] RegionSize Size of the microcode patches data.\r
+ It will be updated if the microcode patch\r
+ information cache HOB is found.\r
+\r
+ @retval TRUE The microcode patch information cache HOB is found.\r
+ @retval FALSE The microcode patch information cache HOB is not found.\r
+\r
+**/\r
+BOOLEAN\r
+GetMicrocodePatchInfoFromHob (\r
+ UINT64 *Address,\r
+ UINT64 *RegionSize\r
+ );\r
+\r
/**\r
Detect whether Mwait-monitor feature is supported.\r
\r