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.web11.7115.1581041548380093468 for ; Thu, 06 Feb 2020 18:12:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XdmIh0Sk; 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=1581041547; 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=GNsTzUBaf6N5pVPkdEH93XvhaZmS26S9rfJCrmSEaX4=; b=XdmIh0SkZrdV7JAOfXWL6W7MbdgHyEqOqCTVGv7g1pyjtCbHQCtUlz9WWreJbiA5u4kWzx wSxEaIimN8kU2EtN6niAzWW55EOYD4u1d8wYWNpSBwjeHniZHvccdtdmiPdVHIohUHoT5F I34fJb8l4aAOiwyGR+8vcwggmVtsI4c= 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-272-U2VN3tBBMl6NTdESjZYRTQ-1; Thu, 06 Feb 2020 21:12:25 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7C0C6801F74; Fri, 7 Feb 2020 02:12:24 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-120.brq.redhat.com [10.40.204.120]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 69C7360BEC; Fri, 7 Feb 2020 02:12:23 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [PATCH v3 76/78] UefiCpuPkg/CpuDxe: Fix few typos Date: Fri, 7 Feb 2020 02:08:29 +0100 Message-Id: <20200207010831.9046-77-philmd@redhat.com> In-Reply-To: <20200207010831.9046-1-philmd@redhat.com> References: <20200207010831.9046-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: U2VN3tBBMl6NTdESjZYRTQ-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix few 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/CpuDxe/CpuDxe.h | 2 +- UefiCpuPkg/CpuDxe/CpuGdt.h | 2 +- UefiCpuPkg/CpuDxe/CpuMp.h | 4 ++-- UefiCpuPkg/CpuDxe/CpuPageTable.h | 2 +- UefiCpuPkg/CpuDxe/CpuDxe.c | 8 ++++---- UefiCpuPkg/CpuDxe/CpuGdt.c | 2 +- UefiCpuPkg/CpuDxe/CpuMp.c | 4 ++-- UefiCpuPkg/CpuDxe/CpuPageTable.c | 6 +++--- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.h b/UefiCpuPkg/CpuDxe/CpuDxe.h index a6762f1a0b78..9299eaa63d8a 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.h +++ b/UefiCpuPkg/CpuDxe/CpuDxe.h @@ -208,7 +208,7 @@ CpuGetTimerValue ( ); =20 /** - Set memory cacheability attributes for given range of memeory. + Set memory cacheability attributes for given range of memory. =20 @param This Protocol instance structure @param BaseAddress Specifies the start address of the diff --git a/UefiCpuPkg/CpuDxe/CpuGdt.h b/UefiCpuPkg/CpuDxe/CpuGdt.h index e5c36f37b96a..3a0210b2f172 100644 --- a/UefiCpuPkg/CpuDxe/CpuGdt.h +++ b/UefiCpuPkg/CpuDxe/CpuGdt.h @@ -1,5 +1,5 @@ /** @file - C based implemention of IA32 interrupt handling only + C based implementation of IA32 interrupt handling only requiring a minimal assembly interrupt entry point. =20 Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
diff --git a/UefiCpuPkg/CpuDxe/CpuMp.h b/UefiCpuPkg/CpuDxe/CpuMp.h index e7e115fc8f3d..4ee171d8c491 100644 --- a/UefiCpuPkg/CpuDxe/CpuMp.h +++ b/UefiCpuPkg/CpuDxe/CpuMp.h @@ -147,7 +147,7 @@ GetProcessorInfo ( and releases the BSP to continue with other tasks. -# The caller can use the CheckEvent() and WaitForEvent() services to = check the state of the WaitEvent created in step 1. - -# When the APs complete their task or TimeoutInMicroSecondss expires,= the MP + -# When the APs complete their task or TimeoutInMicroSeconds expires, = the MP Service signals WaitEvent by calling the EFI SignalEvent() function= . If FailedCpuList is not NULL, its content is available when WaitEvent = is signaled. If all APs returned from Procedure prior to the timeout, = then @@ -254,7 +254,7 @@ StartupAllAPs ( This function is used to dispatch one enabled AP to the function specifi= ed by Procedure passing in the argument specified by ProcedureArgument. If Wa= itEvent is NULL, execution is in blocking mode. The BSP waits until the AP finis= hes or - TimeoutInMicroSecondss expires. Otherwise, execution is in non-blocking = mode. + TimeoutInMicroSeconds expires. Otherwise, execution is in non-blocking m= ode. BSP proceeds to the next task without waiting for the AP. If a non-block= ing mode is requested after the UEFI Event EFI_EVENT_GROUP_READY_TO_BOOT is signa= led, then EFI_UNSUPPORTED must be returned. diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.h b/UefiCpuPkg/CpuDxe/CpuPageTa= ble.h index bad6784bcb51..0b2a02a2be5c 100644 --- a/UefiCpuPkg/CpuDxe/CpuPageTable.h +++ b/UefiCpuPkg/CpuDxe/CpuPageTable.h @@ -78,7 +78,7 @@ VOID * =20 Caller should make sure BaseAddress and Length is at page boundary. =20 - Caller need guarentee the TPL <=3D TPL_NOTIFY, if there is split page re= quest. + Caller need guarantee the TPL <=3D TPL_NOTIFY, if there is split page re= quest. =20 @param PagingContext The paging context. NULL means get page table = from current CPU context. @param BaseAddress The physical address that is the start address= of a memory region. diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c index 7d7270e10b4a..a571fc3b1750 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.c +++ b/UefiCpuPkg/CpuDxe/CpuDxe.c @@ -393,7 +393,7 @@ CpuSetMemoryAttributes ( =20 // // If this function is called because GCD SetMemorySpaceAttributes () is= called - // by RefreshGcdMemoryAttributes (), then we are just synchronzing GCD m= emory + // by RefreshGcdMemoryAttributes (), then we are just synchronizing GCD = memory // map with MTRR values. So there is no need to modify MTRRs, just retur= n immediately // to avoid unnecessary computing. // @@ -456,7 +456,7 @@ CpuSetMemoryAttributes ( CurrentCacheType =3D MtrrGetMemoryAttribute(BaseAddress); if (CurrentCacheType !=3D CacheType) { // - // call MTRR libary function + // call MTRR library function // Status =3D MtrrSetMemoryAttribute ( BaseAddress, @@ -831,7 +831,7 @@ RefreshMemoryAttributesFromMtrr ( Attributes =3D CurrentAttributes; } else { // - // If fixed MTRR attribute changed, then set memory attribute for = previous atrribute + // If fixed MTRR attribute changed, then set memory attribute for = previous attribute // if (CurrentAttributes !=3D Attributes) { SetGcdMemorySpaceAttributes ( @@ -1045,7 +1045,7 @@ IntersectMemoryDescriptor ( @param Length Length of the MMIO space. @param Capabilities Capabilities of the MMIO space. =20 - @retval EFI_SUCCES The MMIO space was added successfully. + @retval EFI_SUCCESS The MMIO space was added successfully. **/ EFI_STATUS AddMemoryMappedIoSpace ( diff --git a/UefiCpuPkg/CpuDxe/CpuGdt.c b/UefiCpuPkg/CpuDxe/CpuGdt.c index 87fd6955f24b..64efadeba601 100644 --- a/UefiCpuPkg/CpuDxe/CpuGdt.c +++ b/UefiCpuPkg/CpuDxe/CpuGdt.c @@ -1,5 +1,5 @@ /** @file - C based implemention of IA32 interrupt handling only + C based implementation of IA32 interrupt handling only requiring a minimal assembly interrupt entry point. =20 Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/CpuMp.c index de6c6a5c330c..60ede38df4fc 100644 --- a/UefiCpuPkg/CpuDxe/CpuMp.c +++ b/UefiCpuPkg/CpuDxe/CpuMp.c @@ -164,7 +164,7 @@ GetProcessorInfo ( and releases the BSP to continue with other tasks. -# The caller can use the CheckEvent() and WaitForEvent() services to = check the state of the WaitEvent created in step 1. - -# When the APs complete their task or TimeoutInMicroSecondss expires,= the MP + -# When the APs complete their task or TimeoutInMicroSeconds expires, = the MP Service signals WaitEvent by calling the EFI SignalEvent() function= . If FailedCpuList is not NULL, its content is available when WaitEvent = is signaled. If all APs returned from Procedure prior to the timeout, = then @@ -281,7 +281,7 @@ StartupAllAPs ( This function is used to dispatch one enabled AP to the function specifi= ed by Procedure passing in the argument specified by ProcedureArgument. If Wa= itEvent is NULL, execution is in blocking mode. The BSP waits until the AP finis= hes or - TimeoutInMicroSecondss expires. Otherwise, execution is in non-blocking = mode. + TimeoutInMicroSeconds expires. Otherwise, execution is in non-blocking m= ode. BSP proceeds to the next task without waiting for the AP. If a non-block= ing mode is requested after the UEFI Event EFI_EVENT_GROUP_READY_TO_BOOT is signa= led, then EFI_UNSUPPORTED must be returned. diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.c b/UefiCpuPkg/CpuDxe/CpuPageTa= ble.c index cb121771425a..0a02cb3f6b7e 100644 --- a/UefiCpuPkg/CpuDxe/CpuPageTable.c +++ b/UefiCpuPkg/CpuDxe/CpuPageTable.c @@ -776,7 +776,7 @@ ConvertMemoryPageAttributes ( } =20 // - // Below logic is to check 2M/4K page to make sure we donot waist memory= . + // Below logic is to check 2M/4K page to make sure we do not waste memor= y. // Status =3D EFI_SUCCESS; while (Length !=3D 0) { @@ -838,7 +838,7 @@ ConvertMemoryPageAttributes ( =20 Caller should make sure BaseAddress and Length is at page boundary. =20 - Caller need guarentee the TPL <=3D TPL_NOTIFY, if there is split page re= quest. + Caller need guarantee the TPL <=3D TPL_NOTIFY, if there is split page re= quest. =20 @param[in] PagingContext The paging context. NULL means get page ta= ble from current CPU context. @param[in] BaseAddress The physical address that is the start add= ress of a memory region. @@ -969,7 +969,7 @@ RefreshGcdMemoryAttributesFromPaging ( ); if (EFI_ERROR (Status)) { // - // If we cannot udpate the capabilities, we cannot update its + // If we cannot update the capabilities, we cannot update its // attributes either. So just simply skip current block of memory. // DEBUG (( --=20 2.21.1