]> 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 13ff675ba29cbd3d0f591aaecb5a2731d713236a..04a3dfb2e85764ea9dca99d83f1e105aea5812ef 100644 (file)
@@ -97,24 +97,30 @@ CheckFeatureSupported (
   );\r
 \r
 /**\r
-  Enable XD feature.\r
+  Update page table according to protected memory ranges and the 4KB-page mapped memory ranges.\r
 \r
 **/\r
 VOID\r
-ActivateXd (\r
+InitPaging (\r
   VOID\r
   );\r
 \r
 /**\r
-  Update page table according to protected memory ranges and the 4KB-page mapped memory ranges.\r
+  Get CPU Index from APIC ID.\r
 \r
 **/\r
-VOID\r
-InitPaging (\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