]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.h
UefiCpuPkg/PiSmmCpuDxeSmm: Add paging protection.
[mirror_edk2.git] / UefiCpuPkg / PiSmmCpuDxeSmm / SmmProfile.h
index 13ff675ba29cbd3d0f591aaecb5a2731d713236a..b6fb5cf34b23e20d388e51bfa2c0a04bb7a44c85 100644 (file)
@@ -96,15 +96,6 @@ CheckFeatureSupported (
   VOID\r
   );\r
 \r
-/**\r
-  Enable XD feature.\r
-\r
-**/\r
-VOID\r
-ActivateXd (\r
-  VOID\r
-  );\r
-\r
 /**\r
   Update page table according to protected memory ranges and the 4KB-page mapped memory ranges.\r
 \r
@@ -114,7 +105,13 @@ InitPaging (
   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