mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg/Smm: Fix various typos
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>
This commit is contained in:
parent
ef62da4ff7
commit
418aded964
|
@ -338,7 +338,7 @@ SmmCpuFeaturesSetSmmRegister (
|
|||
from the save state.
|
||||
|
||||
@retval EFI_SUCCESS The register was read from Save State.
|
||||
@retval EFI_INVALID_PARAMTER Buffer is NULL.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED This function does not support reading Register.
|
||||
|
||||
**/
|
||||
|
@ -364,7 +364,7 @@ SmmCpuFeaturesReadSaveStateRegister (
|
|||
@param[in] Buffer Upon entry, this holds the new CPU register value.
|
||||
|
||||
@retval EFI_SUCCESS The register was written to Save State.
|
||||
@retval EFI_INVALID_PARAMTER Buffer is NULL.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED This function does not support writing Register.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
@ -68,7 +68,7 @@ CommonExceptionHandlerWorker (
|
|||
//
|
||||
ArchRestoreExceptionContext (ExceptionType, SystemContext, ExceptionHandlerData);
|
||||
//
|
||||
// Rlease spin lock for ApicId
|
||||
// Release spin lock for ApicId
|
||||
//
|
||||
ReleaseSpinLock (&ReservedVectors[ExceptionType].SpinLock);
|
||||
break;
|
||||
|
@ -230,7 +230,7 @@ InitializeCpuExceptionHandlersWorker (
|
|||
IdtEntryCount = (IdtDescriptor.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR);
|
||||
if (IdtEntryCount > CPU_EXCEPTION_NUM) {
|
||||
//
|
||||
// CPU exeption library only setup CPU_EXCEPTION_NUM exception handler at most
|
||||
// CPU exception library only setup CPU_EXCEPTION_NUM exception handler at most
|
||||
//
|
||||
IdtEntryCount = CPU_EXCEPTION_NUM;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/** @file
|
||||
CPU exception handler library implemenation for SMM modules.
|
||||
CPU exception handler library implementation for SMM modules.
|
||||
|
||||
Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
|
|
@ -540,7 +540,7 @@ SmmCpuFeaturesSetSmmRegister (
|
|||
from the save state.
|
||||
|
||||
@retval EFI_SUCCESS The register was read from Save State.
|
||||
@retval EFI_INVALID_PARAMTER Buffer is NULL.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED This function does not support reading Register.
|
||||
|
||||
**/
|
||||
|
@ -569,7 +569,7 @@ SmmCpuFeaturesReadSaveStateRegister (
|
|||
@param[in] Buffer Upon entry, this holds the new CPU register value.
|
||||
|
||||
@retval EFI_SUCCESS The register was written to Save State.
|
||||
@retval EFI_INVALID_PARAMTER Buffer is NULL.
|
||||
@retval EFI_INVALID_PARAMETER Buffer is NULL.
|
||||
@retval EFI_UNSUPPORTED This function does not support writing Register.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
@ -913,7 +913,7 @@ AddPiResource (
|
|||
}
|
||||
|
||||
//
|
||||
// Copy EndResource for intialization
|
||||
// Copy EndResource for initialization
|
||||
//
|
||||
mStmResourcesPtr = (UINT8 *)(UINTN)NewResource;
|
||||
mStmResourceTotalSize = NewResourceSize;
|
||||
|
@ -1236,7 +1236,7 @@ LoadMonitor (
|
|||
/**
|
||||
This function return BIOS STM resource.
|
||||
Produced by SmmStm.
|
||||
Comsumed by SmmMpService when Init.
|
||||
Consumed by SmmMpService when Init.
|
||||
|
||||
@return BIOS STM resource
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ GetPiResource (
|
|||
);
|
||||
|
||||
/**
|
||||
This functin initialize STM configuration table.
|
||||
This function initialize STM configuration table.
|
||||
**/
|
||||
VOID
|
||||
StmSmmConfigurationTableInit (
|
||||
|
@ -169,7 +169,7 @@ GetStmResource (
|
|||
|
||||
/**
|
||||
This function fixes up the address of the global variable or function
|
||||
referred in SmiEntry assembly files to be the absoute address.
|
||||
referred in SmiEntry assembly files to be the absolute address.
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
%include "StuffRsbNasm.inc"
|
||||
|
||||
;
|
||||
; Variables referrenced by C code
|
||||
; Variables referenced by C code
|
||||
;
|
||||
|
||||
%define MSR_IA32_MISC_ENABLE 0x1A0
|
||||
|
|
Loading…
Reference in New Issue