Fix various typos in comments and documentation.
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <
20200207010831.9046-79-philmd@redhat.com>
from the save state.\r
\r
@retval EFI_SUCCESS The register was read from Save State.\r
from the save state.\r
\r
@retval EFI_SUCCESS The register was read from Save State.\r
- @retval EFI_INVALID_PARAMTER Buffer is NULL.\r
+ @retval EFI_INVALID_PARAMETER Buffer is NULL.\r
@retval EFI_UNSUPPORTED This function does not support reading Register.\r
\r
**/\r
@retval EFI_UNSUPPORTED This function does not support reading Register.\r
\r
**/\r
@param[in] Buffer Upon entry, this holds the new CPU register value.\r
\r
@retval EFI_SUCCESS The register was written to Save State.\r
@param[in] Buffer Upon entry, this holds the new CPU register value.\r
\r
@retval EFI_SUCCESS The register was written to Save State.\r
- @retval EFI_INVALID_PARAMTER Buffer is NULL.\r
+ @retval EFI_INVALID_PARAMETER Buffer is NULL.\r
@retval EFI_UNSUPPORTED This function does not support writing Register.\r
**/\r
EFI_STATUS\r
@retval EFI_UNSUPPORTED This function does not support writing Register.\r
**/\r
EFI_STATUS\r
//\r
ArchRestoreExceptionContext (ExceptionType, SystemContext, ExceptionHandlerData);\r
//\r
//\r
ArchRestoreExceptionContext (ExceptionType, SystemContext, ExceptionHandlerData);\r
//\r
- // Rlease spin lock for ApicId\r
+ // Release spin lock for ApicId\r
//\r
ReleaseSpinLock (&ReservedVectors[ExceptionType].SpinLock);\r
break;\r
//\r
ReleaseSpinLock (&ReservedVectors[ExceptionType].SpinLock);\r
break;\r
IdtEntryCount = (IdtDescriptor.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR);\r
if (IdtEntryCount > CPU_EXCEPTION_NUM) {\r
//\r
IdtEntryCount = (IdtDescriptor.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR);\r
if (IdtEntryCount > CPU_EXCEPTION_NUM) {\r
//\r
- // CPU exeption library only setup CPU_EXCEPTION_NUM exception handler at most\r
+ // CPU exception library only setup CPU_EXCEPTION_NUM exception handler at most\r
//\r
IdtEntryCount = CPU_EXCEPTION_NUM;\r
}\r
//\r
IdtEntryCount = CPU_EXCEPTION_NUM;\r
}\r
- CPU exception handler library implemenation for SMM modules.\r
+ CPU exception handler library implementation for SMM modules.\r
\r
Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
from the save state.\r
\r
@retval EFI_SUCCESS The register was read from Save State.\r
from the save state.\r
\r
@retval EFI_SUCCESS The register was read from Save State.\r
- @retval EFI_INVALID_PARAMTER Buffer is NULL.\r
+ @retval EFI_INVALID_PARAMETER Buffer is NULL.\r
@retval EFI_UNSUPPORTED This function does not support reading Register.\r
\r
**/\r
@retval EFI_UNSUPPORTED This function does not support reading Register.\r
\r
**/\r
@param[in] Buffer Upon entry, this holds the new CPU register value.\r
\r
@retval EFI_SUCCESS The register was written to Save State.\r
@param[in] Buffer Upon entry, this holds the new CPU register value.\r
\r
@retval EFI_SUCCESS The register was written to Save State.\r
- @retval EFI_INVALID_PARAMTER Buffer is NULL.\r
+ @retval EFI_INVALID_PARAMETER Buffer is NULL.\r
@retval EFI_UNSUPPORTED This function does not support writing Register.\r
**/\r
EFI_STATUS\r
@retval EFI_UNSUPPORTED This function does not support writing Register.\r
**/\r
EFI_STATUS\r
- // Copy EndResource for intialization\r
+ // Copy EndResource for initialization\r
//\r
mStmResourcesPtr = (UINT8 *)(UINTN)NewResource;\r
mStmResourceTotalSize = NewResourceSize;\r
//\r
mStmResourcesPtr = (UINT8 *)(UINTN)NewResource;\r
mStmResourceTotalSize = NewResourceSize;\r
/**\r
This function return BIOS STM resource.\r
Produced by SmmStm.\r
/**\r
This function return BIOS STM resource.\r
Produced by SmmStm.\r
- Comsumed by SmmMpService when Init.\r
+ Consumed by SmmMpService when Init.\r
\r
@return BIOS STM resource\r
\r
\r
@return BIOS STM resource\r
\r
- This functin initialize STM configuration table.\r
+ This function initialize STM configuration table.\r
**/\r
VOID\r
StmSmmConfigurationTableInit (\r
**/\r
VOID\r
StmSmmConfigurationTableInit (\r
\r
/**\r
This function fixes up the address of the global variable or function\r
\r
/**\r
This function fixes up the address of the global variable or function\r
- referred in SmiEntry assembly files to be the absoute address.\r
+ referred in SmiEntry assembly files to be the absolute address.\r
%include "StuffRsbNasm.inc"\r
\r
;\r
%include "StuffRsbNasm.inc"\r
\r
;\r
-; Variables referrenced by C code\r
+; Variables referenced by C code\r
;\r
\r
%define MSR_IA32_MISC_ENABLE 0x1A0\r
;\r
\r
%define MSR_IA32_MISC_ENABLE 0x1A0\r