From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web12.2240.1578046397744224054 for ; Fri, 03 Jan 2020 02:13:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W747tfu2; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578046396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e9+odCQXDVdvv1xtQpNnOGid+CtEZ3BqcwmCllm2STQ=; b=W747tfu2U+ya1Aojp/7rQTbkuoHcJQFM9w9JjQM/wP7TUzNTs5mqcfu5UP1eW6eb8//RwC svolOwjnKqxDBWxFTOtSyZKN7Pq5oRtBbXtt+mhJGIg7iyoJutw5TKuV4EryQeGdSXrtDx zgcczFmLJ/iS0gOdeYIwJmtHHHiLdXw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-126-8Dpeb_sqMWKUdmSfpk9dBA-1; Fri, 03 Jan 2020 05:13:15 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4B768800D41; Fri, 3 Jan 2020 10:13:14 +0000 (UTC) Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AB72B84663; Fri, 3 Jan 2020 10:13:09 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Eric Dong , Ray Ni , Laszlo Ersek , Philippe Mathieu-Daude Subject: [PATCH v2 78/78] UefiCpuPkg/Smm: Fix various typos Date: Fri, 3 Jan 2020 10:08:12 +0100 Message-Id: <20200103090812.10592-79-philmd@redhat.com> In-Reply-To: <20200103090812.10592-1-philmd@redhat.com> References: <20200103090812.10592-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: 8Dpeb_sqMWKUdmSfpk9dBA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix various typos in comments and documentation. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Laszlo Ersek Reviewed-by: Eric Dong Signed-off-by: Philippe Mathieu-Daude --- UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h | 4 ++-- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.h | 4 ++-- .../Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 4 ++-- UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmException.c | 2 +- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c | 4 ++-- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c | 4 ++-- UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h b/UefiCpuPkg/In= clude/Library/SmmCpuFeaturesLib.h index 39ca304b31e6..dbcd57e0ad42 100644 --- a/UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h +++ b/UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h @@ -338,7 +338,7 @@ SmmCpuFeaturesSetSmmRegister ( from the save state. =20 @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 Reg= ister. =20 **/ @@ -364,7 +364,7 @@ SmmCpuFeaturesReadSaveStateRegister ( @param[in] Buffer Upon entry, this holds the new CPU register value. =20 @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 Reg= ister. **/ EFI_STATUS diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.h b/UefiCpuPkg/Lib= rary/SmmCpuFeaturesLib/SmmStm.h index 018e918360d3..da551cc4a6a6 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.h +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.h @@ -138,7 +138,7 @@ GetPiResource ( ); =20 /** - This functin initialize STM configuration table. + This function initialize STM configuration table. **/ VOID StmSmmConfigurationTableInit ( @@ -169,7 +169,7 @@ GetStmResource ( =20 /** 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 diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuExceptio= n.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c index 72c2aeca4c13..6a2670d55918 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c @@ -68,7 +68,7 @@ CommonExceptionHandlerWorker ( // ArchRestoreExceptionContext (ExceptionType, SystemContext, Excepti= onHandlerData); // - // Rlease spin lock for ApicId + // Release spin lock for ApicId // ReleaseSpinLock (&ReservedVectors[ExceptionType].SpinLock); break; @@ -230,7 +230,7 @@ InitializeCpuExceptionHandlersWorker ( IdtEntryCount =3D (IdtDescriptor.Limit + 1) / sizeof (IA32_IDT_GATE_DESC= RIPTOR); 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 handle= r at most // IdtEntryCount =3D CPU_EXCEPTION_NUM; } diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmException.c b/Uef= iCpuPkg/Library/CpuExceptionHandlerLib/SmmException.c index ec705fc489af..e7977d49b771 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmException.c +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmException.c @@ -1,5 +1,5 @@ /** @file - CPU exception handler library implemenation for SMM modules. + CPU exception handler library implementation for SMM modules. =20 Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c b/Uef= iCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c index bddb7a219ce4..a00786a8ebef 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c @@ -540,7 +540,7 @@ SmmCpuFeaturesSetSmmRegister ( from the save state. =20 @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 Reg= ister. =20 **/ @@ -569,7 +569,7 @@ SmmCpuFeaturesReadSaveStateRegister ( @param[in] Buffer Upon entry, this holds the new CPU register value. =20 @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 Reg= ister. **/ EFI_STATUS diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c b/UefiCpuPkg/Lib= rary/SmmCpuFeaturesLib/SmmStm.c index 52a376c27db1..f7f8afacffb5 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c @@ -913,7 +913,7 @@ AddPiResource ( } =20 // - // Copy EndResource for intialization + // Copy EndResource for initialization // mStmResourcesPtr =3D (UINT8 *)(UINTN)NewResource; mStmResourceTotalSize =3D 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. =20 @return BIOS STM resource =20 diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm b/UefiC= puPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm index 5ee846e4f9ea..f09d8df1e6bc 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/X64/SmiEntry.nasm @@ -15,7 +15,7 @@ %include "StuffRsbNasm.inc" =20 ; -; Variables referrenced by C code +; Variables referenced by C code ; =20 %define MSR_IA32_MISC_ENABLE 0x1A0 --=20 2.21.0