From nobody Sat Feb 7 06:21:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52818+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52818+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578046398; cv=none; d=zohomail.com; s=zohoarc; b=Gs9azj3HKZ9jMfqwYqHao4XZQOM9aw/8kHLbve/xOAEu1Tx0wO7jrBT38wxGdpFvAPvI/0HTjMu95Cq7DWFBUZNEvjSAVvwt7HPS4NyrFUfCxse2Plm9gZWneICvAv1l/yIb8pdmrGlNsTya3flrLbe1PWjRSckVS3m8978YKrs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578046398; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=g/uZ1+OM4T6ZqhOC86HynYS6IHSLdbB0ceX5xQVBUF4=; b=J0dPWmQSvOiR5lX/5ECHHDRJ/FHbKbrN4HnZZ6BNkPP8TDCbCJR99Gtem85egS6PqZfnIUt8Nij9vEVWaKpmFKG8sSpZn1hpp+v5PwiUmEqvd+ZxzGrddlczZWadb+0wTFZwRKS+xtH4qy+crOctuIO/AwuRzBI+vYtspkGiEOo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52818+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 157804639871876.83056676761896; Fri, 3 Jan 2020 02:13:18 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id DNATYY1788612xDL6Oj8OtZc; Fri, 03 Jan 2020 02:13:18 -0800 X-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 X-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 X-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) X-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: [edk2-devel] [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 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,philmd@redhat.com X-Gm-Message-State: NoXrhjwC11aonV5EtwjT4hnsx1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578046398; bh=CmCqGE5V228Kw4rK/XUSnJI5J3BsrI617Fb54s2gpJU=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=Qoa6gzoy2wTG1Dj68D5Iat5OUZmF2G8g+Hcqs1qGoQu8A/T8BHxxvu2yBg+eMlEFBeo HciS8U/ATqcS1fBlsZwzT1IdOirNu+17P8OhEkIjoKwEI+lcgjLq5BGNdyTuAIyCnQRPd QHoS0qOK46qAyxKQScTmeNNfiRyl1b0u2oA= X-ZohoMail-DKIM: pass (identity @groups.io) 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 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52818): https://edk2.groups.io/g/devel/message/52818 Mute This Topic: https://groups.io/mt/69396198/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-