/** @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
\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
\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
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
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