]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/Security/Security.c
MdeModulePkg PeiCore: Fix typos
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Security / Security.c
index 99da505538fa4069a3621594cbe725e8a6efe6e8..8c18ed6cc893d8f598b1ea4d9ef749c35b260704 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   EFI PEI Core Security services\r
 \r
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -20,7 +20,7 @@ EFI_PEI_NOTIFY_DESCRIPTOR mNotifyList = {
 \r
   @param PeiServices     An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.\r
   @param OldCoreData     Pointer to the old core data.\r
-                         NULL if being run in non-permament memory mode.\r
+                         NULL if being run in non-permanent memory mode.\r
 \r
 **/\r
 VOID\r
@@ -76,7 +76,7 @@ SecurityPpiNotifyCallback (
 \r
   @param PrivateData     PeiCore's private data structure\r
   @param VolumeHandle    Handle of FV\r
-  @param FileHandle      Handle of PEIM's ffs\r
+  @param FileHandle      Handle of PEIM's FFS\r
   @param AuthenticationStatus Authentication status\r
 \r
   @retval EFI_SUCCESS              Image is OK\r
@@ -92,7 +92,7 @@ VerifyPeim (
   )\r
 {\r
   EFI_STATUS                      Status;\r
-  BOOLEAN                         DeferExection;\r
+  BOOLEAN                         DeferExecution;\r
 \r
   Status = EFI_NOT_FOUND;\r
   if (PrivateData->PrivateSecurityPpi == NULL) {\r
@@ -114,9 +114,9 @@ VerifyPeim (
                                                 AuthenticationStatus,\r
                                                 VolumeHandle,\r
                                                 FileHandle,\r
-                                                &DeferExection\r
+                                                &DeferExecution\r
                                                 );\r
-    if (DeferExection) {\r
+    if (DeferExecution) {\r
       Status = EFI_SECURITY_VIOLATION;\r
     }\r
   }\r