]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgentLib.c
SourceLevelDebugPkg/DebugAgent: Fix various typos
[mirror_edk2.git] / SourceLevelDebugPkg / Library / DebugAgent / SecPeiDebugAgent / SecPeiDebugAgentLib.c
index da2a75e912461102442a21aa546dd3e0c4e58ed0..51e07f70e7bb7ed92da0a36f42f4fcdd2aa825e3 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  SEC Core Debug Agent Library instance implementition.\r
+  SEC Core Debug Agent Library instance implementation.\r
 \r
   Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
@@ -198,7 +198,7 @@ GetMailboxPointer (
 \r
   MailboxLocationInHob = GetMailboxLocationFromHob ();\r
   //\r
-  // Compare mailbox in IDT enry with mailbox in HOB,\r
+  // Compare mailbox in IDT entry with mailbox in HOB,\r
   // need to fix mailbox location if HOB moved by PEI CORE\r
   //\r
   if (MailboxLocationInHob != MailboxLocationInIdt && MailboxLocationInHob != NULL) {\r
@@ -323,7 +323,7 @@ DebugAgentCallbackMemoryDiscoveredPpi (
 \r
   This function is used to set up debug environment for SEC and PEI phase.\r
 \r
-  If InitFlag is DEBUG_AGENT_INIT_PREMEM_SEC, it will overirde IDT table entries\r
+  If InitFlag is DEBUG_AGENT_INIT_PREMEM_SEC, it will override IDT table entries\r
   and initialize debug port. It will enable interrupt to support break-in feature.\r
   It will set up debug agent Mailbox in cache-as-ramfrom. It will be called before\r
   physical memory is ready.\r
@@ -546,7 +546,7 @@ InitializeDebugAgent (
     SetDebugFlag (DEBUG_AGENT_FLAG_INIT_ARCH, DEBUG_ARCH_SYMBOL);\r
     //\r
     // Register for a callback once memory has been initialized.\r
-    // If memery has been ready, the callback funtion will be invoked immediately\r
+    // If memory has been ready, the callback function will be invoked immediately\r
     //\r
     Status = PeiServicesNotifyPpi (&mDebugAgentMemoryDiscoveredNotifyList[0]);\r
     if (EFI_ERROR (Status)) {\r
@@ -626,7 +626,7 @@ InitializeDebugAgent (
     EnableInterrupts ();\r
   }\r
   //\r
-  // If Function is not NULL, invoke it always whatever debug agent was initialized sucesssfully or not.\r
+  // If Function is not NULL, invoke it always whatever debug agent was initialized successfully or not.\r
   //\r
   if (Function != NULL) {\r
     Function (Context);\r