]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
UefiCpuPkg/PiSmmCpuDxeSmm: patch "gSmiCr3" with PatchInstructionX86()
[mirror_edk2.git] / UefiCpuPkg / PiSmmCpuDxeSmm / SmmProfile.h
index 328d2b975821e512538025e2cf1e27d3315741f6..04a3dfb2e85764ea9dca99d83f1e105aea5812ef 100644 (file)
@@ -90,21 +90,9 @@ PageFaultIdtHandlerSmmProfile (
 /**\r
   Check if XD feature is supported by a processor.\r
 \r
-  @param[in,out] Buffer  The pointer to private data buffer.\r
-\r
 **/\r
 VOID\r
-EFIAPI\r
 CheckFeatureSupported (\r
-  IN OUT VOID   *Buffer\r
-  );\r
-\r
-/**\r
-  Enable XD feature.\r
-\r
-**/\r
-VOID\r
-ActivateXd (\r
   VOID\r
   );\r
 \r
@@ -118,15 +106,21 @@ InitPaging (
   );\r
 \r
 /**\r
-  Check if XD and BTS features are supported by all processors.\r
+  Get CPU Index from APIC ID.\r
 \r
 **/\r
-VOID\r
-CheckProcessorFeature (\r
+UINTN\r
+GetCpuIndex (\r
   VOID\r
   );\r
 \r
+//\r
+// The flag indicates if execute-disable is supported by processor.\r
+//\r
 extern BOOLEAN    mXdSupported;\r
+//\r
+// The flag indicates if execute-disable is enabled on processor.\r
+//\r
 extern BOOLEAN    mXdEnabled;\r
 \r
 #endif // _SMM_PROFILE_H_\r