]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmmProfileArch.c
UefiCpuPkg/PiSmmCpuDxeSmm: Add paging protection.
[mirror_edk2.git] / UefiCpuPkg / PiSmmCpuDxeSmm / Ia32 / SmmProfileArch.c
index 767cb6908b391472fd7e839a70ca52dda78201c6..724cd92c9c942291e05e5bf1d2f04a1fbe4ddc0b 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 IA-32 processor specific functions to enable SMM profile.\r
 \r
-Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -24,7 +24,7 @@ InitSmmS3Cr3 (
   VOID\r
   )\r
 {\r
-  mSmmS3ResumeState->SmmS3Cr3 = Gen4GPageTable (0, TRUE);\r
+  mSmmS3ResumeState->SmmS3Cr3 = Gen4GPageTable (TRUE);\r
 \r
   return ;\r
 }\r