From nobody Mon Apr 29 01:41:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+43043+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43043+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1561807403; cv=none; d=zoho.com; s=zohoarc; b=XTNCJq5qDDi5kVZHnXJEPmj04IIdwb5GOb+NL3qOLp5Aaf4ft5tvjYQcKTX9l1kQr0WDL0GeNayBP9DthuSYXCBy9H2zYX8u50QNK0tlwS1nMoDwsxecLCL/kuk4ccQIDl9C/quYu3f/FORak5RgvV1SF4gtStrAB4U7DuvKxdY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1561807403; h=Content-Type:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=8RoH42at3jlhtXGUn23noaguPP7FPgu/YHCMBvKdUag=; b=aGdyx/o9iN15nGMGhZGJIgci6AjaQ/PSKiATz5aYIotct2Z1lCtmyqBmlzCFvO16t1vO8nva5Ko+Le0ajrPTliy+w+G3JCpj+dxI21vFn/Ga5kgvDX3oeLK2AUg9b9azs4dwB5TQqDbToOctjITxCo+8DijTemUN6cddi3uKMn0= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43043+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1561807403398972.8638922909324; Sat, 29 Jun 2019 04:23:23 -0700 (PDT) Return-Path: Subject: [edk2-devel] [PATCH] EmulatorPkg: Fix various typos To: devel@edk2.groups.io From: =?UTF-8?B?Q8WTdXI=?= X-Originating-Location: Seoul, KR (128.1.125.180) X-Originating-Platform: Mac Chrome 75 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sat, 29 Jun 2019 04:23:21 -0700 Message-ID: <5985.1561807401446302225@groups.io> 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,coeur@gmx.fr Content-Type: multipart/alternative; boundary="2f4I6shYOLZ4Z1jFVbjH" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1561807402; bh=csDZS92ptZRlRxRgQTDitJATWKsdZvdIZ003jTd3IM4=; h=Content-Type:Date:From:Reply-To:Subject:To; b=Uj2fX21kCQ9KBc3UA6YIIW0aJDj1HRaDGBvTi68EZduQscJ7ee47uZV2aROOv7SJeJ5 93Dn13H7fUIQ2bGLqCVqSebD2PjhMlR5XUdojX+SUa+aek/h2b3e17JONkGYuaLjsvTqa fJBO+lIPdnVHV/nsAcz4ivLiHrQyX5iA1LM= X-ZohoMail-DKIM: pass (identity @groups.io) --2f4I6shYOLZ4Z1jFVbjH Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Fix various typos in EmulatorPkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur --- EmulatorPkg/BootModePei/BootModePei.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2= =A0 2 +- EmulatorPkg/CpuRuntimeDxe/MpService.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 11= +++++----- EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 | 14 ++++= ++------- EmulatorPkg/EmuGopDxe/GopDriver.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0|=C2=A0 4 ++-- EmulatorPkg/EmuGopDxe/GopInput.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 | 12 +++++------ EmulatorPkg/EmuGopDxe/GopScreen.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0|=C2=A0 6 +++--- .../EmuSimpleFileSystem.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 2 +- EmulatorPkg/EmuThunkDxe/EmuThunk.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 2 +- .../FirmwareVolumePei/FirmwareVolumePei.c=C2=A0 =C2=A0 =C2=A0|=C2=A0 2 +- .../FvbServicesRuntimeDxe/FWBlockService.c=C2=A0 =C2=A0 | 10 +++++----- EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c=C2=A0 =C2=A0|=C2=A0 2 +- .../FvbServicesRuntimeDxe.inf=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|=C2=A0 4 ++-- EmulatorPkg/Include/Library/EmuThunkLib.h=C2=A0 =C2=A0 =C2=A0|=C2=A0 2 +- EmulatorPkg/Include/Library/SmbiosLib.h=C2=A0 =C2=A0 =C2=A0 =C2=A0| 12 ++++= +------ EmulatorPkg/Include/Protocol/EmuBlockIo.h=C2=A0 =C2=A0 =C2=A0|=C2=A0 6 +++-= -- .../Include/Protocol/EmuGraphicsWindow.h=C2=A0 =C2=A0 =C2=A0 |=C2=A0 2 +- EmulatorPkg/Include/Protocol/EmuSnp.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2= =A0 4 ++-- EmulatorPkg/Include/Protocol/EmuThunk.h=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 4= ++-- EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c=C2=A0 =C2=A0 =C2=A0|=C2=A0 2 +- .../DxeEmuPeCoffExtraActionLib.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 |=C2=A0 2 +- .../DxeEmuPeCoffExtraActionLib.inf=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 2 +- .../DxeEmuSerialPortLib/DxeEmuSerialPortLib.c |=C2=A0 8 ++++---- .../DxeEmuStdErrSerialPortLib.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0|=C2=A0 2 +- .../MemoryAllocationLib.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 6 +++--- .../PeiEmuPeCoffExtraActionLib.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 |=C2=A0 2 +- .../PeiEmuPeCoffExtraActionLib.inf=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 2 +- .../PeiEmuPeCoffGetEntryPointLib.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 4 ++-- .../PeiEmuSerialPortLib/PeiEmuSerialPortLib.c |=C2=A0 2 +- .../PeiServicesTablePointer.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|=C2=A0 4 ++-- .../PeiServicesTablePointer.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|=C2=A0 4 ++-- .../PeiServicesTablePointerLibMagicPage.inf=C2=A0 =C2=A0|=C2=A0 2 +- .../Library/PlatformBmLib/PlatformBmLib.inf=C2=A0 =C2=A0|=C2=A0 2 +- EmulatorPkg/Library/SmbiosLib/SmbiosLib.c=C2=A0 =C2=A0 =C2=A0|=C2=A0 8 ++++= ---- .../MiscChassisManufacturerData.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0|=C2=A0 4 ++-- ...MiscNumberOfInstallableLanguagesFunction.c |=C2=A0 4 ++-- .../MiscSystemManufacturerData.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 |=C2=A0 2 +- .../PlatformSmbiosDxe/PlatformSmbiosDxe.c=C2=A0 =C2=A0 =C2=A0|=C2=A0 4 ++-- EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c=C2=A0 =C2=A0|=C2=A0 2 +- .../RealTimeClockRuntimeDxe/RealTimeClock.c=C2=A0 =C2=A0| 10 +++++----- EmulatorPkg/Sec/Ia32/SwitchRam.S=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 | 18 ++++++++--------- EmulatorPkg/Sec/Ia32/SwitchRam.asm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= | 20 +++++++++---------- EmulatorPkg/Sec/Sec.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 5 ++--- EmulatorPkg/Sec/Sec.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 4 ++-- EmulatorPkg/Sec/X64/SwitchRam.S=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0|=C2=A0 2 +- EmulatorPkg/Sec/X64/SwitchRam.asm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0|=C2=A0 2 +- EmulatorPkg/TimerDxe/Timer.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 |=C2=A0 2 +- EmulatorPkg/Unix/GdbRun.sh=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 |=C2=A0 4 ++-- EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c=C2=A0 |=C2=A0 2 +- EmulatorPkg/Unix/Host/BlockIo.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0| 12 +++++------ EmulatorPkg/Unix/Host/EmuThunk.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 |=C2=A0 2 +- EmulatorPkg/Unix/Host/Host.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 | 20 +++++++++---------- EmulatorPkg/Unix/Host/LinuxPacketFilter.c=C2=A0 =C2=A0 =C2=A0|=C2=A0 2 +- EmulatorPkg/Unix/Host/Pthreads.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 |=C2=A0 2 +- EmulatorPkg/Unix/Host/X64/Gasket.S=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= |=C2=A0 4 ++-- EmulatorPkg/Unix/Host/X64/SwitchStack.S=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 2= +- EmulatorPkg/Unix/lldbefi.py=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0| 14 ++++++------- EmulatorPkg/Win/Host/WinGopScreen.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0|=C2=A0 2 +- EmulatorPkg/Win/Host/WinHost.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 |=C2=A0 2 +- 58 files changed, 149 insertions(+), 151 deletions(-) diff --git a/EmulatorPkg/BootModePei/BootModePei.c b/EmulatorPkg/BootModePe= i/BootModePei.c index a008a2331d..0f8d8f090e 100644 --- a/EmulatorPkg/BootModePei/BootModePei.c +++ b/EmulatorPkg/BootModePei/BootModePei.c @@ -18,7 +18,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // -// The protocols, PPI and GUID defintions for this module +// The protocols, PPI and GUID definitions for this module // #include #include diff --git a/EmulatorPkg/CpuRuntimeDxe/MpService.c b/EmulatorPkg/CpuRuntime= Dxe/MpService.c index 42f94ada27..ff379a1ce3 100644 --- a/EmulatorPkg/CpuRuntimeDxe/MpService.c +++ b/EmulatorPkg/CpuRuntimeDxe/MpService.c @@ -29,10 +29,9 @@ Diagnostics applications may also use this protocol for multi-processor. Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
-Portitions Copyright (c) 2011, Apple Inc. All rights reserved. +Portions Copyright (c) 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent - **/ #include "CpuDriver.h" @@ -292,7 +291,7 @@ CpuMpServicesGetProcessorInfo ( 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. -=C2=A0 =C2=A0 -# When the APs complete their task or TimeoutInMicroSeconds= s expires, the MP +=C2=A0 =C2=A0 -# 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 @@ -332,7 +331,7 @@ CpuMpServicesGetProcessorInfo ( EFI_EVENT is defined in CreateEvent() in the Unified Extensible Firmware Interface Specification. -=C2=A0 @param[in]=C2=A0 TimeoutInMicrosecsond=C2=A0 =C2=A0Indicates the ti= me limit in microseconds for +=C2=A0 @param[in]=C2=A0 TimeoutInMicroseconds=C2=A0 =C2=A0Indicates the ti= me limit in microseconds for APs to return from Procedure, either for blocking or non-blocking mode. Zero means infinity.=C2=A0 If the timeout expires before @@ -601,7 +600,7 @@ Done: This function is used to dispatch one enabled AP to the function specified = by Procedure passing in the argument specified by ProcedureArgument.=C2=A0 If = WaitEvent is NULL, execution is in blocking mode. The BSP waits until the AP finishes= or -=C2=A0 TimeoutInMicroSecondss expires. Otherwise, execution is in non-bloc= king mode. +=C2=A0 TimeoutInMicroSeconds expires. Otherwise, execution is in non-block= ing mode. BSP proceeds to the next task without waiting for the AP. If a non-blocking= mode is requested after the UEFI Event EFI_EVENT_GROUP_READY_TO_BOOT is signaled, then EFI_UNSUPPORTED must be returned. @@ -636,7 +635,7 @@ Done: EFI_EVENT is defined in CreateEvent() in the Unified Extensible Firmware Interface Specification. -=C2=A0 @param[in]=C2=A0 TimeoutInMicrosecsond=C2=A0 =C2=A0Indicates the ti= me limit in microseconds for +=C2=A0 @param[in]=C2=A0 TimeoutInMicroseconds=C2=A0 =C2=A0Indicates the ti= me limit in microseconds for APs to return from Procedure, either for blocking or non-blocking mode. Zero means infinity.=C2=A0 If the timeout expires before diff --git a/EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c b/EmulatorPkg/EmuBlockI= oDxe/EmuBlockIo.c index 96424a82ae..1a88223f91 100644 --- a/EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c +++ b/EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c @@ -13,7 +13,7 @@ bbe @param[in]=C2=A0 This=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0Indicates a pointer to the calling context. @param[in]=C2=A0 ExtendedVerification Indicates that the driver may perform= a more -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exhausive verfication o= peration of the device +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exhaustive verification= operation of the device during reset. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The device was reset. @@ -123,7 +123,7 @@ EmuBlockIo2ReadBlocksEx ( the Event is NULL. @retval EFI_WRITE_PROTECTED=C2=A0 =C2=A0The device can not be written to. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 There is no media in= the device. -=C2=A0 @retval EFI_MEDIA_CHNAGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atched the current device. +=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atch the current device. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 The device reported an error w= hile performing the write. @retval EFI_BAD_BUFFER_SIZE=C2=A0 =C2=A0The Buffer was not a multiple of th= e block size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not = valid, @@ -172,7 +172,7 @@ EmuBlockIo2WriteBlocksEx ( @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The flush request was= queued if Event is not NULL. All outstanding data was written correctly to the device if the Event is NULL. -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0The device reported an = error while writting back +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0The device reported an = error while writing back the data. @retval EFI_WRITE_PROTECTED=C2=A0 The device cannot be written to. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0There is no media in = the device. @@ -250,7 +250,7 @@ EmuBlockIoReset ( @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The data was re= ad correctly from the device. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 The device reported an error w= hile performing the read. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 There is no media in= the device. -=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atched the current device. +=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atch the current device. @retval EFI_BAD_BUFFER_SIZE=C2=A0 =C2=A0The Buffer was not a multiple of th= e block size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are not v= alid, or the buffer is not on proper alignment. @@ -297,7 +297,7 @@ EmuBlockIoReadBlocks ( @retval EFI_WRITE_PROTECTED=C2=A0 =C2=A0The device can not be written to. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 The device reported an error w= hile performing the write. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 There is no media in= the device. -=C2=A0 @retval EFI_MEDIA_CHNAGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atched the current device. +=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atch the current device. @retval EFI_BAD_BUFFER_SIZE=C2=A0 =C2=A0The Buffer was not a multiple of th= e block size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not = valid, or the buffer is not on proper alignment. @@ -335,7 +335,7 @@ EmuBlockIoWriteBlocks ( @param=C2=A0 This=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Indicates= a pointer to the calling context. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0All outstanding data was writ= ten to the device -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 The device reported an error while w= ritting back the data +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 The device reported an error while w= riting back the data @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 There is no media in the device. **/ @@ -484,7 +484,7 @@ EmuBlockIoDriverBindingSupported ( @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The dev= ice was started. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The device could = not be started due to a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES=C2=A0 =C2=A0 =C2=A0The request could not be co= mpleted due to a lack of resources. -=C2=A0 @retval Others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0The driver failded to start the device. +=C2=A0 @retval Others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0The driver failed to start the device. **/ EFI_STATUS diff --git a/EmulatorPkg/EmuGopDxe/GopDriver.c b/EmulatorPkg/EmuGopDxe/GopD= river.c index d0215c33e7..595c49a332 100644 --- a/EmulatorPkg/EmuGopDxe/GopDriver.c +++ b/EmulatorPkg/EmuGopDxe/GopDriver.c @@ -165,7 +165,7 @@ EmuGopDriverBindingSupported ( @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The dev= ice was started. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The device could = not be started due to a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES=C2=A0 =C2=A0 =C2=A0The request could not be co= mpleted due to a lack of resources. -=C2=A0 @retval Others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0The driver failded to start the device. +=C2=A0 @retval Others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0The driver failed to start the device. **/ EFI_STATUS @@ -196,7 +196,7 @@ EmuGopDriverBindingStart ( } // -=C2=A0 // Allocate Private context data for SGO inteface. +=C2=A0 // Allocate Private context data for SGO interface. // Private =3D NULL; Status =3D gBS->AllocatePool ( diff --git a/EmulatorPkg/EmuGopDxe/GopInput.c b/EmulatorPkg/EmuGopDxe/GopIn= put.c index fdd0b49115..44502900c5 100644 --- a/EmulatorPkg/EmuGopDxe/GopInput.c +++ b/EmulatorPkg/EmuGopDxe/GopInput.c @@ -283,7 +283,7 @@ EmuGopSimpleTextInExResetEx ( /*++ Routine Description: -=C2=A0 =C2=A0 Reset the input device and optionaly run diagnostics +=C2=A0 =C2=A0 Reset the input device and optionally run diagnostics Arguments: This=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Protoco= l instance pointer. @@ -358,7 +358,7 @@ EmuGopSimpleTextInExReadKeyStrokeEx ( Routine Description: Reads the next keystroke from the input device. The WaitForKey Event can -=C2=A0 =C2=A0 be used to test for existance of a keystroke via WaitForEven= t () call. +=C2=A0 =C2=A0 be used to test for existence of a keystroke via WaitForEven= t () call. Arguments: This=C2=A0 =C2=A0 =C2=A0 =C2=A0- Protocol instance pointer. @@ -367,7 +367,7 @@ EmuGopSimpleTextInExReadKeyStrokeEx ( Returns: EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The keystroke informa= tion was returned. -=C2=A0 =C2=A0 EFI_NOT_READY=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- There was n= o keystroke data availiable. +=C2=A0 =C2=A0 EFI_NOT_READY=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- There was n= o keystroke data available. EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 - The keystroke information was not re= turned due to hardware errors. EFI_INVALID_PARAMETER - KeyData is NULL. @@ -660,7 +660,7 @@ EmuGopSimpleTextInExUnregisterKeyNotify ( /** -=C2=A0 Initialize SimplelTextIn and SimpleTextInEx protocols in the Private +=C2=A0 Initialize SimpleTextIn and SimpleTextInEx protocols in the Private context structure. @param=C2=A0 Private=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= Context structure to fill in. @@ -676,7 +676,7 @@ EmuGopInitializeSimpleTextInForWindow ( EFI_STATUS=C2=A0 Status; // -=C2=A0 // Initialize Simple Text In protoocol +=C2=A0 // Initialize Simple Text In protocol // Private->SimpleTextIn.Reset=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D EmuGopSimp= leTextInReset; Private->SimpleTextIn.ReadKeyStroke =3D EmuGopSimpleTextInReadKeyStroke; @@ -879,7 +879,7 @@ EmuGopInitializeSimplePointerForWindow ( EFI_STATUS=C2=A0 Status; // -=C2=A0 // Initialize Simple Pointer protoocol +=C2=A0 // Initialize Simple Pointer protocol // Private->PointerMode.ResolutionX =3D 1; Private->PointerMode.ResolutionY =3D 1; diff --git a/EmulatorPkg/EmuGopDxe/GopScreen.c b/EmulatorPkg/EmuGopDxe/GopS= creen.c index fbac649f8b..f1fee4d6c0 100644 --- a/EmulatorPkg/EmuGopDxe/GopScreen.c +++ b/EmulatorPkg/EmuGopDxe/GopScreen.c @@ -10,7 +10,7 @@ Module Name: Abstract: -=C2=A0 This file produces the graphics abstration of UGA. It is called by +=C2=A0 This file produces the graphics abstraction of UGA. It is called by EmuGopDriver.c file which deals with the EFI 1.1 driver model. This file just does graphics. @@ -172,12 +172,12 @@ EmuGopSetMode ( @param=C2=A0 DestinationX X coordinate of destination for the BltBuffer. @param=C2=A0 DestinationY Y coordinate of destination for the BltBuffer. @param=C2=A0 Width=C2=A0 =C2=A0 =C2=A0 =C2=A0 Width of rectangle in BltBuff= er in pixels. -=C2=A0 @param=C2=A0 Height=C2=A0 =C2=A0 =C2=A0 =C2=A0Hight of rectangle in= BltBuffer in pixels. +=C2=A0 @param=C2=A0 Height=C2=A0 =C2=A0 =C2=A0 =C2=A0Height of rectangle i= n BltBuffer in pixels. @param=C2=A0 Delta=C2=A0 =C2=A0 =C2=A0 =C2=A0 OPTIONAL @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The Blt operati= on completed. @retval EFI_INVALID_PARAMETER BltOperation is not valid. -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 A hardware error occur= ed writting to the video buffer. +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 A hardware error occur= red writing to the video buffer. **/ EFI_STATUS diff --git a/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c b/Emu= latorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c index 6cea25b140..a0fddff1f7 100644 --- a/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c +++ b/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c @@ -700,7 +700,7 @@ EmuSimpleFileSystemDriverBindingSupported ( @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The dev= ice was started. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The device could = not be started due to a device error.Currently not implemented. @retval EFI_OUT_OF_RESOURCES=C2=A0 =C2=A0 =C2=A0The request could not be co= mpleted due to a lack of resources. -=C2=A0 @retval Others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0The driver failded to start the device. +=C2=A0 @retval Others=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0The driver failed to start the device. **/ EFI_STATUS diff --git a/EmulatorPkg/EmuThunkDxe/EmuThunk.c b/EmulatorPkg/EmuThunkDxe/E= muThunk.c index d26d52ae36..ef791eedce 100644 --- a/EmulatorPkg/EmuThunkDxe/EmuThunk.c +++ b/EmulatorPkg/EmuThunkDxe/EmuThunk.c @@ -63,7 +63,7 @@ Arguments: (Standard EFI Image entry - EFI_IMAGE_ENTRY_POINT) Returns: -=C2=A0 EFI_SUCEESS - UnixThunk protocol is added or error status from +=C2=A0 EFI_SUCCESS - UnixThunk protocol is added or error status from gBS->InstallMultiProtocolInterfaces(). **/ diff --git a/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c b/EmulatorPk= g/FirmwareVolumePei/FirmwareVolumePei.c index 4178111096..c8ff6edff3 100644 --- a/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c +++ b/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c @@ -77,7 +77,7 @@ Returns: if (Index =3D=3D 0) { // // Assume the first FD was produced by the NT32.DSC -=C2=A0 =C2=A0 =C2=A0 =C2=A0 //=C2=A0 All these strange offests are needed = to keep in +=C2=A0 =C2=A0 =C2=A0 =C2=A0 //=C2=A0 All these strange offsets are needed = to keep in //=C2=A0 sync with the FlashMap and NT32.dsc file // BuildResourceDescriptorHob ( diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c b/EmulatorP= kg/FvbServicesRuntimeDxe/FWBlockService.c index db028c9e92..e47f20fe0e 100644 --- a/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c +++ b/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c @@ -137,7 +137,7 @@ Arguments: returned Global=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - Pointer to = ESAL_FWB_GLOBAL that contains all instance data -=C2=A0 FwhInstance=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The EFI_FW_VO= L_INSTANCE fimrware instance structure +=C2=A0 FwhInstance=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The EFI_FW_VO= L_INSTANCE firmware instance structure Virtual=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- Whether CPU= is in virtual or physical mode Returns: @@ -956,7 +956,7 @@ Routine Description: Writes data beginning at Lba:Offset from FV. The write terminates either when *NumBytes of data have been written, or when a block boundary is reached.=C2=A0 *NumBytes is updated to reflect the actual number of bytes -=C2=A0 written. The write opertion does not include erase. This routine wi= ll +=C2=A0 written. The write operation does not include erase. This routine w= ill attempt to write only the specified bytes. If the writes do not stick, it will return an error. @@ -1004,7 +1004,7 @@ Routine Description: Reads data beginning at Lba:Offset from FV. The Read terminates either when *NumBytes of data have been read, or when a block boundary is reached.=C2=A0 *NumBytes is updated to reflect the actual number of bytes -=C2=A0 written. The write opertion does not include erase. This routine wi= ll +=C2=A0 written. The write operation does not include erase. This routine w= ill attempt to write only the specified bytes. If the writes do not stick, it will return an error. @@ -1185,7 +1185,7 @@ Returns: // // Only need to allocate once. There is only one copy of physical memory for // the private data of each FV instance. But in virtual mode or in physical -=C2=A0 // mode, the address of the the physical memory may be different. +=C2=A0 // mode, the address of the physical memory may be different. // Status =3D gBS->AllocatePool ( EfiRuntimeServicesData, @@ -1313,7 +1313,7 @@ Returns: ASSERT_EFI_ERROR (Status); } else if (IsDevicePathEnd (TempFwbDevicePath)) { // -=C2=A0 =C2=A0 =C2=A0 // Device allready exists, so reinstall the FVB proto= col +=C2=A0 =C2=A0 =C2=A0 // Device already exists, so reinstall the FVB protoc= ol // Status =3D gBS->HandleProtocol ( FwbHandle, diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c b/EmulatorPkg/FvbS= ervicesRuntimeDxe/FvbInfo.c index af8f9a9831..386d6e63d8 100644 --- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c +++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c @@ -81,7 +81,7 @@ EFI_FVB_MEDIA_INFO=C2=A0 mPlatformFvbMediaInfo[] =3D { } }, // -=C2=A0 // Systen NvStorage FVB +=C2=A0 // System NvStorage FVB // { FixedPcdGet32 (PcdFlashNvStorageVariableSize) + \ diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf b/= EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf index 7ef0288275..c117c7ee2b 100644 --- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf +++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf @@ -1,7 +1,7 @@ ## @file -# Component description file for Emu Fimware Volume Block DXE driver modul= e. +# Component description file for Emu Firmware Volume Block DXE driver modu= le. # -# This DXE runtime driver implements and produces the Fimware Volue Block = Protocol on +# This DXE runtime driver implements and produces the Firmware Volue Block= Protocol on #=C2=A0 Emu emulator. # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.
# Portions copyright (c) 2011, Apple Inc. All rights reserved. diff --git a/EmulatorPkg/Include/Library/EmuThunkLib.h b/EmulatorPkg/Includ= e/Library/EmuThunkLib.h index ddb3d59b00..43cb39f47f 100644 --- a/EmulatorPkg/Include/Library/EmuThunkLib.h +++ b/EmulatorPkg/Include/Library/EmuThunkLib.h @@ -15,7 +15,7 @@ extern EMU_THUNK_PROTOCOL=C2=A0 =C2=A0*gEmuThunk; /** -=C2=A0 Serach the EMU IO Thunk database for a matching EMU IO Thunk +=C2=A0 Search the EMU IO Thunk database for a matching EMU IO Thunk Protocol instance. @param=C2=A0 Protocol=C2=A0 =C2=A0Protocol to search for. diff --git a/EmulatorPkg/Include/Library/SmbiosLib.h b/EmulatorPkg/Include/= Library/SmbiosLib.h index 1022b48c5e..4e96b7c31e 100644 --- a/EmulatorPkg/Include/Library/SmbiosLib.h +++ b/EmulatorPkg/Include/Library/SmbiosLib.h @@ -4,7 +4,7 @@ Copyright (c) 2012, Apple Inc. All rights reserved. -Portitions Copyright (c) 2006 - 2011, Intel Corporation. All rights reserv= ed.
+Portions Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved= .
SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -24,8 +24,8 @@ extern EFI_SMBIOS_PROTOCOL *gSmbios; /// /// Template for SMBIOS table initialization. -/// The SMBIOS_TABLE_STRING types in the formated area must match the -/// StringArray sequene. +/// The SMBIOS_TABLE_STRING types in the formatted area must match the +/// StringArray sequence. /// typedef struct { // @@ -143,7 +143,7 @@ SmbiosLibUpdateUnicodeString ( Allow caller to read a specific SMBIOS string @param[in]=C2=A0 =C2=A0 Header=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 SMBIOS rec= ord that contains the string. -=C2=A0 @param[in[=C2=A0 =C2=A0 StringNumber=C2=A0 =C2=A0 Instance of SMBIO= S string 1 - N. +=C2=A0 @param[in]=C2=A0 =C2=A0 StringNumber=C2=A0 =C2=A0 Instance of SMBIO= S string 1 - N. @retval NULL=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = Instance of Type SMBIOS string was not found. @retval Other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= Pointer to matching SMBIOS string. @@ -157,10 +157,10 @@ SmbiosLibReadString ( /** -=C2=A0 Allow the caller to discover a specific SMBIOS entry, and patch it = if necissary. +=C2=A0 Allow the caller to discover a specific SMBIOS entry, and patch it = if necessary. @param[in]=C2=A0 =C2=A0 Type=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Type = of the next SMBIOS record to return. -=C2=A0 @param[in[=C2=A0 =C2=A0 Instance=C2=A0 =C2=A0 =C2=A0 =C2=A0 Instanc= e of SMBIOS record 0 - N-1. +=C2=A0 @param[in]=C2=A0 =C2=A0 Instance=C2=A0 =C2=A0 =C2=A0 =C2=A0 Instanc= e of SMBIOS record 0 - N-1. @param[out]=C2=A0 =C2=A0SmbiosHandle=C2=A0 =C2=A0 Returns SMBIOS handle for= the matching record. @retval NULL=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = Instance of Type SMBIOS record was not found. diff --git a/EmulatorPkg/Include/Protocol/EmuBlockIo.h b/EmulatorPkg/Includ= e/Protocol/EmuBlockIo.h index a17cefa83d..36df7e052a 100644 --- a/EmulatorPkg/Include/Protocol/EmuBlockIo.h +++ b/EmulatorPkg/Include/Protocol/EmuBlockIo.h @@ -28,7 +28,7 @@ typedef struct _EMU_BLOCK_IO_PROTOCOL=C2=A0 =C2=A0EMU_BLO= CK_IO_PROTOCOL; @param[in]=C2=A0 This=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0Indicates a pointer to the calling context. @param[in]=C2=A0 ExtendedVerification Indicates that the driver may perform= a more -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exhausive verfication o= peration of the device +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exhaustive verification= operation of the device during reset. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The device was reset. @@ -109,7 +109,7 @@ EFI_STATUS the Event is NULL. @retval EFI_WRITE_PROTECTED=C2=A0 =C2=A0The device can not be written to. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 There is no media in= the device. -=C2=A0 @retval EFI_MEDIA_CHNAGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atched the current device. +=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atch the current device. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 The device reported an error w= hile performing the write. @retval EFI_BAD_BUFFER_SIZE=C2=A0 =C2=A0The Buffer was not a multiple of th= e block size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not = valid, @@ -142,7 +142,7 @@ EFI_STATUS @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The flush request was= queued if Event is not NULL. All outstanding data was written correctly to the device if the Event is NULL. -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0The device reported an = error while writting back +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0The device reported an = error while writing back the data. @retval EFI_WRITE_PROTECTED=C2=A0 The device cannot be written to. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0There is no media in = the device. diff --git a/EmulatorPkg/Include/Protocol/EmuGraphicsWindow.h b/EmulatorPkg= /Include/Protocol/EmuGraphicsWindow.h index 07d4070b35..f8f9788ded 100644 --- a/EmulatorPkg/Include/Protocol/EmuGraphicsWindow.h +++ b/EmulatorPkg/Include/Protocol/EmuGraphicsWindow.h @@ -1,7 +1,7 @@ /*++ @file Copyright (c) 2006, Tristan Gingold. All rights reserved.
-Portitions copyright (c) 2010 - 2011, Apple Inc. All rights reserved. +Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/EmulatorPkg/Include/Protocol/EmuSnp.h b/EmulatorPkg/Include/Pr= otocol/EmuSnp.h index c58808fdd3..1320782d82 100644 --- a/EmulatorPkg/Include/Protocol/EmuSnp.h +++ b/EmulatorPkg/Include/Protocol/EmuSnp.h @@ -4,7 +4,7 @@ Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
-Portitions copyright (c) 2011, Apple Inc. All rights reserved. +Portions copyright (c) 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -428,7 +428,7 @@ EFI_STATUS #define EMU_SNP_INTERFACE_REVISION=C2=A0 =C2=A0EMU_SNP_PROTOCOL_REVISION /// -/// The EMU_SNP_PROTOCOL protocol abstracts OS network sercices +/// The EMU_SNP_PROTOCOL protocol abstracts OS network services /// from the EFI driver that produces EFI Simple Network Protocol. /// struct _EMU_SNP_PROTOCOL { diff --git a/EmulatorPkg/Include/Protocol/EmuThunk.h b/EmulatorPkg/Include/= Protocol/EmuThunk.h index 0bb20651e5..2ec6052c46 100644 --- a/EmulatorPkg/Include/Protocol/EmuThunk.h +++ b/EmulatorPkg/Include/Protocol/EmuThunk.h @@ -13,7 +13,7 @@ #define EMU_THUNK_PROTOCOL_GUID=C2=A0 \ { 0x5CF32E0B, 0x8EDF, 0x2E44, { 0x9C, 0xDA, 0x93, 0x20, 0x5E, 0x99, 0xEC, 0= x1C } } -// neded for things like EFI_TIME_CAPABILITIES +// needed for things like EFI_TIME_CAPABILITIES #include #include @@ -185,7 +185,7 @@ VOID Enumerates the current set of protocol instances that abstract OS services = from EFI. A given protocol can have multiple instances. Usually a protocol is configu= red via a -=C2=A0 single PCD string. The data associated for each instance is seperat= ed via a ! in the string. +=C2=A0 single PCD string. The data associated for each instance is separat= ed via a ! in the string. EMU_IO_THUNK_PROTOCOL_CLOSE.ConfigString will contain the information in th= e PCD string up to the next !. Thus each instance has a unique ConfigString. diff --git a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c b/EmulatorPkg/Librar= y/DxeEmuLib/DxeEmuLib.c index 3247114d09..6e718109e9 100644 --- a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c +++ b/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c @@ -45,7 +45,7 @@ DxeEmuLibConstructor ( /** -=C2=A0 Serach the EMU IO Thunk database for a matching EMU IO Thunk +=C2=A0 Search the EMU IO Thunk database for a matching EMU IO Thunk Protocol instance. @param=C2=A0 Protocol=C2=A0 =C2=A0Protocol to search for. diff --git a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExt= raActionLib.c b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoff= ExtraActionLib.c index 44a42a3784..1ab24aa7c0 100644 --- a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActio= nLib.c +++ b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActio= nLib.c @@ -1,6 +1,6 @@ /** @file Provides services to perform additional actions to relocate and unload -=C2=A0 PE/Coff image for Emu environment specific purpose such as souce le= vel debug. +=C2=A0 PE/Coff image for Emu environment specific purpose such as source l= evel debug. This version only works for DXE phase Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExt= raActionLib.inf b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCo= ffExtraActionLib.inf index fdc890a000..180f153e9b 100644 --- a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActio= nLib.inf +++ b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActio= nLib.inf @@ -1,5 +1,5 @@ ## @file -# PeCoff extra action libary for DXE phase that run Emu emulator. +# PeCoff extra action library for DXE phase that run Emu emulator. # # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.
# Portions copyright (c) 2011, Apple Inc. All rights reserved. diff --git a/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c = b/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c index 1f9ab86377..e1a8be5a14 100644 --- a/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c +++ b/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c @@ -1,6 +1,6 @@ /** @file Serial Port Lib that thunks back to Emulator services to write to StdErr. -=C2=A0 All read functions are stubed out. +=C2=A0 All read functions are stubbed out. Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
Portions copyright (c) 2011, Apple Inc. All rights reserved.
@@ -153,13 +153,13 @@ SerialPortGetControl ( } /** -=C2=A0 Sets the baud rate, receive FIFO depth, transmit/receice time out, = parity, +=C2=A0 Sets the baud rate, receive FIFO depth, transmit/receive time out, = parity, data bits, and stop bits on a serial device. @param BaudRate=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The requested baud = rate. A BaudRate value of 0 will use the device's default interface speed. On output, the value actually set. -=C2=A0 @param ReveiveFifoDepth=C2=A0 =C2=A0The requested depth of the FIFO= on the receive side of the +=C2=A0 @param ReceiveFifoDepth=C2=A0 =C2=A0The requested depth of the FIFO= on the receive side of the serial interface. A ReceiveFifoDepth value of 0 will use the device's default FIFO depth. On output, the value actually set. @@ -172,7 +172,7 @@ SerialPortGetControl ( DefaultParity will use the device's default parity value. On output, the value actually set. @param DataBits=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The number of data = bits to use on the serial device. A DataBits -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 vaule of 0 will use the device's default data bit = setting. +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 value of 0 will use the device's default data bit = setting. On output, the value actually set. @param StopBits=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The number of stop = bits to use on this serial device. A StopBits value of DefaultStopBits will use the device's default number of diff --git a/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSeri= alPortLib.c b/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSer= ialPortLib.c index 0eefec0404..17cada3638 100644 --- a/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortL= ib.c +++ b/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortL= ib.c @@ -1,6 +1,6 @@ /** @file Serial Port Lib that thunks back to Emulator services to write to StdErr. -=C2=A0 All read functions are stubed out. +=C2=A0 All read functions are stubbed out. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
Portions copyright (c) 2011, Apple Inc. All rights reserved.
diff --git a/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryAllocat= ionLib.c b/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryAllocatio= nLib.c index cd7336a017..326d472bcc 100644 --- a/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryAllocationLib.c +++ b/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryAllocationLib.c @@ -149,7 +149,7 @@ FreePages ( ASSERT (Pages !=3D 0); if (!gEmuThunk->Free (Buffer)) { // The Free thunk will not free memory allocated in emulated EFI memory. -=C2=A0 =C2=A0 // The assmuption is this was allocated directly by EFI. We = need this as some +=C2=A0 =C2=A0 // The assumption is this was allocated directly by EFI. We = need this as some // times protocols or EFI BootServices can return dynamically allocated buf= fers. Status =3D gBS->FreePages ((EFI_PHYSICAL_ADDRESS) (UINTN) Buffer, Pages); ASSERT_EFI_ERROR (Status); @@ -197,7 +197,7 @@ InternalAllocateAlignedPages ( } if (Alignment > EFI_PAGE_SIZE) { // -=C2=A0 =C2=A0 // Caculate the total number of pages since alignment is lar= ger than page size. +=C2=A0 =C2=A0 // Calculate the total number of pages since alignment is la= rger than page size. // AlignmentMask=C2=A0 =3D Alignment - 1; RealPages=C2=A0 =C2=A0 =C2=A0 =3D Pages + EFI_SIZE_TO_PAGES (Alignment); @@ -804,7 +804,7 @@ FreePool ( if (!gEmuThunk->Free (Buffer)) { // The Free thunk will not free memory allocated in emulated EFI memory. -=C2=A0 =C2=A0 // The assmuption is this was allocated directly by EFI. We = need this as some +=C2=A0 =C2=A0 // The assumption is this was allocated directly by EFI. We = need this as some // times protocols or EFI BootServices can return dynamically allocated buf= fers. Status =3D gBS->FreePool (Buffer); ASSERT_EFI_ERROR (Status); diff --git a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExt= raActionLib.c b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoff= ExtraActionLib.c index 55be3efbdb..578de7ee46 100644 --- a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActio= nLib.c +++ b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActio= nLib.c @@ -1,6 +1,6 @@ /** @file Provides services to perform additional actions to relocate and unload -=C2=A0 PE/Coff image for Emu environment specific purpose such as souce le= vel debug. +=C2=A0 PE/Coff image for Emu environment specific purpose such as source l= evel debug. This version only works for PEI phase Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExt= raActionLib.inf b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCo= ffExtraActionLib.inf index 86ca85b437..1cc70e961c 100644 --- a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActio= nLib.inf +++ b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActio= nLib.inf @@ -1,5 +1,5 @@ ## @file -# PeCoff extra action libary for Pei phase that run Emu emulator. +# PeCoff extra action library for Pei phase that run Emu emulator. # # Lib to provide memory journal status code reporting Routines # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffG= etEntryPointLib.c b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmu= PeCoffGetEntryPointLib.c index fd756b5594..27e13e2fee 100644 --- a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntry= PointLib.c +++ b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntry= PointLib.c @@ -70,7 +70,7 @@ PeCoffLoaderGetEntryPoint ( @param=C2=A0 Pe32Data=C2=A0 =C2=A0Pointer to a PE/COFF header -=C2=A0 @return=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Machine type or ze= ro if not a valid iamge +=C2=A0 @return=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Machine type or ze= ro if not a valid image **/ UINT16 @@ -186,7 +186,7 @@ PeCoffLoaderGetPdbPointer ( break; default: // -=C2=A0 =C2=A0 =C2=A0 // For unknow Machine field, use Magic in optional He= ader +=C2=A0 =C2=A0 =C2=A0 // For unknown Machine field, use Magic in optional H= eader // Magic =3D Hdr.Pe32->OptionalHeader.Magic; } diff --git a/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c = b/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c index cf727a638c..a290970416 100644 --- a/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c +++ b/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c @@ -1,6 +1,6 @@ /** @file Serial Port Lib that thunks back to Emulator services to write to StdErr. -=C2=A0 All read functions are stubed out. There is no constructor so this = lib can +=C2=A0 All read functions are stubbed out. There is no constructor so this= lib can be linked with PEI Core. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTabl= ePointer.c b/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTabl= ePointer.c index d9d37bf8af..bd49f87fdd 100644 --- a/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointe= r.c +++ b/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointe= r.c @@ -5,7 +5,7 @@ executed in memory. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
-=C2=A0 Portiions copyrigth (c) 2011, Apple Inc. All rights reserved. +=C2=A0 Portions copyright (c) 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -101,7 +101,7 @@ EFI_PEI_NOTIFY_DESCRIPTOR mNotifyOnThunkList =3D { /** Constructor register notification on when PPI updates. If PPI is -=C2=A0 alreay installed registering the notify will cause the handle to +=C2=A0 already installed registering the notify will cause the handle to run. @param=C2=A0 FileHandle=C2=A0 =C2=A0The handle of FFS header the loaded dri= ver. diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiSer= vicesTablePointer.c b/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPa= ge/PeiServicesTablePointer.c index 9d6e1dfd8a..d7d8440337 100644 --- a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTa= blePointer.c +++ b/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTa= blePointer.c @@ -3,10 +3,10 @@ Store PEI Services Table pointer via gEmulatorPkgTokenSpaceGuid.PcdPeiServi= cesTablePage. This emulates a platform SRAM. The PI mechaism does not work in the emulato= r due to -=C2=A0 lack of privledge. +=C2=A0 lack of privilege. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
-=C2=A0 Portiions copyrigth (c) 2011, Apple Inc. All rights reserved. +=C2=A0 Portions copyright (c) 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiSer= vicesTablePointerLibMagicPage.inf b/EmulatorPkg/Library/PeiServicesTablePoi= nterLibMagicPage/PeiServicesTablePointerLibMagicPage.inf index 96f642784f..bf39b3fd9c 100644 --- a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTa= blePointerLibMagicPage.inf +++ b/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTa= blePointerLibMagicPage.inf @@ -3,7 +3,7 @@ # #=C2=A0 Store PEI Services Table pointer via gEmulatorPkgTokenSpaceGuid.Pcd= PeiServicesTablePage. #=C2=A0 This emulates a platform SRAM. The PI mechaism does not work in the= emulator due to -#=C2=A0 lack of privledge. +#=C2=A0 lack of privilege. # # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
# Portions copyright (c) 2011, Apple Inc. All rights reserved. diff --git a/EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf b/Emulator= Pkg/Library/PlatformBmLib/PlatformBmLib.inf index 934dc0ccf9..c42a15c6ec 100644 --- a/EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf +++ b/EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf @@ -1,5 +1,5 @@ ## @file -# Platfrom Boot Manager library +# Platform Boot Manager library # # Do platform action customized by IBV/OEM. # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Library/SmbiosLib/SmbiosLib.c b/EmulatorPkg/Librar= y/SmbiosLib/SmbiosLib.c index 331122e200..59b6383892 100644 --- a/EmulatorPkg/Library/SmbiosLib/SmbiosLib.c +++ b/EmulatorPkg/Library/SmbiosLib/SmbiosLib.c @@ -4,7 +4,7 @@ Copyright (c) 2012, Apple Inc. All rights reserved. -Portitions Copyright (c) 2006 - 2012, Intel Corporation. All rights reserv= ed.
+Portions Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved= .
SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -237,7 +237,7 @@ SmbiosLibUpdateUnicodeString ( Allow caller to read a specific SMBIOS string @param[in]=C2=A0 =C2=A0 Header=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 SMBIOS rec= ord that contains the string. -=C2=A0 @param[in[=C2=A0 =C2=A0 StringNumber=C2=A0 =C2=A0 Instance of SMBIO= S string 1 - N. +=C2=A0 @param[in]=C2=A0 =C2=A0 StringNumber=C2=A0 =C2=A0 Instance of SMBIO= S string 1 - N. @retval NULL=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = Instance of Type SMBIOS string was not found. @retval Other=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= Pointer to matching SMBIOS string. @@ -268,10 +268,10 @@ SmbiosLibReadString ( /** -=C2=A0 Allow the caller to discover a specific SMBIOS entry, and patch it = if necissary. +=C2=A0 Allow the caller to discover a specific SMBIOS entry, and patch it = if necessary. @param[in]=C2=A0 =C2=A0 Type=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Type = of the next SMBIOS record to return. -=C2=A0 @param[in[=C2=A0 =C2=A0 Instance=C2=A0 =C2=A0 =C2=A0 =C2=A0 Instanc= e of SMBIOS record 0 - N-1. +=C2=A0 @param[in]=C2=A0 =C2=A0 Instance=C2=A0 =C2=A0 =C2=A0 =C2=A0 Instanc= e of SMBIOS record 0 - N-1. @param[out]=C2=A0 =C2=A0SmbiosHandle=C2=A0 =C2=A0 Returns SMBIOS handle for= the matching record. @retval NULL=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = Instance of Type SMBIOS record was not found. diff --git a/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerDat= a.c b/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c index 7dd83dc864..f41fcbd262 100644 --- a/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c +++ b/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData.c @@ -20,7 +20,7 @@ Abstract: // Static (possibly build generated) Chassis Manufacturer data. // MISC_SMBIOS_TABLE_DATA(EFI_MISC_CHASSIS_MANUFACTURER_DATA, MiscChassisManuf= acturer) =3D { -=C2=A0 STRING_TOKEN(STR_MISC_CHASSIS_MANUFACTURER),=C2=A0 // ChassisManufa= ctrurer +=C2=A0 STRING_TOKEN(STR_MISC_CHASSIS_MANUFACTURER),=C2=A0 // ChassisManufa= cturer STRING_TOKEN(STR_MISC_CHASSIS_VERSION),=C2=A0 =C2=A0 =C2=A0 =C2=A0// Chassi= sVersion STRING_TOKEN(STR_MISC_CHASSIS_SERIAL_NUMBER), // ChassisSerialNumber STRING_TOKEN(STR_MISC_CHASSIS_ASSET_TAG),=C2=A0 =C2=A0 =C2=A0// ChassisAsse= tTag @@ -36,4 +36,4 @@ MISC_SMBIOS_TABLE_DATA(EFI_MISC_CHASSIS_MANUFACTURER_DATA= , MiscChassisManufactur 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0// ChassisOemDefined }; -/* eof - MiscChassisManufacaturerData.c */ +/* eof - MiscChassisManufacturerData.c */ diff --git a/EmulatorPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLan= guagesFunction.c b/EmulatorPkg/MiscSubClassPlatformDxe/MiscNumberOfInstalla= bleLanguagesFunction.c index b71524ef1e..24d1fbb42e 100644 --- a/EmulatorPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLanguagesF= unction.c +++ b/EmulatorPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLanguagesF= unction.c @@ -12,7 +12,7 @@ Check whether the language is supported for given HII handle @param=C2=A0 =C2=A0HiiHandle=C2=A0 =C2=A0 =C2=A0The HII package list handle. -=C2=A0 @param=C2=A0 =C2=A0Offset=C2=A0 =C2=A0 =C2=A0 =C2=A0 The offest of = current lanague in the supported languages. +=C2=A0 @param=C2=A0 =C2=A0Offset=C2=A0 =C2=A0 =C2=A0 =C2=A0 The offset of = current language in the supported languages. @param=C2=A0 =C2=A0CurrentLang=C2=A0 =C2=A0The language code. @retval=C2=A0 TRUE=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Supported. @@ -86,7 +86,7 @@ CurrentLanguageMatch ( Get next language from language code list (with separator ';'). @param=C2=A0 LangCode=C2=A0 =C2=A0 =C2=A0 =C2=A0Input: point to first langu= age in the list. On -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Otput: point to next language in the list, or +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Output: point to next language in the list, or NULL if no more language in the list. @param=C2=A0 Lang=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0The first languag= e in the list. diff --git a/EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData= .c b/EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.c index 94fa1025f5..d49510e496 100644 --- a/EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.c +++ b/EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.c @@ -22,7 +22,7 @@ Abstract: MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_MANUFACTURER_DATA, MiscSystemManufac= turer) =3D { STRING_TOKEN(STR_MISC_SYSTEM_MANUFACTURER), -=C2=A0 // SystemManufactrurer +=C2=A0 // SystemManufacturer STRING_TOKEN(STR_MISC_SYSTEM_PRODUCT_NAME), // SystemProductName STRING_TOKEN(STR_MISC_SYSTEM_VERSION), diff --git a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/EmulatorPk= g/PlatformSmbiosDxe/PlatformSmbiosDxe.c index e6f8734600..e117fd0fc8 100644 --- a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c +++ b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c @@ -77,7 +77,7 @@ CreatePlatformSmbiosMemoryRecords ( @param ImageHandle=C2=A0 =C2=A0 =C2=A0Image handle this driver. @param SystemTable=C2=A0 =C2=A0 =C2=A0Pointer to SystemTable. -=C2=A0 @retval EFI_SUCESS=C2=A0 =C2=A0 =C2=A0This function always complete= successfully. +=C2=A0 @retval EFI_SUCCESS=C2=A0 =C2=A0 This function always complete succ= essfully. **/ EFI_STATUS @@ -120,7 +120,7 @@ PlatfomrSmbiosDriverEntryPoint ( // Phase 3 - Create tables from scratch // Create Type 13 record from EFI Variables -=C2=A0 // Do we need this record for EFI as the info is available from EFI= varaibles +=C2=A0 // Do we need this record for EFI as the info is available from EFI= variables // Also language types don't always match between EFI and SMBIOS // CreateSmbiosLanguageInformation (1, gSmbiosLangToEfiLang); diff --git a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c b/EmulatorPkg/Plat= formSmbiosDxe/SmbiosTable.c index 11c8e94504..72a0338ca9 100644 --- a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c +++ b/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c @@ -10,7 +10,7 @@ System Slots (Type 9) - If system has slots Physical Memory Array (Type 16) Memory Device (Type 17) - For each socketed system-memory Device -=C2=A0 =C2=A0 Memory Array Mapped Address (Type 19) - One per contiguous b= lock per Physical Memroy Array +=C2=A0 =C2=A0 Memory Array Mapped Address (Type 19) - One per contiguous b= lock per Physical Memory Array System Boot Information (Type 32) Copyright (c) 2012, Apple Inc. All rights reserved.
diff --git a/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c b/Emulator= Pkg/RealTimeClockRuntimeDxe/RealTimeClock.c index c2f980ddc5..b8582b6d9b 100644 --- a/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c +++ b/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c @@ -61,7 +61,7 @@ Arguments: Returns: -=C2=A0 EFI_SUCEESS=C2=A0 =C2=A0- The underlying GetSystemTime call occurre= d and returned +=C2=A0 EFI_SUCCESS=C2=A0 =C2=A0- The underlying GetSystemTime call occurre= d and returned Note that in the NT32 emulation, the GetSystemTime call has no return value thus you will always receive a EFI_SUCCESS on this. @@ -98,7 +98,7 @@ Arguments: Returns: -=C2=A0 EFI_SUCEESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The operation= completed successfully. +=C2=A0 EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The operation= completed successfully. EFI_INVALID_PARAMETER - One of the fields in Time is out of range. @@ -145,7 +145,7 @@ Arguments: Returns: -=C2=A0 EFI_SUCEESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The operation= completed successfully. +=C2=A0 EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The operation= completed successfully. EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 - The operation could not be complete = due to a device error. @@ -177,7 +177,7 @@ Arguments: Returns: -=C2=A0 EFI_SUCEESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The operation= completed successfully. +=C2=A0 EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- The operation= completed successfully. EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 - The operation could not be complete = due to a device error. @@ -207,7 +207,7 @@ Arguments: Returns: -=C2=A0 EFI_SUCEESS - Real Time Clock Services are installed into the Runti= me Services Table +=C2=A0 EFI_SUCCESS - Real Time Clock Services are installed into the Runti= me Services Table **/ { diff --git a/EmulatorPkg/Sec/Ia32/SwitchRam.S b/EmulatorPkg/Sec/Ia32/Switch= Ram.S index f24529cc8e..d8298223a9 100644 --- a/EmulatorPkg/Sec/Ia32/SwitchRam.S +++ b/EmulatorPkg/Sec/Ia32/SwitchRam.S @@ -9,7 +9,7 @@ # # Abstract: # -#=C2=A0 =C2=A0Switch the stack from temporary memory to permenent memory. +#=C2=A0 =C2=A0Switch the stack from temporary memory to permanent memory. # #--------------------------------------------------------------------------= ---- @@ -36,7 +36,7 @@ ASM_PFX(SecSwitchStack): # # !!CAUTION!! this function address's is pushed into stack after -# migration of whole temporary memory, so need save it to permenent +# migration of whole temporary memory, so need save it to permanent # memory at first! # @@ -44,14 +44,14 @@ ASM_PFX(SecSwitchStack): movl=C2=A0 24(%esp), %ecx=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Save t= he second parameter # -# Save this function's return address into permenent memory at first. -# Then, Fixup the esp point to permenent memory +# Save this function's return address into permanent memory at first. +# Then, Fixup the esp point to permanent memory # movl=C2=A0 %esp, %eax subl=C2=A0 %ebx, %eax addl=C2=A0 %ecx, %eax -=C2=A0 =C2=A0 movl=C2=A0 (%esp), %edx=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0# copy pushed register's value to permenent memo= ry +=C2=A0 =C2=A0 movl=C2=A0 (%esp), %edx=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0# copy pushed register's value to permanent memo= ry movl=C2=A0 %edx, (%eax) movl=C2=A0 4(%esp), %edx movl=C2=A0 %edx, 4(%eax) @@ -61,16 +61,16 @@ ASM_PFX(SecSwitchStack): movl=C2=A0 %edx, 12(%eax) movl=C2=A0 16(%esp), %edx movl=C2=A0 %edx, 16(%eax) -=C2=A0 =C2=A0 movl=C2=A0 %eax, %esp=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# From now, esp is pointed to permenent memo= ry +=C2=A0 =C2=A0 movl=C2=A0 %eax, %esp=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# From now, esp is pointed to permanent memo= ry # -# Fixup the ebp point to permenent memory +# Fixup the ebp point to permanent memory # #ifndef __APPLE__ movl=C2=A0 =C2=A0%ebp, %eax subl=C2=A0 =C2=A0%ebx, %eax addl=C2=A0 =C2=A0%ecx, %eax -=C2=A0 =C2=A0 movl=C2=A0 =C2=A0%eax, %ebp=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # From now, ebp is pointed to permenent mem= ory +=C2=A0 =C2=A0 movl=C2=A0 =C2=A0%eax, %ebp=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # From now, ebp is pointed to permanent mem= ory # # Fixup callee's ebp point for PeiDispatch @@ -78,7 +78,7 @@ ASM_PFX(SecSwitchStack): movl=C2=A0 =C2=A0(%ebp), %eax subl=C2=A0 =C2=A0%ebx, %eax addl=C2=A0 =C2=A0%ecx, %eax -=C2=A0 =C2=A0 movl=C2=A0 =C2=A0%eax, (%ebp)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 # From now, Temporary's PPI caller's stack is in p= ermenent memory +=C2=A0 =C2=A0 movl=C2=A0 =C2=A0%eax, (%ebp)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 # From now, Temporary's PPI caller's stack is in p= ermanent memory #endif pop=C2=A0 =C2=A0%edx diff --git a/EmulatorPkg/Sec/Ia32/SwitchRam.asm b/EmulatorPkg/Sec/Ia32/Swit= chRam.asm index 9c7908f7a0..99ef002980 100644 --- a/EmulatorPkg/Sec/Ia32/SwitchRam.asm +++ b/EmulatorPkg/Sec/Ia32/SwitchRam.asm @@ -9,7 +9,7 @@ ; ; Abstract: ; -;=C2=A0 =C2=A0Switch the stack from temporary memory to permenent memory. +;=C2=A0 =C2=A0Switch the stack from temporary memory to permanent memory. ; ;--------------------------------------------------------------------------= ---- @@ -36,7 +36,7 @@ SecSwitchStack=C2=A0 =C2=A0PROC ; ; !!CAUTION!! this function address's is pushed into stack after -=C2=A0 =C2=A0 ; migration of whole temporary memory, so need save it to pe= rmenent +=C2=A0 =C2=A0 ; migration of whole temporary memory, so need save it to pe= rmanent ; memory at first! ; @@ -44,13 +44,13 @@ SecSwitchStack=C2=A0 =C2=A0PROC mov=C2=A0 =C2=A0ecx, [esp + 24]=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ; Save th= e second parameter ; -=C2=A0 =C2=A0 ; Save this function's return address into permenent memory = at first. -=C2=A0 =C2=A0 ; Then, Fixup the esp point to permenent memory +=C2=A0 =C2=A0 ; Save this function's return address into permanent memory = at first. +=C2=A0 =C2=A0 ; Then, Fixup the esp point to permanent memory ; mov=C2=A0 =C2=A0eax, esp sub=C2=A0 =C2=A0eax, ebx add=C2=A0 =C2=A0eax, ecx -=C2=A0 =C2=A0 mov=C2=A0 =C2=A0edx, dword ptr [esp]=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0; copy pushed register's value to permenent memory +=C2=A0 =C2=A0 mov=C2=A0 =C2=A0edx, dword ptr [esp]=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0; copy pushed register's value to permanent memory mov=C2=A0 =C2=A0dword ptr [eax], edx mov=C2=A0 =C2=A0edx, dword ptr [esp + 4] mov=C2=A0 =C2=A0dword ptr [eax + 4], edx @@ -58,17 +58,17 @@ SecSwitchStack=C2=A0 =C2=A0PROC mov=C2=A0 =C2=A0dword ptr [eax + 8], edx mov=C2=A0 =C2=A0edx, dword ptr [esp + 12] mov=C2=A0 =C2=A0dword ptr [eax + 12], edx -=C2=A0 =C2=A0 mov=C2=A0 =C2=A0edx, dword ptr [esp + 16]=C2=A0 =C2=A0 ; Upd= ate this function's return address into permenent memory +=C2=A0 =C2=A0 mov=C2=A0 =C2=A0edx, dword ptr [esp + 16]=C2=A0 =C2=A0 ; Upd= ate this function's return address into permanent memory mov=C2=A0 =C2=A0dword ptr [eax + 16], edx -=C2=A0 =C2=A0 mov=C2=A0 =C2=A0esp, eax=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0; From now, esp is pointed to perm= enent memory +=C2=A0 =C2=A0 mov=C2=A0 =C2=A0esp, eax=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0; From now, esp is pointed to perm= anent memory ; -=C2=A0 =C2=A0 ; Fixup the ebp point to permenent memory +=C2=A0 =C2=A0 ; Fixup the ebp point to permanent memory ; mov=C2=A0 =C2=A0eax, ebp sub=C2=A0 =C2=A0eax, ebx add=C2=A0 =C2=A0eax, ecx -=C2=A0 =C2=A0 mov=C2=A0 =C2=A0ebp, eax=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ; From now, ebp is pointed to permenent memory +=C2=A0 =C2=A0 mov=C2=A0 =C2=A0ebp, eax=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ; From now, ebp is pointed to permanent memory ; ; Fixup callee's ebp point for PeiDispatch @@ -76,7 +76,7 @@ SecSwitchStack=C2=A0 =C2=A0PROC mov=C2=A0 =C2=A0eax, dword ptr [ebp] sub=C2=A0 =C2=A0eax, ebx add=C2=A0 =C2=A0eax, ecx -=C2=A0 =C2=A0 mov=C2=A0 =C2=A0dword ptr [ebp], eax=C2=A0 =C2=A0 ; From now= , Temporary's PPI caller's stack is in permenent memory +=C2=A0 =C2=A0 mov=C2=A0 =C2=A0dword ptr [ebp], eax=C2=A0 =C2=A0 ; From now= , Temporary's PPI caller's stack is in permanent memory pop=C2=A0 =C2=A0edx pop=C2=A0 =C2=A0ecx diff --git a/EmulatorPkg/Sec/Sec.c b/EmulatorPkg/Sec/Sec.c index 701032233b..7ee8786c79 100644 --- a/EmulatorPkg/Sec/Sec.c +++ b/EmulatorPkg/Sec/Sec.c @@ -1,5 +1,5 @@ /*++ @file -=C2=A0 Stub SEC that is called from the OS appliation that is the root of = the emulator. +=C2=A0 Stub SEC that is called from the OS application that is the root of= the emulator. The OS application will call the SEC with the PEI Entry Point API. @@ -89,7 +89,7 @@ _ModuleEntryPoint ( SecReseveredMemorySize +=3D sizeof (EFI_PEI_PPI_DESCRIPTOR); if ((Ppi->Flags & EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST) =3D=3D EFI_PEI_PPI= _DESCRIPTOR_TERMINATE_LIST) { -=C2=A0 =C2=A0 =C2=A0 // Since we are appending, need to clear out privious= list terminator. +=C2=A0 =C2=A0 =C2=A0 // Since we are appending, need to clear out previous= list terminator. Ppi->Flags &=3D ~EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST; break; } @@ -140,4 +140,3 @@ _ModuleEntryPoint ( } - diff --git a/EmulatorPkg/Sec/Sec.h b/EmulatorPkg/Sec/Sec.h index dd301f7888..42554e05b5 100644 --- a/EmulatorPkg/Sec/Sec.h +++ b/EmulatorPkg/Sec/Sec.h @@ -1,5 +1,5 @@ /*++ @file -=C2=A0 Stub SEC that is called from the OS appliation that is the root of = the emulator. +=C2=A0 Stub SEC that is called from the OS application that is the root of= the emulator. The OS application will call the SEC with the PEI Entry Point API. @@ -23,7 +23,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // -// I think this shold be defined in a MdePkg include file? +// I think this should be defined in a MdePkg include file? // VOID EFIAPI diff --git a/EmulatorPkg/Sec/X64/SwitchRam.S b/EmulatorPkg/Sec/X64/SwitchRa= m.S index 7ddb6c854b..59d4e2edef 100644 --- a/EmulatorPkg/Sec/X64/SwitchRam.S +++ b/EmulatorPkg/Sec/X64/SwitchRam.S @@ -1,7 +1,7 @@ #--------------------------------------------------------------------------= ---- # # Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
-# Portitions copyright (c) 2011, Apple Inc. All rights reserved. +# Portions copyright (c) 2011, Apple Inc. All rights reserved. # SPDX-License-Identifier: BSD-2-Clause-Patent # #--------------------------------------------------------------------------= ---- diff --git a/EmulatorPkg/Sec/X64/SwitchRam.asm b/EmulatorPkg/Sec/X64/Switch= Ram.asm index 73530bff39..e66bda5bf4 100644 --- a/EmulatorPkg/Sec/X64/SwitchRam.asm +++ b/EmulatorPkg/Sec/X64/SwitchRam.asm @@ -1,7 +1,7 @@ ;--------------------------------------------------------------------------= ---- ; ; Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
-; Portitions copyright (c) 2011, Apple Inc. All rights reserved. +; Portions copyright (c) 2011, Apple Inc. All rights reserved. ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ;--------------------------------------------------------------------------= ---- diff --git a/EmulatorPkg/TimerDxe/Timer.c b/EmulatorPkg/TimerDxe/Timer.c index dfd92acc8c..8e2baaaa5b 100644 --- a/EmulatorPkg/TimerDxe/Timer.c +++ b/EmulatorPkg/TimerDxe/Timer.c @@ -301,7 +301,7 @@ Returns: EFI_OUT_OF_RESOURCES=C2=A0 - Not enough resources available to initialize d= river. -=C2=A0 EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 - A device error occured attem= pting to initialize the driver. +=C2=A0 EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 - A device error occurred atte= mpting to initialize the driver. **/ { diff --git a/EmulatorPkg/Unix/GdbRun.sh b/EmulatorPkg/Unix/GdbRun.sh index 8c761ff2c9..b050ad5e2c 100644 --- a/EmulatorPkg/Unix/GdbRun.sh +++ b/EmulatorPkg/Unix/GdbRun.sh @@ -62,8 +62,8 @@ define RemoveFirmwareSymbolFile end if gInXcode =3D=3D 1 -=C2=A0 # in Xcode the program is already runing. Issuing a run command -=C2=A0 # will cause a fatal debugger error. The break point sciprt that +=C2=A0 # in Xcode the program is already running. Issuing a run command +=C2=A0 # will cause a fatal debugger error. The break point script that # is used to source this script sets gInCode to 1. else # diff --git a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c b/EmulatorPkg/Uni= x/Host/BerkeleyPacketFilter.c index e318a90740..dcc315ac72 100644 --- a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c +++ b/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c @@ -5,7 +5,7 @@ Tested on Mac OS X. Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.
-Portitions copyright (c) 2011, Apple Inc. All rights reserved. +Portions copyright (c) 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/EmulatorPkg/Unix/Host/BlockIo.c b/EmulatorPkg/Unix/Host/BlockI= o.c index 07e39347e4..18368060d5 100644 --- a/EmulatorPkg/Unix/Host/BlockIo.c +++ b/EmulatorPkg/Unix/Host/BlockIo.c @@ -398,7 +398,7 @@ EmuBlockIoReadBlocks ( Done: if (Token !=3D NULL) { if (Token->Event !=3D NULL) { -=C2=A0 =C2=A0 =C2=A0 // Caller is responcible for signaling EFI Event +=C2=A0 =C2=A0 =C2=A0 // Caller is responsible for signaling EFI Event Token->TransactionStatus =3D Status; return EFI_SUCCESS; } @@ -429,7 +429,7 @@ Done: the Event is NULL. @retval EFI_WRITE_PROTECTED=C2=A0 =C2=A0The device can not be written to. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 There is no media in= the device. -=C2=A0 @retval EFI_MEDIA_CHNAGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atched the current device. +=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not m= atch the current device. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 The device reported an error w= hile performing the write. @retval EFI_BAD_BUFFER_SIZE=C2=A0 =C2=A0The Buffer was not a multiple of th= e block size of the device. @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not = valid, @@ -477,7 +477,7 @@ EmuBlockIoWriteBlocks ( Done: if (Token !=3D NULL) { if (Token->Event !=3D NULL) { -=C2=A0 =C2=A0 =C2=A0 // Caller is responcible for signaling EFI Event +=C2=A0 =C2=A0 =C2=A0 // Caller is responsible for signaling EFI Event Token->TransactionStatus =3D Status; return EFI_SUCCESS; } @@ -500,7 +500,7 @@ Done: @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The flush request was= queued if Event is not NULL. All outstanding data was written correctly to the device if the Event is NULL. -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0The device reported an = error while writting back +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0The device reported an = error while writing back the data. @retval EFI_WRITE_PROTECTED=C2=A0 The device cannot be written to. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0There is no media in = the device. @@ -529,7 +529,7 @@ EmuBlockIoFlushBlocks ( if (Token !=3D NULL) { if (Token->Event !=3D NULL) { -=C2=A0 =C2=A0 =C2=A0 // Caller is responcible for signaling EFI Event +=C2=A0 =C2=A0 =C2=A0 // Caller is responsible for signaling EFI Event Token->TransactionStatus =3D EFI_SUCCESS; return EFI_SUCCESS; } @@ -544,7 +544,7 @@ EmuBlockIoFlushBlocks ( @param[in]=C2=A0 This=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0Indicates a pointer to the calling context. @param[in]=C2=A0 ExtendedVerification Indicates that the driver may perform= a more -=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exhausive verfication o= peration of the device +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exhaustive verification= operation of the device during reset. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The device was reset. diff --git a/EmulatorPkg/Unix/Host/EmuThunk.c b/EmulatorPkg/Unix/Host/EmuTh= unk.c index f1330c8234..b831c67946 100644 --- a/EmulatorPkg/Unix/Host/EmuThunk.c +++ b/EmulatorPkg/Unix/Host/EmuThunk.c @@ -6,7 +6,7 @@ The mUnixThunkTable exists so that a change to EFI_EMU_THUNK_PROTOCOL will cause an error in initializing the array if all the member functions are not added. It looks like adding a element to end and not initializing -=C2=A0 it may cause the table to be initaliized with the members at the en= d being +=C2=A0 it may cause the table to be initialized with the members at the en= d being set to zero. This is bad as jumping to zero will crash. Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Unix/Host/Host.c b/EmulatorPkg/Unix/Host/Host.c index febfb1f44c..b6d7777d41 100644 --- a/EmulatorPkg/Unix/Host/Host.c +++ b/EmulatorPkg/Unix/Host/Host.c @@ -38,7 +38,7 @@ UINTN=C2=A0 =C2=A0 =C2=A0 =C2=A0gFdInfoCount =3D 0; EMU_FD_INFO *gFdInfo; // -// Array that supports seperate memory rantes. +// Array that supports separate memory ranges. //=C2=A0 The memory ranges are set in system.cmd via the EFI_MEMORY_SIZE va= riable. //=C2=A0 The number of array elements is allocated base on parsing //=C2=A0 EFI_MEMORY_SIZE and the memory is never freed. @@ -379,7 +379,7 @@ Arguments: Returns: EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 - The file was opened and mapped. EFI_NOT_FOUND=C2=A0 =C2=A0 - FileName was not found in the current directory -=C2=A0 EFI_DEVICE_ERROR - An error occured attempting to map the opened fi= le +=C2=A0 EFI_DEVICE_ERROR - An error occurred attempting to map the opened f= ile **/ EFI_STATUS @@ -523,7 +523,7 @@ Arguments: PeiCorePe32File=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- SEC PE32 Returns: -=C2=A0 Success means control is transfered and thus we should never return +=C2=A0 Success means control is transferred and thus we should never return **/ VOID @@ -611,7 +611,7 @@ Routine Description: It allows discontinuous memory regions to be supported by the emulator. It uses gSystemMemory[] and gSystemMemoryCount that were created by parsing the host environment variable EFI_MEMORY_SIZE. -=C2=A0 The size comes from the varaible and the address comes from the cal= l to +=C2=A0 The size comes from the variable and the address comes from the cal= l to UnixOpenFile. Arguments: @@ -661,7 +661,7 @@ Routine Description: This is all of GCD for system memory passed to DXE Core. FV mapping and other device mapped into system memory are not - inlcuded in the check. + included in the check. Arguments: Index=C2=A0 =C2=A0 =C2=A0 - Which memory region to use @@ -898,7 +898,7 @@ Routine Description: The ModHandle is needed to unload the image. Arguments: -=C2=A0 ImageContext - Input data returned from PE Laoder Library. Used to = find the +=C2=A0 ImageContext - Input data returned from PE Loader Library. Used to = find the .PDB file name of the PE Image. ModHandle=C2=A0 =C2=A0 - Returned from LoadLibraryEx() and stored for call = to FreeLibrary(). @@ -922,7 +922,7 @@ AddHandle ( for (Index =3D 0; Index < mImageContextModHandleArraySize; Index++, Array++= ) { if (Array->ImageContext =3D=3D NULL) { // -=C2=A0 =C2=A0 =C2=A0 // Make a copy of the stirng and store the ModHandle +=C2=A0 =C2=A0 =C2=A0 // Make a copy of the string and store the ModHandle // Array->ImageContext =3D ImageContext; Array->ModHandle=C2=A0 =C2=A0 =3D ModHandle; @@ -933,7 +933,7 @@ AddHandle ( // // No free space in mImageContextModHandleArray so grow it by // IMAGE_CONTEXT_TO_MOD_HANDLE entires. realloc will -=C2=A0 // copy the old values to the new locaiton. But it does +=C2=A0 // copy the old values to the new location. But it does // not zero the new memory area. // PreviousSize =3D mImageContextModHandleArraySize * sizeof (IMAGE_CONTEXT_TO= _MOD_HANDLE); @@ -961,11 +961,11 @@ Routine Description: Return the ModHandle and delete the entry in the array. Arguments: -=C2=A0 ImageContext - Input data returned from PE Laoder Library. Used to = find the +=C2=A0 ImageContext - Input data returned from PE Loader Library. Used to = find the .PDB file name of the PE Image. Returns: -=C2=A0 ModHandle - ModHandle assoicated with ImageContext is returned +=C2=A0 ModHandle - ModHandle associated with ImageContext is returned NULL=C2=A0 =C2=A0 =C2=A0 - No ModHandle associated with ImageContext **/ diff --git a/EmulatorPkg/Unix/Host/LinuxPacketFilter.c b/EmulatorPkg/Unix/H= ost/LinuxPacketFilter.c index a8028d18ff..2b772ab884 100644 --- a/EmulatorPkg/Unix/Host/LinuxPacketFilter.c +++ b/EmulatorPkg/Unix/Host/LinuxPacketFilter.c @@ -6,7 +6,7 @@ is just a template that needs to get filled in. Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.
-Portitions copyright (c) 2011, Apple Inc. All rights reserved. +Portions copyright (c) 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/EmulatorPkg/Unix/Host/Pthreads.c b/EmulatorPkg/Unix/Host/Pthre= ads.c index 7c71a2da4f..3aadab0c28 100644 --- a/EmulatorPkg/Unix/Host/Pthreads.c +++ b/EmulatorPkg/Unix/Host/Pthreads.c @@ -133,7 +133,7 @@ PthreadCreate ( EnabledOnEntry =3D FALSE; } -=C2=A0 // Aquire lock for global, SecFakePthreadStart runs in a different = thread. +=C2=A0 // Acquire lock for global, SecFakePthreadStart runs in a different= thread. pthread_mutex_lock (&mThreadMangle.Mutex); mThreadMangle.Start=C2=A0 =C2=A0=3D Start; diff --git a/EmulatorPkg/Unix/Host/X64/Gasket.S b/EmulatorPkg/Unix/Host/X64= /Gasket.S index a9ca707562..030faa8e4c 100644 --- a/EmulatorPkg/Unix/Host/X64/Gasket.S +++ b/EmulatorPkg/Unix/Host/X64/Gasket.S @@ -15,11 +15,11 @@ // // Gaskets are EFI ABI to UNIX ABI calls // EFI ABI code will sub 40 (0x28) from %rsp before calling a function -//=C2=A0 This is the 32 (0x20) byte to spill registers and 8 bytes to alig= n stack on 16 byte boundry. +//=C2=A0 This is the 32 (0x20) byte to spill registers and 8 bytes to alig= n stack on 16 byte boundary. // .text -// 32 byte shadow to spill rcx-r9, 8 bytes to align stack on 16 byte bound= ry +// 32 byte shadow to spill rcx-r9, 8 bytes to align stack on 16 byte bound= ary // Any call with 0 - 4 arguments allocates 40 bytes on the stack. // For more than 4 args you always have to increase in quanta of 16 so 5 or= 6 args is 56, // 7 or 8 args is 72, and 9 or 10 args is 88 diff --git a/EmulatorPkg/Unix/Host/X64/SwitchStack.S b/EmulatorPkg/Unix/Hos= t/X64/SwitchStack.S index 4126cc9912..36838bf29e 100644 --- a/EmulatorPkg/Unix/Host/X64/SwitchStack.S +++ b/EmulatorPkg/Unix/Host/X64/SwitchStack.S @@ -1,7 +1,7 @@ #--------------------------------------------------------------------------= ---- # # Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
-# Portitions copyright (c) 2011, Apple Inc. All rights reserved. +# Portions copyright (c) 2011, Apple Inc. All rights reserved. # SPDX-License-Identifier: BSD-2-Clause-Patent # #--------------------------------------------------------------------------= ---- diff --git a/EmulatorPkg/Unix/lldbefi.py b/EmulatorPkg/Unix/lldbefi.py index 218326b8cb..f3e35865c2 100755 --- a/EmulatorPkg/Unix/lldbefi.py +++ b/EmulatorPkg/Unix/lldbefi.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -#=C2=A0 Copyright 2014 Apple Inc. All righes reserved. +#=C2=A0 Copyright 2014 Apple Inc. All rights reserved. # #=C2=A0 SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -278,7 +278,7 @@ def EFI_DEVICE_PATH_PROTOCOL_TypeSummary (valobj,intern= al_dict): Address =3D long ("%d" % valobj.addr) if (Address =3D=3D lldb.LLDB_INVALID_ADDRESS): -=C2=A0 =C2=A0 =C2=A0 # Need to reserach this, it seems to be the nested st= ruct case +=C2=A0 =C2=A0 =C2=A0 # Need to research this, it seems to be the nested st= ruct case ExprStr =3D "" elif (Type & 0x7f =3D=3D 0x7f): ExprStr =3D "End Device Path" if SubType =3D=3D 0xff else "End This Instanc= e" @@ -304,7 +304,7 @@ def EFI_DEVICE_PATH_PROTOCOL_TypeSummary (valobj,intern= al_dict): def TypePrintFormating(debugger): # -=C2=A0 =C2=A0 # Set the default print formating for EFI types in lldb. +=C2=A0 =C2=A0 # Set the default print formatting for EFI types in lldb. # seems lldb defaults to decimal. # category =3D debugger.GetDefaultCategory() @@ -384,7 +384,7 @@ def LoadEmulatorEfiSymbols(frame, bp_loc , internal_dic= t): FileName =3D frame.thread.process.ReadCStringFromMemory (FileNamePtr, FileN= ameLen, Error) if not Error.Success(): print "!ReadCStringFromMemory() did not find a %d byte C string at %x" % (F= ileNameLen, FileNamePtr) -=C2=A0 =C2=A0 =C2=A0 =C2=A0 # make breakpoint command contiue +=C2=A0 =C2=A0 =C2=A0 =C2=A0 # make breakpoint command continue frame.GetThread().GetProcess().Continue() debugger =3D frame.thread.process.target.debugger @@ -404,12 +404,12 @@ def LoadEmulatorEfiSymbols(frame, bp_loc , internal_d= ict): if not target.RemoveModule (SBModule): print "!lldb.target.RemoveModule (%s) FAILED" % SBModule -=C2=A0 =C2=A0 # make breakpoint command contiue +=C2=A0 =C2=A0 # make breakpoint command continue frame.thread.process.Continue() def GuidToCStructStr (guid, Name=3DFalse): # -=C2=A0 # Convert a 16-byte bytesarry (or bytearray compat object) to C gui= d string +=C2=A0 # Convert a 16-byte bytesarray (or bytearray compat object) to C gu= id string # { 0xB402621F, 0xA940, 0x1E4A, { 0x86, 0x6B, 0x4D, 0xC9, 0x16, 0x2B, 0x34,= 0x7C } } # # Name=3DTrue means lookup name in GuidNameDict and us it if you find it @@ -516,7 +516,7 @@ def __lldb_init_module (debugger, internal_dict): if len(data) >=3D 2: guid_dict[data[0].upper()] =3D data[1].strip('\n') -=C2=A0 =C2=A0 # init EFI specific type formaters +=C2=A0 =C2=A0 # init EFI specific type formatters TypePrintFormating (debugger) diff --git a/EmulatorPkg/Win/Host/WinGopScreen.c b/EmulatorPkg/Win/Host/Win= GopScreen.c index 8f42606823..9a992ad157 100644 --- a/EmulatorPkg/Win/Host/WinGopScreen.c +++ b/EmulatorPkg/Win/Host/WinGopScreen.c @@ -297,7 +297,7 @@ WinNtWndSize ( @param=C2=A0 X=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 X location on graphics screen. @param=C2=A0 Y=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 Y location on the graphics screen. @param=C2=A0 Width=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 Width of BltBuffer. -=C2=A0 @param=C2=A0 Height=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0Hight of BltBuffer +=C2=A0 @param=C2=A0 Height=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0Height of BltBuffer @param=C2=A0 BltOperation=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Operation= to perform on BltBuffer and video memory @param=C2=A0 BltBuffer=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Buff= er containing data to blt into video buffer. This=C2=A0 buffer has a size of diff --git a/EmulatorPkg/Win/Host/WinHost.c b/EmulatorPkg/Win/Host/WinHost.c index dd52075f98..32d77fe48d 100644 --- a/EmulatorPkg/Win/Host/WinHost.c +++ b/EmulatorPkg/Win/Host/WinHost.c @@ -859,7 +859,7 @@ PeCoffLoaderRelocateImageExtraAction ( //=C2=A0 the *.dll file as a library using Windows* APIs. This allows //=C2=A0 source level debug. The image is still loaded and relocated //=C2=A0 in the Framework memory space like on a real system (by the code a= bove), -=C2=A0 //=C2=A0 but the entry point points into the DLL loaded by the code= bellow. +=C2=A0 //=C2=A0 but the entry point points into the DLL loaded by the code= below. // DllEntryPoint =3D NULL; -- 2.20.1 (Apple Git-117) -=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 (#43043): https://edk2.groups.io/g/devel/message/43043 Mute This Topic: https://groups.io/mt/32250577/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- --2f4I6shYOLZ4Z1jFVbjH Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Fix various typos in EmulatorPkg.
 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr>
---
 EmulatorPkg/BootModePei/BootModePei.c       = ;  |  2 +-
 EmulatorPkg/CpuRuntimeDxe/MpService.c       = ;  | 11 +++++-----
 EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c      &nbs= p; | 14 ++++++-------
 EmulatorPkg/EmuGopDxe/GopDriver.c        &n= bsp;    |  4 ++--
 EmulatorPkg/EmuGopDxe/GopInput.c        &nb= sp;     | 12 +++++------
 EmulatorPkg/EmuGopDxe/GopScreen.c        &n= bsp;    |  6 +++---
 .../EmuSimpleFileSystem.c          &nb= sp;          |  2 +-
 EmulatorPkg/EmuThunkDxe/EmuThunk.c        &= nbsp;   |  2 +-
 .../FirmwareVolumePei/FirmwareVolumePei.c     |&= nbsp; 2 +-
 .../FvbServicesRuntimeDxe/FWBlockService.c    | 10 ++= +++-----
 EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c   | = 2 +-
 .../FvbServicesRuntimeDxe.inf         =        |  4 ++--
 EmulatorPkg/Include/Library/EmuThunkLib.h     |&= nbsp; 2 +-
 EmulatorPkg/Include/Library/SmbiosLib.h      &nb= sp;| 12 +++++------
 EmulatorPkg/Include/Protocol/EmuBlockIo.h     |&= nbsp; 6 +++---
 .../Include/Protocol/EmuGraphicsWindow.h      |&= nbsp; 2 +-
 EmulatorPkg/Include/Protocol/EmuSnp.h       = ;  |  4 ++--
 EmulatorPkg/Include/Protocol/EmuThunk.h      &nb= sp;|  4 ++--
 EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c     |&= nbsp; 2 +-
 .../DxeEmuPeCoffExtraActionLib.c        &nb= sp;     |  2 +-
 .../DxeEmuPeCoffExtraActionLib.inf        &= nbsp;   |  2 +-
 .../DxeEmuSerialPortLib/DxeEmuSerialPortLib.c |  8 ++++---= -
 .../DxeEmuStdErrSerialPortLib.c        &nbs= p;      |  2 +-
 .../MemoryAllocationLib.c          &nb= sp;          |  6 +++---
 .../PeiEmuPeCoffExtraActionLib.c        &nb= sp;     |  2 +-
 .../PeiEmuPeCoffExtraActionLib.inf        &= nbsp;   |  2 +-
 .../PeiEmuPeCoffGetEntryPointLib.c        &= nbsp;   |  4 ++--
 .../PeiEmuSerialPortLib/PeiEmuSerialPortLib.c |  2 +-
 .../PeiServicesTablePointer.c         =        |  4 ++--
 .../PeiServicesTablePointer.c         =        |  4 ++--
 .../PeiServicesTablePointerLibMagicPage.inf   | = 2 +-
 .../Library/PlatformBmLib/PlatformBmLib.inf   | = 2 +-
 EmulatorPkg/Library/SmbiosLib/SmbiosLib.c     |&= nbsp; 8 ++++----
 .../MiscChassisManufacturerData.c        &n= bsp;    |  4 ++--
 ...MiscNumberOfInstallableLanguagesFunction.c |  4 ++--
 .../MiscSystemManufacturerData.c        &nb= sp;     |  2 +-
 .../PlatformSmbiosDxe/PlatformSmbiosDxe.c     |&= nbsp; 4 ++--
 EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c   | = 2 +-
 .../RealTimeClockRuntimeDxe/RealTimeClock.c   | 10 ++= +++-----
 EmulatorPkg/Sec/Ia32/SwitchRam.S        &nb= sp;     | 18 ++++++++---------
 EmulatorPkg/Sec/Ia32/SwitchRam.asm        &= nbsp;   | 20 +++++++++----------
 EmulatorPkg/Sec/Sec.c            =              |  5 ++---
 EmulatorPkg/Sec/Sec.h            =              |  4 ++--
 EmulatorPkg/Sec/X64/SwitchRam.S        &nbs= p;      |  2 +-
 EmulatorPkg/Sec/X64/SwitchRam.asm        &n= bsp;    |  2 +-
 EmulatorPkg/TimerDxe/Timer.c          =         |  2 +-
 EmulatorPkg/Unix/GdbRun.sh          &n= bsp;         |  4 ++--
 EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c  |  2 +-=
 EmulatorPkg/Unix/Host/BlockIo.c        &nbs= p;      | 12 +++++------
 EmulatorPkg/Unix/Host/EmuThunk.c        &nb= sp;     |  2 +-
 EmulatorPkg/Unix/Host/Host.c          =         | 20 +++++++++----------
 EmulatorPkg/Unix/Host/LinuxPacketFilter.c     |&= nbsp; 2 +-
 EmulatorPkg/Unix/Host/Pthreads.c        &nb= sp;     |  2 +-
 EmulatorPkg/Unix/Host/X64/Gasket.S        &= nbsp;   |  4 ++--
 EmulatorPkg/Unix/Host/X64/SwitchStack.S      &nb= sp;|  2 +-
 EmulatorPkg/Unix/lldbefi.py          &= nbsp;        | 14 ++++++-------
 EmulatorPkg/Win/Host/WinGopScreen.c        =    |  2 +-
 EmulatorPkg/Win/Host/WinHost.c         = ;       |  2 +-
 58 files changed, 149 insertions(+), 151 deletions(-)
 
diff --git a/EmulatorPkg/BootModePei/BootModePei.c b/EmulatorPkg/Boot= ModePei/BootModePei.c
index a008a2331d..0f8d8f090e 100644
--- a/EmulatorPkg/BootModePei/BootModePei.c
+++ b/EmulatorPkg/BootModePei/BootModePei.c
@@ -18,7 +18,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 
 //
-// The protocols, PPI and GUID defintions for this module
+// The protocols, PPI and GUID definitions for this module
 //
 #include <Ppi/MasterBootMode.h>
 #include <Ppi/BootInRecoveryMode.h>
diff --git a/EmulatorPkg/CpuRuntimeDxe/MpService.c b/EmulatorPkg/CpuR= untimeDxe/MpService.c
index 42f94ada27..ff379a1ce3 100644
--- a/EmulatorPkg/CpuRuntimeDxe/MpService.c
+++ b/EmulatorPkg/CpuRuntimeDxe/MpService.c
@@ -29,10 +29,9 @@
   Diagnostics applications may also use this protocol for = multi-processor.
 
 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserv= ed.<BR>
-Portitions Copyright (c) 2011, Apple Inc. All rights reserved.
+Portions Copyright (c) 2011, Apple Inc. All rights reserved.
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
-
 **/
 
 #include "CpuDriver.h"
@@ -292,7 +291,7 @@ CpuMpServicesGetProcessorInfo (
        and releases the BSP to continue with oth= er tasks.
     -# The caller can use the CheckEvent() and WaitFo= rEvent() services to check
        the state of the WaitEvent created in ste= p 1.
-    -# When the APs complete their task or TimeoutInMicroS= econdss expires, the MP
+    -# When the APs complete their task or TimeoutInMicroS= econds 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 Proced= ure prior to the timeout, then
@@ -332,7 +331,7 @@ CpuMpServicesGetProcessorInfo (
                   =                    EFI_E= VENT is defined in CreateEvent() in
                   =                    the U= nified Extensible Firmware Interface
                   =                    Speci= fication.
-  @param[in]  TimeoutInMicrosecsond   Indicates = the time limit in microseconds for
+  @param[in]  TimeoutInMicroseconds   Indicates = the time limit in microseconds for
                   =                    APs t= o return from Procedure, either for
                   =                    block= ing or non-blocking mode. Zero means
                   =                    infin= ity.  If the timeout expires before
@@ -601,7 +600,7 @@ Done:
   This function is used to dispatch one enabled AP to the = function specified by
   Procedure passing in the argument specified by Procedure= Argument.  If WaitEvent
   is NULL, execution is in blocking mode. The BSP waits un= til the AP finishes or
-  TimeoutInMicroSecondss expires. Otherwise, execution is in no= n-blocking mode.
+  TimeoutInMicroSeconds expires. Otherwise, execution is in non= -blocking mode.
   BSP proceeds to the next task without waiting for the AP= . If a non-blocking mode
   is requested after the UEFI Event EFI_EVENT_GROUP_READY_= TO_BOOT is signaled,
   then EFI_UNSUPPORTED must be returned.
@@ -636,7 +635,7 @@ Done:
                   =                    EFI_E= VENT is defined in CreateEvent() in
                   =                    the U= nified Extensible Firmware Interface
                   =                    Speci= fication.
-  @param[in]  TimeoutInMicrosecsond   Indicates = the time limit in microseconds for
+  @param[in]  TimeoutInMicroseconds   Indicates = the time limit in microseconds for
                   =                    APs t= o return from Procedure, either for
                   =                    block= ing or non-blocking mode. Zero means
                   =                    infin= ity.  If the timeout expires before
diff --git a/EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c b/EmulatorPkg/Emu= BlockIoDxe/EmuBlockIo.c
index 96424a82ae..1a88223f91 100644
--- a/EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c
+++ b/EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c
@@ -13,7 +13,7 @@ bbe
 
   @param[in]  This          =        Indicates a pointer to the calling context.
   @param[in]  ExtendedVerification Indicates that the= driver may perform a more
-                   = ;                exhausive verficat= ion operation of the device
+                   = ;                exhaustive verific= ation operation of the device
                   =                 during reset.
 
   @retval EFI_SUCCESS          Th= e device was reset.
@@ -123,7 +123,7 @@ EmuBlockIo2ReadBlocksEx (
                   =              the Event is NULL.
   @retval EFI_WRITE_PROTECTED   The device can n= ot be written to.
   @retval EFI_NO_MEDIA          T= here is no media in the device.
-  @retval EFI_MEDIA_CHNAGED     The MediaId does= not matched the current device.
+  @retval EFI_MEDIA_CHANGED     The MediaId does= not match the current device.
   @retval EFI_DEVICE_ERROR      The device = reported an error while performing the write.
   @retval EFI_BAD_BUFFER_SIZE   The Buffer was n= ot a multiple of the block size of the device.
   @retval EFI_INVALID_PARAMETER The write request contains= LBAs that are not valid,
@@ -172,7 +172,7 @@ EmuBlockIo2WriteBlocksEx (
   @retval EFI_SUCCESS          Th= e flush request was queued if Event is not NULL.
                   =             All outstanding data was written= correctly to the
                   =             device if the Event is NULL.
-  @retval EFI_DEVICE_ERROR     The device report= ed an error while writting back
+  @retval EFI_DEVICE_ERROR     The device report= ed an error while writing back
                   =             the data.
   @retval EFI_WRITE_PROTECTED  The device cannot be w= ritten to.
   @retval EFI_NO_MEDIA         Th= ere is no media in the device.
@@ -250,7 +250,7 @@ EmuBlockIoReset (
   @retval EFI_SUCCESS          &n= bsp;The data was read correctly from the device.
   @retval EFI_DEVICE_ERROR      The device = reported an error while performing the read.
   @retval EFI_NO_MEDIA          T= here is no media in the device.
-  @retval EFI_MEDIA_CHANGED     The MediaId does= not matched the current device.
+  @retval EFI_MEDIA_CHANGED     The MediaId does= not match the current device.
   @retval EFI_BAD_BUFFER_SIZE   The Buffer was n= ot a multiple of the block size of the device.
   @retval EFI_INVALID_PARAMETER The read request contains = LBAs that are not valid,
                   =              or the buffer is not on pr= oper alignment.
@@ -297,7 +297,7 @@ EmuBlockIoReadBlocks (
   @retval EFI_WRITE_PROTECTED   The device can n= ot be written to.
   @retval EFI_DEVICE_ERROR      The device = reported an error while performing the write.
   @retval EFI_NO_MEDIA          T= here is no media in the device.
-  @retval EFI_MEDIA_CHNAGED     The MediaId does= not matched the current device.
+  @retval EFI_MEDIA_CHANGED     The MediaId does= not match the current device.
   @retval EFI_BAD_BUFFER_SIZE   The Buffer was n= ot a multiple of the block size of the device.
   @retval EFI_INVALID_PARAMETER The write request contains= LBAs that are not valid,
                   =              or the buffer is not on pr= oper alignment.
@@ -335,7 +335,7 @@ EmuBlockIoWriteBlocks (
   @param  This          &nbs= p;   Indicates a pointer to the calling context.
 
   @retval EFI_SUCCESS       All outsta= nding data was written to the device
-  @retval EFI_DEVICE_ERROR  The device reported an error w= hile writting back the data
+  @retval EFI_DEVICE_ERROR  The device reported an error w= hile writing back the data
   @retval EFI_NO_MEDIA      There is no med= ia in the device.
 
 **/
@@ -484,7 +484,7 @@ EmuBlockIoDriverBindingSupported (
   @retval EFI_SUCCESS          &n= bsp;   The device was started.
   @retval EFI_DEVICE_ERROR        &nbs= p;The device could not be started due to a device error.Currently not imple= mented.
   @retval EFI_OUT_OF_RESOURCES     The requ= est could not be completed due to a lack of resources.
-  @retval Others             = ;      The driver failded to start the device.
+  @retval Others             = ;      The driver failed to start the device.
 
 **/
 EFI_STATUS
diff --git a/EmulatorPkg/EmuGopDxe/GopDriver.c b/EmulatorPkg/EmuGopDx= e/GopDriver.c
index d0215c33e7..595c49a332 100644
--- a/EmulatorPkg/EmuGopDxe/GopDriver.c
+++ b/EmulatorPkg/EmuGopDxe/GopDriver.c
@@ -165,7 +165,7 @@ EmuGopDriverBindingSupported (
   @retval EFI_SUCCESS          &n= bsp;   The device was started.
   @retval EFI_DEVICE_ERROR        &nbs= p;The device could not be started due to a device error.Currently not imple= mented.
   @retval EFI_OUT_OF_RESOURCES     The requ= est could not be completed due to a lack of resources.
-  @retval Others             = ;      The driver failded to start the device.
+  @retval Others             = ;      The driver failed to start the device.
 
 **/
 EFI_STATUS
@@ -196,7 +196,7 @@ EmuGopDriverBindingStart (
   }
 
   //
-  // Allocate Private context data for SGO inteface.
+  // Allocate Private context data for SGO interface.
   //
   Private =3D NULL;
   Status =3D gBS->AllocatePool (
diff --git a/EmulatorPkg/EmuGopDxe/GopInput.c b/EmulatorPkg/EmuGopDxe= /GopInput.c
index fdd0b49115..44502900c5 100644
--- a/EmulatorPkg/EmuGopDxe/GopInput.c
+++ b/EmulatorPkg/EmuGopDxe/GopInput.c
@@ -283,7 +283,7 @@ EmuGopSimpleTextInExResetEx (
 /*++
 
   Routine Description:
-    Reset the input device and optionaly run diagnostics
+    Reset the input device and optionally run diagnostics<= /div>
 
   Arguments:
     This            &nb= sp;    - Protocol instance pointer.
@@ -358,7 +358,7 @@ EmuGopSimpleTextInExReadKeyStrokeEx (
 
   Routine Description:
     Reads the next keystroke from the input device. T= he WaitForKey Event can
-    be used to test for existance of a keystroke via WaitF= orEvent () call.
+    be used to test for existence of a keystroke via WaitF= orEvent () call.
 
   Arguments:
     This       - Protocol instanc= e pointer.
@@ -367,7 +367,7 @@ EmuGopSimpleTextInExReadKeyStrokeEx (
 
   Returns:
     EFI_SUCCESS          &nb= sp;- The keystroke information was returned.
-    EFI_NOT_READY         - There= was no keystroke data availiable.
+    EFI_NOT_READY         - There= was no keystroke data available.
     EFI_DEVICE_ERROR      - The keystr= oke information was not returned due to
                   =          hardware errors.
     EFI_INVALID_PARAMETER - KeyData is NULL.
@@ -660,7 +660,7 @@ EmuGopSimpleTextInExUnregisterKeyNotify (
 
 
 /**
-  Initialize SimplelTextIn and SimpleTextInEx protocols in the = Private
+  Initialize SimpleTextIn and SimpleTextInEx protocols in the P= rivate
   context structure.
 
   @param  Private          &= nbsp;    Context structure to fill in.
@@ -676,7 +676,7 @@ EmuGopInitializeSimpleTextInForWindow (
   EFI_STATUS  Status;
 
   //
-  // Initialize Simple Text In protoocol
+  // Initialize Simple Text In protocol
   //
   Private->SimpleTextIn.Reset       = ;  =3D EmuGopSimpleTextInReset;
   Private->SimpleTextIn.ReadKeyStroke =3D EmuGopSimpleT= extInReadKeyStroke;
@@ -879,7 +879,7 @@ EmuGopInitializeSimplePointerForWindow (
   EFI_STATUS  Status;
 
   //
-  // Initialize Simple Pointer protoocol
+  // Initialize Simple Pointer protocol
   //
   Private->PointerMode.ResolutionX =3D 1;
   Private->PointerMode.ResolutionY =3D 1;
diff --git a/EmulatorPkg/EmuGopDxe/GopScreen.c b/EmulatorPkg/EmuGopDx= e/GopScreen.c
index fbac649f8b..f1fee4d6c0 100644
--- a/EmulatorPkg/EmuGopDxe/GopScreen.c
+++ b/EmulatorPkg/EmuGopDxe/GopScreen.c
@@ -10,7 +10,7 @@ Module Name:
 
 Abstract:
 
-  This file produces the graphics abstration of UGA. It is call= ed by
+  This file produces the graphics abstraction of UGA. It is cal= led by
   EmuGopDriver.c file which deals with the EFI 1.1 driver = model.
   This file just does graphics.
 
@@ -172,12 +172,12 @@ EmuGopSetMode (
   @param  DestinationX X coordinate of destination fo= r the BltBuffer.
   @param  DestinationY Y coordinate of destination fo= r the BltBuffer.
   @param  Width        Width of r= ectangle in BltBuffer in pixels.
-  @param  Height       Hight of rectan= gle in BltBuffer in pixels.
+  @param  Height       Height of recta= ngle in BltBuffer in pixels.
   @param  Delta        OPTIONAL
 
   @retval EFI_SUCCESS          &n= bsp;The Blt operation completed.
   @retval EFI_INVALID_PARAMETER BltOperation is not valid.=
-  @retval EFI_DEVICE_ERROR      A hardware error= occured writting to the video buffer.
+  @retval EFI_DEVICE_ERROR      A hardware error= occurred writing to the video buffer.
 
 **/
 EFI_STATUS
diff --git a/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c= b/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c
index 6cea25b140..a0fddff1f7 100644
--- a/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c
+++ b/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c
@@ -700,7 +700,7 @@ EmuSimpleFileSystemDriverBindingSupported (
   @retval EFI_SUCCESS          &n= bsp;   The device was started.
   @retval EFI_DEVICE_ERROR        &nbs= p;The device could not be started due to a device error.Currently not imple= mented.
   @retval EFI_OUT_OF_RESOURCES     The requ= est could not be completed due to a lack of resources.
-  @retval Others             = ;      The driver failded to start the device.
+  @retval Others             = ;      The driver failed to start the device.
 
 **/
 EFI_STATUS
diff --git a/EmulatorPkg/EmuThunkDxe/EmuThunk.c b/EmulatorPkg/EmuThun= kDxe/EmuThunk.c
index d26d52ae36..ef791eedce 100644
--- a/EmulatorPkg/EmuThunkDxe/EmuThunk.c
+++ b/EmulatorPkg/EmuThunkDxe/EmuThunk.c
@@ -63,7 +63,7 @@ Arguments:
   (Standard EFI Image entry - EFI_IMAGE_ENTRY_POINT)
 
 Returns:
-  EFI_SUCEESS - UnixThunk protocol is added or error status fro= m
+  EFI_SUCCESS - UnixThunk protocol is added or error status fro= m
                 gBS->= ;InstallMultiProtocolInterfaces().
 
 **/
diff --git a/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c b/Emul= atorPkg/FirmwareVolumePei/FirmwareVolumePei.c
index 4178111096..c8ff6edff3 100644
--- a/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c
+++ b/EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.c
@@ -77,7 +77,7 @@ Returns:
       if (Index =3D=3D 0) {
         //
         // Assume the first FD was produced= by the NT32.DSC
-        //  All these strange offests are n= eeded to keep in
+        //  All these strange offsets are n= eeded to keep in
         //  sync with the FlashMap and= NT32.dsc file
         //
         BuildResourceDescriptorHob (
diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c b/Emu= latorPkg/FvbServicesRuntimeDxe/FWBlockService.c
index db028c9e92..e47f20fe0e 100644
--- a/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c
+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c
@@ -137,7 +137,7 @@ Arguments:
                   =        returned
   Global              &= nbsp; - Pointer to ESAL_FWB_GLOBAL that contains all
                   =        instance data
-  FwhInstance           - The EFI= _FW_VOL_INSTANCE fimrware instance structure
+  FwhInstance           - The EFI= _FW_VOL_INSTANCE firmware instance structure
   Virtual              =  - Whether CPU is in virtual or physical mode
 
 Returns:
@@ -956,7 +956,7 @@ Routine Description:
   Writes data beginning at Lba:Offset from FV. The write t= erminates either
   when *NumBytes of data have been written, or when a bloc= k boundary is
   reached.  *NumBytes is updated to reflect the actua= l number of bytes
-  written. The write opertion does not include erase. This rout= ine will
+  written. The write operation does not include erase. This rou= tine will
   attempt to write only the specified bytes. If the writes= do not stick,
   it will return an error.
 
@@ -1004,7 +1004,7 @@ Routine Description:
   Reads data beginning at Lba:Offset from FV. The Read ter= minates either
   when *NumBytes of data have been read, or when a block b= oundary is
   reached.  *NumBytes is updated to reflect the actua= l number of bytes
-  written. The write opertion does not include erase. This rout= ine will
+  written. The write operation does not include erase. This rou= tine will
   attempt to write only the specified bytes. If the writes= do not stick,
   it will return an error.
 
@@ -1185,7 +1185,7 @@ Returns:
   //
   // Only need to allocate once. There is only one copy of= physical memory for
   // the private data of each FV instance. But in virtual = mode or in physical
-  // mode, the address of the the physical memory may be differ= ent.
+  // mode, the address of the physical memory may be different.=
   //
   Status =3D gBS->AllocatePool (
                   = EfiRuntimeServicesData,
@@ -1313,7 +1313,7 @@ Returns:
       ASSERT_EFI_ERROR (Status);
     } else if (IsDevicePathEnd (TempFwbDevicePath)) {=
       //
-      // Device allready exists, so reinstall the FVB= protocol
+      // Device already exists, so reinstall the FVB = protocol
       //
       Status =3D gBS->HandleProtocol (
                   =    FwbHandle,
diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c b/EmulatorPk= g/FvbServicesRuntimeDxe/FvbInfo.c
index af8f9a9831..386d6e63d8 100644
--- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c
@@ -81,7 +81,7 @@ EFI_FVB_MEDIA_INFO  mPlatformFvbMediaInfo[] = =3D {
     }
   },
   //
-  // Systen NvStorage FVB
+  // System NvStorage FVB
   //
   {
     FixedPcdGet32 (PcdFlashNvStorageVariableSize) + \=
diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.= inf b/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
index 7ef0288275..c117c7ee2b 100644
--- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
@@ -1,7 +1,7 @@
 ## @file
-# Component description file for Emu Fimware Volume Block DXE driver= module.
+# Component description file for Emu Firmware Volume Block DXE drive= r module.
 #
-# This DXE runtime driver implements and produces the Fimware Volue = Block Protocol on
+# This DXE runtime driver implements and produces the Firmware Volue= Block Protocol on
 #  Emu emulator.
 # Copyright (c) 2008 - 2018, Intel Corporation. All rights rese= rved.<BR>
 # Portions copyright (c) 2011, Apple Inc. All rights reserved.<= /div>
diff --git a/EmulatorPkg/Include/Library/EmuThunkLib.h b/EmulatorPkg/= Include/Library/EmuThunkLib.h
index ddb3d59b00..43cb39f47f 100644
--- a/EmulatorPkg/Include/Library/EmuThunkLib.h
+++ b/EmulatorPkg/Include/Library/EmuThunkLib.h
@@ -15,7 +15,7 @@ extern EMU_THUNK_PROTOCOL   *gEmuThunk;
 
 
 /**
-  Serach the EMU IO Thunk database for a matching EMU IO Thunk<= /div>
+  Search the EMU IO Thunk database for a matching EMU IO Thunk<= /div>
   Protocol instance.
 
   @param  Protocol   Protocol to search for= .
diff --git a/EmulatorPkg/Include/Library/SmbiosLib.h b/EmulatorPkg/In= clude/Library/SmbiosLib.h
index 1022b48c5e..4e96b7c31e 100644
--- a/EmulatorPkg/Include/Library/SmbiosLib.h
+++ b/EmulatorPkg/Include/Library/SmbiosLib.h
@@ -4,7 +4,7 @@
 
 
 Copyright (c) 2012, Apple Inc. All rights reserved.
-Portitions Copyright (c) 2006 - 2011, Intel Corporation. All rights = reserved.<BR>
+Portions Copyright (c) 2006 - 2011, Intel Corporation. All rights re= served.<BR>
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
@@ -24,8 +24,8 @@ extern EFI_SMBIOS_PROTOCOL *gSmbios;
 
 ///
 /// Template for SMBIOS table initialization.
-/// The SMBIOS_TABLE_STRING types in the formated area must match th= e
-/// StringArray sequene.
+/// The SMBIOS_TABLE_STRING types in the formatted area must match t= he
+/// StringArray sequence.
 ///
 typedef struct {
   //
@@ -143,7 +143,7 @@ SmbiosLibUpdateUnicodeString (
   Allow caller to read a specific SMBIOS string
 
   @param[in]    Header       = ;   SMBIOS record that contains the string.
-  @param[in[    StringNumber    Instance of= SMBIOS string 1 - N.
+  @param[in]    StringNumber    Instance of= SMBIOS string 1 - N.
 
   @retval NULL            &n= bsp;     Instance of Type SMBIOS string was not found.
   @retval Other            &= nbsp;    Pointer to matching SMBIOS string.
@@ -157,10 +157,10 @@ SmbiosLibReadString (
 
 
 /**
-  Allow the caller to discover a specific SMBIOS entry, and pat= ch it if necissary.
+  Allow the caller to discover a specific SMBIOS entry, and pat= ch it if necessary.
 
   @param[in]    Type        =     Type of the next SMBIOS record to return.
-  @param[in[    Instance        I= nstance of SMBIOS record 0 - N-1.
+  @param[in]    Instance        I= nstance of SMBIOS record 0 - N-1.
   @param[out]   SmbiosHandle    Return= s SMBIOS handle for the matching record.
 
   @retval NULL            &n= bsp;     Instance of Type SMBIOS record was not found.
diff --git a/EmulatorPkg/Include/Protocol/EmuBlockIo.h b/EmulatorPkg/= Include/Protocol/EmuBlockIo.h
index a17cefa83d..36df7e052a 100644
--- a/EmulatorPkg/Include/Protocol/EmuBlockIo.h
+++ b/EmulatorPkg/Include/Protocol/EmuBlockIo.h
@@ -28,7 +28,7 @@ typedef struct _EMU_BLOCK_IO_PROTOCOL   E= MU_BLOCK_IO_PROTOCOL;
 
   @param[in]  This          =        Indicates a pointer to the calling context.
   @param[in]  ExtendedVerification Indicates that the= driver may perform a more
-                   = ;                exhausive verficat= ion operation of the device
+                   = ;                exhaustive verific= ation operation of the device
                   =                 during reset.
 
   @retval EFI_SUCCESS          Th= e device was reset.
@@ -109,7 +109,7 @@ EFI_STATUS
                   =              the Event is NULL.
   @retval EFI_WRITE_PROTECTED   The device can n= ot be written to.
   @retval EFI_NO_MEDIA          T= here is no media in the device.
-  @retval EFI_MEDIA_CHNAGED     The MediaId does= not matched the current device.
+  @retval EFI_MEDIA_CHANGED     The MediaId does= not match the current device.
   @retval EFI_DEVICE_ERROR      The device = reported an error while performing the write.
   @retval EFI_BAD_BUFFER_SIZE   The Buffer was n= ot a multiple of the block size of the device.
   @retval EFI_INVALID_PARAMETER The write request contains= LBAs that are not valid,
@@ -142,7 +142,7 @@ EFI_STATUS
   @retval EFI_SUCCESS          Th= e flush request was queued if Event is not NULL.
                   =             All outstanding data was written= correctly to the
                   =             device if the Event is NULL.
-  @retval EFI_DEVICE_ERROR     The device report= ed an error while writting back
+  @retval EFI_DEVICE_ERROR     The device report= ed an error while writing back
                   =             the data.
   @retval EFI_WRITE_PROTECTED  The device cannot be w= ritten to.
   @retval EFI_NO_MEDIA         Th= ere is no media in the device.
diff --git a/EmulatorPkg/Include/Protocol/EmuGraphicsWindow.h b/Emula= torPkg/Include/Protocol/EmuGraphicsWindow.h
index 07d4070b35..f8f9788ded 100644
--- a/EmulatorPkg/Include/Protocol/EmuGraphicsWindow.h
+++ b/EmulatorPkg/Include/Protocol/EmuGraphicsWindow.h
@@ -1,7 +1,7 @@
 /*++ @file
 
 Copyright (c) 2006, Tristan Gingold. All rights reserved.<BR= >
-Portitions copyright (c) 2010 - 2011, Apple Inc. All rights reserved= .
+Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<= /div>
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
diff --git a/EmulatorPkg/Include/Protocol/EmuSnp.h b/EmulatorPkg/Incl= ude/Protocol/EmuSnp.h
index c58808fdd3..1320782d82 100644
--- a/EmulatorPkg/Include/Protocol/EmuSnp.h
+++ b/EmulatorPkg/Include/Protocol/EmuSnp.h
@@ -4,7 +4,7 @@
 
 
 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserv= ed.<BR>
-Portitions copyright (c) 2011, Apple Inc. All rights reserved.
+Portions copyright (c) 2011, Apple Inc. All rights reserved.
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
@@ -428,7 +428,7 @@ EFI_STATUS
 #define EMU_SNP_INTERFACE_REVISION   EMU_SNP_PROTOCOL= _REVISION
 
 ///
-/// The EMU_SNP_PROTOCOL protocol abstracts OS network sercices
+/// The EMU_SNP_PROTOCOL protocol abstracts OS network services
 /// from the EFI driver that produces EFI Simple Network Protoc= ol.
 ///
 struct _EMU_SNP_PROTOCOL {
diff --git a/EmulatorPkg/Include/Protocol/EmuThunk.h b/EmulatorPkg/In= clude/Protocol/EmuThunk.h
index 0bb20651e5..2ec6052c46 100644
--- a/EmulatorPkg/Include/Protocol/EmuThunk.h
+++ b/EmulatorPkg/Include/Protocol/EmuThunk.h
@@ -13,7 +13,7 @@
 #define EMU_THUNK_PROTOCOL_GUID  \
  { 0x5CF32E0B, 0x8EDF, 0x2E44, { 0x9C, 0xDA, 0x93, 0x20, 0x5E, = 0x99, 0xEC, 0x1C } }
 
-// neded for things like EFI_TIME_CAPABILITIES
+// needed for things like EFI_TIME_CAPABILITIES
 #include <Uefi.h>
 
 #include <Library/PeCoffExtraActionLib.h>
@@ -185,7 +185,7 @@ VOID
   Enumerates the current set of protocol instances that ab= stract OS services from EFI.
 
   A given protocol can have multiple instances. Usually a = protocol is configured via a
-  single PCD string. The data associated for each instance is s= eperated via a ! in the string.
+  single PCD string. The data associated for each instance is s= eparated via a ! in the string.
   EMU_IO_THUNK_PROTOCOL_CLOSE.ConfigString will contain th= e information in the PCD string up to the next !.
   Thus each instance has a unique ConfigString.
 
diff --git a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c b/EmulatorPkg/= Library/DxeEmuLib/DxeEmuLib.c
index 3247114d09..6e718109e9 100644
--- a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c
+++ b/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c
@@ -45,7 +45,7 @@ DxeEmuLibConstructor (
 
 
 /**
-  Serach the EMU IO Thunk database for a matching EMU IO Thunk<= /div>
+  Search the EMU IO Thunk database for a matching EMU IO Thunk<= /div>
   Protocol instance.
 
   @param  Protocol   Protocol to search for= .
diff --git a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeC= offExtraActionLib.c b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmu= PeCoffExtraActionLib.c
index 44a42a3784..1ab24aa7c0 100644
--- a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtr= aActionLib.c
+++ b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtr= aActionLib.c
@@ -1,6 +1,6 @@
 /** @file
   Provides services to perform additional actions to reloc= ate and unload
-  PE/Coff image for Emu environment specific purpose such as so= uce level debug.
+  PE/Coff image for Emu environment specific purpose such as so= urce level debug.
   This version only works for DXE phase
 
 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserv= ed.<BR>
diff --git a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeC= offExtraActionLib.inf b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeE= muPeCoffExtraActionLib.inf
index fdc890a000..180f153e9b 100644
--- a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtr= aActionLib.inf
+++ b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtr= aActionLib.inf
@@ -1,5 +1,5 @@
 ## @file
-# PeCoff extra action libary for DXE phase that run Emu emulator.
+# PeCoff extra action library for DXE phase that run Emu emulator.
 #
 # Copyright (c) 2007 - 2010, Intel Corporation. All rights rese= rved.<BR>
 # Portions copyright (c) 2011, Apple Inc. All rights reserved.<= /div>
diff --git a/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPort= Lib.c b/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c
index 1f9ab86377..e1a8be5a14 100644
--- a/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c
+++ b/EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c
@@ -1,6 +1,6 @@
 /** @file
   Serial Port Lib that thunks back to Emulator services to= write to StdErr.
-  All read functions are stubed out.
+  All read functions are stubbed out.
 
   Copyright (c) 2006 - 2015, Intel Corporation. All rights= reserved.<BR>
   Portions copyright (c) 2011, Apple Inc. All rights reser= ved.<BR>
@@ -153,13 +153,13 @@ SerialPortGetControl (
 }
 
 /**
-  Sets the baud rate, receive FIFO depth, transmit/receice time= out, parity,
+  Sets the baud rate, receive FIFO depth, transmit/receive time= out, parity,
   data bits, and stop bits on a serial device.
 
   @param BaudRate           = The requested baud rate. A BaudRate value of 0 will use the
                   =          device's default interface speed.
                   =          On output, the value actually set.
-  @param ReveiveFifoDepth   The requested depth of th= e FIFO on the receive side of the
+  @param ReceiveFifoDepth   The requested depth of th= e FIFO on the receive side of the
                   =          serial interface. A ReceiveFifoDepth val= ue of 0 will use
                   =          the device's default FIFO depth.
                   =          On output, the value actually set.
@@ -172,7 +172,7 @@ SerialPortGetControl (
                   =          DefaultParity will use the device's defa= ult parity value.
                   =          On output, the value actually set.
   @param DataBits           = The number of data bits to use on the serial device. A DataBits
-                   = ;         vaule of 0 will use the device's default data= bit setting.
+                   = ;         value of 0 will use the device's default data= bit setting.
                   =          On output, the value actually set.
   @param StopBits           = The number of stop bits to use on this serial device. A StopBits
                   =          value of DefaultStopBits will use the de= vice's default number of
diff --git a/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdE= rrSerialPortLib.c b/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStd= ErrSerialPortLib.c
index 0eefec0404..17cada3638 100644
--- a/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSeria= lPortLib.c
+++ b/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSeria= lPortLib.c
@@ -1,6 +1,6 @@
 /** @file
   Serial Port Lib that thunks back to Emulator services to= write to StdErr.
-  All read functions are stubed out.
+  All read functions are stubbed out.
 
   Copyright (c) 2006 - 2010, Intel Corporation. All rights= reserved.<BR>
   Portions copyright (c) 2011, Apple Inc. All rights reser= ved.<BR>
diff --git a/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryA= llocationLib.c b/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryAll= ocationLib.c
index cd7336a017..326d472bcc 100644
--- a/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryAllocati= onLib.c
+++ b/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryAllocati= onLib.c
@@ -149,7 +149,7 @@ FreePages (
   ASSERT (Pages !=3D 0);
   if (!gEmuThunk->Free (Buffer)) {
     // The Free thunk will not free memory allocated = in emulated EFI memory.
-    // The assmuption is this was allocated directly by EF= I. We need this as some
+    // The assumption is this was allocated directly by EF= I. We need this as some
     // times protocols or EFI BootServices can return= dynamically allocated buffers.
     Status =3D gBS->FreePages ((EFI_PHYSICAL_ADDRE= SS) (UINTN) Buffer, Pages);
     ASSERT_EFI_ERROR (Status);
@@ -197,7 +197,7 @@ InternalAllocateAlignedPages (
   }
   if (Alignment > EFI_PAGE_SIZE) {
     //
-    // Caculate the total number of pages since alignment = is larger than page size.
+    // Calculate the total number of pages since alignment= is larger than page size.
     //
     AlignmentMask  =3D Alignment - 1;
     RealPages      =3D Pages + EFI_SIZ= E_TO_PAGES (Alignment);
@@ -804,7 +804,7 @@ FreePool (
 
   if (!gEmuThunk->Free (Buffer)) {
     // The Free thunk will not free memory allocated = in emulated EFI memory.
-    // The assmuption is this was allocated directly by EF= I. We need this as some
+    // The assumption is this was allocated directly by EF= I. We need this as some
     // times protocols or EFI BootServices can return= dynamically allocated buffers.
     Status =3D gBS->FreePool (Buffer);
     ASSERT_EFI_ERROR (Status);
diff --git a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeC= offExtraActionLib.c b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmu= PeCoffExtraActionLib.c
index 55be3efbdb..578de7ee46 100644
--- a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtr= aActionLib.c
+++ b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtr= aActionLib.c
@@ -1,6 +1,6 @@
 /** @file
   Provides services to perform additional actions to reloc= ate and unload
-  PE/Coff image for Emu environment specific purpose such as so= uce level debug.
+  PE/Coff image for Emu environment specific purpose such as so= urce level debug.
   This version only works for PEI phase
 
 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserv= ed.<BR>
diff --git a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeC= offExtraActionLib.inf b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiE= muPeCoffExtraActionLib.inf
index 86ca85b437..1cc70e961c 100644
--- a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtr= aActionLib.inf
+++ b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtr= aActionLib.inf
@@ -1,5 +1,5 @@
 ## @file
-# PeCoff extra action libary for Pei phase that run Emu emulator.
+# PeCoff extra action library for Pei phase that run Emu emulator.
 #
 # Lib to provide memory journal status code reporting Routines<= /div>
 # Copyright (c) 2007 - 2010, Intel Corporation. All rights rese= rved.<BR>
diff --git a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuP= eCoffGetEntryPointLib.c b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/= PeiEmuPeCoffGetEntryPointLib.c
index fd756b5594..27e13e2fee 100644
--- a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGe= tEntryPointLib.c
+++ b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGe= tEntryPointLib.c
@@ -70,7 +70,7 @@ PeCoffLoaderGetEntryPoint (
 
   @param  Pe32Data   Pointer to a PE/COFF h= eader
 
-  @return            Machine type= or zero if not a valid iamge
+  @return            Machine type= or zero if not a valid image
 
 **/
 UINT16
@@ -186,7 +186,7 @@ PeCoffLoaderGetPdbPointer (
       break;
     default:
       //
-      // For unknow Machine field, use Magic in optio= nal Header
+      // For unknown Machine field, use Magic in opti= onal Header
       //
       Magic =3D Hdr.Pe32->OptionalHeader.Magi= c;
     }
diff --git a/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPort= Lib.c b/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c
index cf727a638c..a290970416 100644
--- a/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c
+++ b/EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c
@@ -1,6 +1,6 @@
 /** @file
   Serial Port Lib that thunks back to Emulator services to= write to StdErr.
-  All read functions are stubed out. There is no constructor so= this lib can
+  All read functions are stubbed out. There is no constructor s= o this lib can
   be linked with PEI Core.
 
   Copyright (c) 2006 - 2010, Intel Corporation. All rights= reserved.<BR>
diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServic= esTablePointer.c b/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServic= esTablePointer.c
index d9d37bf8af..bd49f87fdd 100644
--- a/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTable= Pointer.c
+++ b/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTable= Pointer.c
@@ -5,7 +5,7 @@
   executed in memory.
 
   Copyright (c) 2006 - 2010, Intel Corporation. All rights= reserved.<BR>
-  Portiions copyrigth (c) 2011, Apple Inc. All rights reserved.=
+  Portions copyright (c) 2011, Apple Inc. All rights reserved.<= /div>
   SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
@@ -101,7 +101,7 @@ EFI_PEI_NOTIFY_DESCRIPTOR mNotifyOnThunkList =3D = {
 
 /**
   Constructor register notification on when PPI updates. I= f PPI is
-  alreay installed registering the notify will cause the handle= to
+  already installed registering the notify will cause the handl= e to
   run.
 
   @param  FileHandle   The handle of FFS he= ader the loaded driver.
diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/= PeiServicesTablePointer.c b/EmulatorPkg/Library/PeiServicesTablePointerLibM= agicPage/PeiServicesTablePointer.c
index 9d6e1dfd8a..d7d8440337 100644
--- a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServ= icesTablePointer.c
+++ b/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServ= icesTablePointer.c
@@ -3,10 +3,10 @@
 
   Store PEI Services Table pointer via gEmulatorPkgTokenSp= aceGuid.PcdPeiServicesTablePage.
   This emulates a platform SRAM. The PI mechaism does not = work in the emulator due to
-  lack of privledge.
+  lack of privilege.
 
   Copyright (c) 2006 - 2010, Intel Corporation. All rights= reserved.<BR>
-  Portiions copyrigth (c) 2011, Apple Inc. All rights reserved.=
+  Portions copyright (c) 2011, Apple Inc. All rights reserved.<= /div>
   SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/= PeiServicesTablePointerLibMagicPage.inf b/EmulatorPkg/Library/PeiServicesTa= blePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf
index 96f642784f..bf39b3fd9c 100644
--- a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServ= icesTablePointerLibMagicPage.inf
+++ b/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServ= icesTablePointerLibMagicPage.inf
@@ -3,7 +3,7 @@
 #
 #  Store PEI Services Table pointer via gEmulatorPkgTokenS= paceGuid.PcdPeiServicesTablePage.
 #  This emulates a platform SRAM. The PI mechaism does not= work in the emulator due to
-#  lack of privledge.
+#  lack of privilege.
 #
 # Copyright (c) 2007 - 2018, Intel Corporation. All rights rese= rved.<BR>
 # Portions copyright (c) 2011, Apple Inc. All rights reserved.<= /div>
diff --git a/EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf b/Em= ulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf
index 934dc0ccf9..c42a15c6ec 100644
--- a/EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf
+++ b/EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf
@@ -1,5 +1,5 @@
 ## @file
-# Platfrom Boot Manager library
+# Platform Boot Manager library
 #
 # Do platform action customized by IBV/OEM.
 # Copyright (c) 2006 - 2018, Intel Corporation. All rights rese= rved.<BR>
diff --git a/EmulatorPkg/Library/SmbiosLib/SmbiosLib.c b/EmulatorPkg/= Library/SmbiosLib/SmbiosLib.c
index 331122e200..59b6383892 100644
--- a/EmulatorPkg/Library/SmbiosLib/SmbiosLib.c
+++ b/EmulatorPkg/Library/SmbiosLib/SmbiosLib.c
@@ -4,7 +4,7 @@
 
 
 Copyright (c) 2012, Apple Inc. All rights reserved.
-Portitions Copyright (c) 2006 - 2012, Intel Corporation. All rights = reserved.<BR>
+Portions Copyright (c) 2006 - 2012, Intel Corporation. All rights re= served.<BR>
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
@@ -237,7 +237,7 @@ SmbiosLibUpdateUnicodeString (
   Allow caller to read a specific SMBIOS string
 
   @param[in]    Header       = ;   SMBIOS record that contains the string.
-  @param[in[    StringNumber    Instance of= SMBIOS string 1 - N.
+  @param[in]    StringNumber    Instance of= SMBIOS string 1 - N.
 
   @retval NULL            &n= bsp;     Instance of Type SMBIOS string was not found.
   @retval Other            &= nbsp;    Pointer to matching SMBIOS string.
@@ -268,10 +268,10 @@ SmbiosLibReadString (
 
 
 /**
-  Allow the caller to discover a specific SMBIOS entry, and pat= ch it if necissary.
+  Allow the caller to discover a specific SMBIOS entry, and pat= ch it if necessary.
 
   @param[in]    Type        =     Type of the next SMBIOS record to return.
-  @param[in[    Instance        I= nstance of SMBIOS record 0 - N-1.
+  @param[in]    Instance        I= nstance of SMBIOS record 0 - N-1.
   @param[out]   SmbiosHandle    Return= s SMBIOS handle for the matching record.
 
   @retval NULL            &n= bsp;     Instance of Type SMBIOS record was not found.
diff --git a/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufactu= rerData.c b/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData= .c
index 7dd83dc864..f41fcbd262 100644
--- a/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData= .c
+++ b/EmulatorPkg/MiscSubClassPlatformDxe/MiscChassisManufacturerData= .c
@@ -20,7 +20,7 @@ Abstract:
 // Static (possibly build generated) Chassis Manufacturer data.=
 //
 MISC_SMBIOS_TABLE_DATA(EFI_MISC_CHASSIS_MANUFACTURER_DATA, Misc= ChassisManufacturer) =3D {
-  STRING_TOKEN(STR_MISC_CHASSIS_MANUFACTURER),  // Chassis= Manufactrurer
+  STRING_TOKEN(STR_MISC_CHASSIS_MANUFACTURER),  // Chassis= Manufacturer
   STRING_TOKEN(STR_MISC_CHASSIS_VERSION),    &nb= sp;  // ChassisVersion
   STRING_TOKEN(STR_MISC_CHASSIS_SERIAL_NUMBER), // Chassis= SerialNumber
   STRING_TOKEN(STR_MISC_CHASSIS_ASSET_TAG),    &= nbsp;// ChassisAssetTag
@@ -36,4 +36,4 @@ MISC_SMBIOS_TABLE_DATA(EFI_MISC_CHASSIS_MANUFACTURE= R_DATA, MiscChassisManufactur
   0               =                // ChassisOemDefine= d
 };
 
-/* eof - MiscChassisManufacaturerData.c */
+/* eof - MiscChassisManufacturerData.c */
diff --git a/EmulatorPkg/MiscSubClassPlatformDxe/MiscNumberOfInstalla= bleLanguagesFunction.c b/EmulatorPkg/MiscSubClassPlatformDxe/MiscNumberOfIn= stallableLanguagesFunction.c
index b71524ef1e..24d1fbb42e 100644
--- a/EmulatorPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLang= uagesFunction.c
+++ b/EmulatorPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLang= uagesFunction.c
@@ -12,7 +12,7 @@
   Check whether the language is supported for given HII ha= ndle
 
   @param   HiiHandle     The HII = package list handle.
-  @param   Offset        The offe= st of current lanague in the supported languages.
+  @param   Offset        The offs= et of current language in the supported languages.
   @param   CurrentLang   The language = code.
 
   @retval  TRUE          Sup= ported.
@@ -86,7 +86,7 @@ CurrentLanguageMatch (
   Get next language from language code list (with separato= r ';').
 
   @param  LangCode       Input: p= oint to first language in the list. On
-                   = ;      Otput: point to next language in the list, or
+                   = ;      Output: point to next language in the list, or
                   =              NULL if no more language i= n the list.
   @param  Lang          &nbs= p;The first language in the list.
 
diff --git a/EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufactur= erData.c b/EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.c=
index 94fa1025f5..d49510e496 100644
--- a/EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.= c
+++ b/EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.= c
@@ -22,7 +22,7 @@ Abstract:
 MISC_SMBIOS_TABLE_DATA(EFI_MISC_SYSTEM_MANUFACTURER_DATA, MiscS= ystemManufacturer)
 =3D {
   STRING_TOKEN(STR_MISC_SYSTEM_MANUFACTURER),
-  // SystemManufactrurer
+  // SystemManufacturer
   STRING_TOKEN(STR_MISC_SYSTEM_PRODUCT_NAME),
   // SystemProductName
   STRING_TOKEN(STR_MISC_SYSTEM_VERSION),
diff --git a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/Emul= atorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
index e6f8734600..e117fd0fc8 100644
--- a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
+++ b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c
@@ -77,7 +77,7 @@ CreatePlatformSmbiosMemoryRecords (
   @param ImageHandle     Image handle this = driver.
   @param SystemTable     Pointer to SystemT= able.
 
-  @retval EFI_SUCESS     This function always co= mplete successfully.
+  @retval EFI_SUCCESS    This function always complet= e successfully.
 
 **/
 EFI_STATUS
@@ -120,7 +120,7 @@ PlatfomrSmbiosDriverEntryPoint (
   // Phase 3 - Create tables from scratch
 
   // Create Type 13 record from EFI Variables
-  // Do we need this record for EFI as the info is available fr= om EFI varaibles
+  // Do we need this record for EFI as the info is available fr= om EFI variables
   // Also language types don't always match between EFI an= d SMBIOS
   // CreateSmbiosLanguageInformation (1, gSmbiosLangToEfiL= ang);
 
diff --git a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c b/EmulatorPk= g/PlatformSmbiosDxe/SmbiosTable.c
index 11c8e94504..72a0338ca9 100644
--- a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
+++ b/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c
@@ -10,7 +10,7 @@
     System Slots (Type 9) - If system has slots
     Physical Memory Array (Type 16)
     Memory Device (Type 17) - For each socketed syste= m-memory Device
-    Memory Array Mapped Address (Type 19) - One per contig= uous block per Physical Memroy Array
+    Memory Array Mapped Address (Type 19) - One per contig= uous block per Physical Memory Array
     System Boot Information (Type 32)
 
   Copyright (c) 2012, Apple Inc. All rights reserved.<B= R>
diff --git a/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c b/Em= ulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c
index c2f980ddc5..b8582b6d9b 100644
--- a/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c
+++ b/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c
@@ -61,7 +61,7 @@ Arguments:
 
 Returns:
 
-  EFI_SUCEESS   - The underlying GetSystemTime call o= ccurred and returned
+  EFI_SUCCESS   - The underlying GetSystemTime call o= ccurred and returned
                   = Note that in the NT32 emulation, the GetSystemTime call has no return value=
                   = thus you will always receive a EFI_SUCCESS on this.
 
@@ -98,7 +98,7 @@ Arguments:
 
 Returns:
 
-  EFI_SUCEESS           - The ope= ration completed successfully.
+  EFI_SUCCESS           - The ope= ration completed successfully.
 
   EFI_INVALID_PARAMETER - One of the fields in Time is out= of range.
 
@@ -145,7 +145,7 @@ Arguments:
 
 Returns:
 
-  EFI_SUCEESS           - The ope= ration completed successfully.
+  EFI_SUCCESS           - The ope= ration completed successfully.
 
   EFI_DEVICE_ERROR      - The operation cou= ld not be complete due to a device error.
 
@@ -177,7 +177,7 @@ Arguments:
 
 Returns:
 
-  EFI_SUCEESS           - The ope= ration completed successfully.
+  EFI_SUCCESS           - The ope= ration completed successfully.
 
   EFI_DEVICE_ERROR      - The operation cou= ld not be complete due to a device error.
 
@@ -207,7 +207,7 @@ Arguments:
 
 Returns:
 
-  EFI_SUCEESS - Real Time Clock Services are installed into the= Runtime Services Table
+  EFI_SUCCESS - Real Time Clock Services are installed into the= Runtime Services Table
 
 **/
 {
diff --git a/EmulatorPkg/Sec/Ia32/SwitchRam.S b/EmulatorPkg/Sec/Ia32/= SwitchRam.S
index f24529cc8e..d8298223a9 100644
--- a/EmulatorPkg/Sec/Ia32/SwitchRam.S
+++ b/EmulatorPkg/Sec/Ia32/SwitchRam.S
@@ -9,7 +9,7 @@
 #
 # Abstract:
 #
-#   Switch the stack from temporary memory to permenent me= mory.
+#   Switch the stack from temporary memory to permanent me= mory.
 #
 #--------------------------------------------------------------= ----------------
 
@@ -36,7 +36,7 @@ ASM_PFX(SecSwitchStack):
 
 #
 # !!CAUTION!! this function address's is pushed into stack afte= r
-# migration of whole temporary memory, so need save it to permenent<= /div>
+# migration of whole temporary memory, so need save it to permanent<= /div>
 # memory at first!
 #
 
@@ -44,14 +44,14 @@ ASM_PFX(SecSwitchStack):
     movl  24(%esp), %ecx      &nb= sp;     # Save the second parameter
 
 #
-# Save this function's return address into permenent memory at first= .
-# Then, Fixup the esp point to permenent memory
+# Save this function's return address into permanent memory at first= .
+# Then, Fixup the esp point to permanent memory
 #
 
     movl  %esp, %eax
     subl  %ebx, %eax
     addl  %ecx, %eax
-    movl  (%esp), %edx        &nb= sp;        # copy pushed register's value to permenent = memory
+    movl  (%esp), %edx        &nb= sp;        # copy pushed register's value to permanent = memory
     movl  %edx, (%eax)
     movl  4(%esp), %edx
     movl  %edx, 4(%eax)
@@ -61,16 +61,16 @@ ASM_PFX(SecSwitchStack):
     movl  %edx, 12(%eax)
     movl  16(%esp), %edx
     movl  %edx, 16(%eax)
-    movl  %eax, %esp         = ;          # From now, esp is pointed to permenent= memory
+    movl  %eax, %esp         = ;          # From now, esp is pointed to permanent= memory
 
 #
-# Fixup the ebp point to permenent memory
+# Fixup the ebp point to permanent memory
 #
 #ifndef __APPLE__
     movl   %ebp, %eax
     subl   %ebx, %eax
     addl   %ecx, %eax
-    movl   %eax, %ebp       =           # From now, ebp is pointed to permenent= memory
+    movl   %eax, %ebp       =           # From now, ebp is pointed to permanent= memory
 
 #
 # Fixup callee's ebp point for PeiDispatch
@@ -78,7 +78,7 @@ ASM_PFX(SecSwitchStack):
     movl   (%ebp), %eax
     subl   %ebx, %eax
     addl   %ecx, %eax
-    movl   %eax, (%ebp)      &nbs= p;         # From now, Temporary's PPI caller's stack i= s in permenent memory
+    movl   %eax, (%ebp)      &nbs= p;         # From now, Temporary's PPI caller's stack i= s in permanent memory
 #endif
 
     pop   %edx
diff --git a/EmulatorPkg/Sec/Ia32/SwitchRam.asm b/EmulatorPkg/Sec/Ia3= 2/SwitchRam.asm
index 9c7908f7a0..99ef002980 100644
--- a/EmulatorPkg/Sec/Ia32/SwitchRam.asm
+++ b/EmulatorPkg/Sec/Ia32/SwitchRam.asm
@@ -9,7 +9,7 @@
 ;
 ; Abstract:
 ;
-;   Switch the stack from temporary memory to permenent me= mory.
+;   Switch the stack from temporary memory to permanent me= mory.
 ;
 ;--------------------------------------------------------------= ----------------
 
@@ -36,7 +36,7 @@ SecSwitchStack   PROC
 
     ;
     ; !!CAUTION!! this function address's is pushed i= nto stack after
-    ; migration of whole temporary memory, so need save it= to permenent
+    ; migration of whole temporary memory, so need save it= to permanent
     ; memory at first!
     ;
 
@@ -44,13 +44,13 @@ SecSwitchStack   PROC
     mov   ecx, [esp + 24]    &nbs= p;     ; Save the second parameter
 
     ;
-    ; Save this function's return address into permenent m= emory at first.
-    ; Then, Fixup the esp point to permenent memory
+    ; Save this function's return address into permanent m= emory at first.
+    ; Then, Fixup the esp point to permanent memory
     ;
     mov   eax, esp
     sub   eax, ebx
     add   eax, ecx
-    mov   edx, dword ptr [esp]    &nbs= p;    ; copy pushed register's value to permenent memory
+    mov   edx, dword ptr [esp]    &nbs= p;    ; copy pushed register's value to permanent memory
     mov   dword ptr [eax], edx
     mov   edx, dword ptr [esp + 4]
     mov   dword ptr [eax + 4], edx
@@ -58,17 +58,17 @@ SecSwitchStack   PROC
     mov   dword ptr [eax + 8], edx
     mov   edx, dword ptr [esp + 12]
     mov   dword ptr [eax + 12], edx
-    mov   edx, dword ptr [esp + 16]   = ; Update this function's return address into permenent memory
+    mov   edx, dword ptr [esp + 16]   = ; Update this function's return address into permanent memory
     mov   dword ptr [eax + 16], edx
-    mov   esp, eax        &n= bsp;            ; From now, esp is pointed to= permenent memory
+    mov   esp, eax        &n= bsp;            ; From now, esp is pointed to= permanent memory
 
     ;
-    ; Fixup the ebp point to permenent memory
+    ; Fixup the ebp point to permanent memory
     ;
     mov   eax, ebp
     sub   eax, ebx
     add   eax, ecx
-    mov   ebp, eax        &n= bsp;       ; From now, ebp is pointed to permenent memory
+    mov   ebp, eax        &n= bsp;       ; From now, ebp is pointed to permanent memory
 
     ;
     ; Fixup callee's ebp point for PeiDispatch
@@ -76,7 +76,7 @@ SecSwitchStack   PROC
     mov   eax, dword ptr [ebp]
     sub   eax, ebx
     add   eax, ecx
-    mov   dword ptr [ebp], eax    ; Fr= om now, Temporary's PPI caller's stack is in permenent memory
+    mov   dword ptr [ebp], eax    ; Fr= om now, Temporary's PPI caller's stack is in permanent memory
 
     pop   edx
     pop   ecx
diff --git a/EmulatorPkg/Sec/Sec.c b/EmulatorPkg/Sec/Sec.c
index 701032233b..7ee8786c79 100644
--- a/EmulatorPkg/Sec/Sec.c
+++ b/EmulatorPkg/Sec/Sec.c
@@ -1,5 +1,5 @@
 /*++ @file
-  Stub SEC that is called from the OS appliation that is the ro= ot of the emulator.
+  Stub SEC that is called from the OS application that is the r= oot of the emulator.
 
   The OS application will call the SEC with the PEI Entry = Point API.
 
@@ -89,7 +89,7 @@ _ModuleEntryPoint (
     SecReseveredMemorySize +=3D sizeof (EFI_PEI_PPI_D= ESCRIPTOR);
 
     if ((Ppi->Flags & EFI_PEI_PPI_DESCRIPTOR_T= ERMINATE_LIST) =3D=3D EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST) {
-      // Since we are appending, need to clear out pr= ivious list terminator.
+      // Since we are appending, need to clear out pr= evious list terminator.
       Ppi->Flags &=3D ~EFI_PEI_PPI_DESCRI= PTOR_TERMINATE_LIST;
       break;
     }
@@ -140,4 +140,3 @@ _ModuleEntryPoint (
 }
 
 
-
diff --git a/EmulatorPkg/Sec/Sec.h b/EmulatorPkg/Sec/Sec.h
index dd301f7888..42554e05b5 100644
--- a/EmulatorPkg/Sec/Sec.h
+++ b/EmulatorPkg/Sec/Sec.h
@@ -1,5 +1,5 @@
 /*++ @file
-  Stub SEC that is called from the OS appliation that is the ro= ot of the emulator.
+  Stub SEC that is called from the OS application that is the r= oot of the emulator.
 
   The OS application will call the SEC with the PEI Entry = Point API.
 
@@ -23,7 +23,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 
 //
-// I think this shold be defined in a MdePkg include file?
+// I think this should be defined in a MdePkg include file?
 //
 VOID
 EFIAPI
diff --git a/EmulatorPkg/Sec/X64/SwitchRam.S b/EmulatorPkg/Sec/X64/Sw= itchRam.S
index 7ddb6c854b..59d4e2edef 100644
--- a/EmulatorPkg/Sec/X64/SwitchRam.S
+++ b/EmulatorPkg/Sec/X64/SwitchRam.S
@@ -1,7 +1,7 @@
 #--------------------------------------------------------------= ----------------
 #
 # Copyright (c) 2006 - 2011, Intel Corporation. All rights rese= rved.<BR>
-# Portitions copyright (c) 2011, Apple Inc. All rights reserved.
+# Portions copyright (c) 2011, Apple Inc. All rights reserved.
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 #--------------------------------------------------------------= ----------------
diff --git a/EmulatorPkg/Sec/X64/SwitchRam.asm b/EmulatorPkg/Sec/X64/= SwitchRam.asm
index 73530bff39..e66bda5bf4 100644
--- a/EmulatorPkg/Sec/X64/SwitchRam.asm
+++ b/EmulatorPkg/Sec/X64/SwitchRam.asm
@@ -1,7 +1,7 @@
 ;--------------------------------------------------------------= ----------------
 ;
 ; Copyright (c) 2006 - 2012, Intel Corporation. All rights rese= rved.<BR>
-; Portitions copyright (c) 2011, Apple Inc. All rights reserved.
+; Portions copyright (c) 2011, Apple Inc. All rights reserved.
 ; SPDX-License-Identifier: BSD-2-Clause-Patent
 ;
 ;--------------------------------------------------------------= ----------------
diff --git a/EmulatorPkg/TimerDxe/Timer.c b/EmulatorPkg/TimerDxe/Time= r.c
index dfd92acc8c..8e2baaaa5b 100644
--- a/EmulatorPkg/TimerDxe/Timer.c
+++ b/EmulatorPkg/TimerDxe/Timer.c
@@ -301,7 +301,7 @@ Returns:
 
   EFI_OUT_OF_RESOURCES  - Not enough resources availa= ble to initialize driver.
 
-  EFI_DEVICE_ERROR      - A device error occured= attempting to initialize the driver.
+  EFI_DEVICE_ERROR      - A device error occurre= d attempting to initialize the driver.
 
 **/
 {
diff --git a/EmulatorPkg/Unix/GdbRun.sh b/EmulatorPkg/Unix/GdbRun.sh<= /div>
index 8c761ff2c9..b050ad5e2c 100644
--- a/EmulatorPkg/Unix/GdbRun.sh
+++ b/EmulatorPkg/Unix/GdbRun.sh
@@ -62,8 +62,8 @@ define RemoveFirmwareSymbolFile
 end
 
 if gInXcode =3D=3D 1
-  # in Xcode the program is already runing. Issuing a run comma= nd
-  # will cause a fatal debugger error. The break point sciprt t= hat
+  # in Xcode the program is already running. Issuing a run comm= and
+  # will cause a fatal debugger error. The break point script t= hat
   # is used to source this script sets gInCode to 1.
 else
   #
diff --git a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c b/EmulatorP= kg/Unix/Host/BerkeleyPacketFilter.c
index e318a90740..dcc315ac72 100644
--- a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c
+++ b/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c
@@ -5,7 +5,7 @@
  Tested on Mac OS X.
 
 Copyright (c) 2004 - 2009, Intel Corporation. All rights reserv= ed.<BR>
-Portitions copyright (c) 2011, Apple Inc. All rights reserved.
+Portions copyright (c) 2011, Apple Inc. All rights reserved.
 
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
diff --git a/EmulatorPkg/Unix/Host/BlockIo.c b/EmulatorPkg/Unix/Host/= BlockIo.c
index 07e39347e4..18368060d5 100644
--- a/EmulatorPkg/Unix/Host/BlockIo.c
+++ b/EmulatorPkg/Unix/Host/BlockIo.c
@@ -398,7 +398,7 @@ EmuBlockIoReadBlocks (
 Done:
   if (Token !=3D NULL) {
     if (Token->Event !=3D NULL) {
-      // Caller is responcible for signaling EFI Even= t
+      // Caller is responsible for signaling EFI Even= t
       Token->TransactionStatus =3D Status;
       return EFI_SUCCESS;
     }
@@ -429,7 +429,7 @@ Done:
                   =              the Event is NULL.
   @retval EFI_WRITE_PROTECTED   The device can n= ot be written to.
   @retval EFI_NO_MEDIA          T= here is no media in the device.
-  @retval EFI_MEDIA_CHNAGED     The MediaId does= not matched the current device.
+  @retval EFI_MEDIA_CHANGED     The MediaId does= not match the current device.
   @retval EFI_DEVICE_ERROR      The device = reported an error while performing the write.
   @retval EFI_BAD_BUFFER_SIZE   The Buffer was n= ot a multiple of the block size of the device.
   @retval EFI_INVALID_PARAMETER The write request contains= LBAs that are not valid,
@@ -477,7 +477,7 @@ EmuBlockIoWriteBlocks (
 Done:
   if (Token !=3D NULL) {
     if (Token->Event !=3D NULL) {
-      // Caller is responcible for signaling EFI Even= t
+      // Caller is responsible for signaling EFI Even= t
       Token->TransactionStatus =3D Status;
       return EFI_SUCCESS;
     }
@@ -500,7 +500,7 @@ Done:
   @retval EFI_SUCCESS          Th= e flush request was queued if Event is not NULL.
                   =             All outstanding data was written= correctly to the
                   =             device if the Event is NULL.
-  @retval EFI_DEVICE_ERROR     The device report= ed an error while writting back
+  @retval EFI_DEVICE_ERROR     The device report= ed an error while writing back
                   =             the data.
   @retval EFI_WRITE_PROTECTED  The device cannot be w= ritten to.
   @retval EFI_NO_MEDIA         Th= ere is no media in the device.
@@ -529,7 +529,7 @@ EmuBlockIoFlushBlocks (
 
   if (Token !=3D NULL) {
     if (Token->Event !=3D NULL) {
-      // Caller is responcible for signaling EFI Even= t
+      // Caller is responsible for signaling EFI Even= t
       Token->TransactionStatus =3D EFI_SUCCES= S;
       return EFI_SUCCESS;
     }
@@ -544,7 +544,7 @@ EmuBlockIoFlushBlocks (
 
   @param[in]  This          =        Indicates a pointer to the calling context.
   @param[in]  ExtendedVerification Indicates that the= driver may perform a more
-                   = ;                exhausive verficat= ion operation of the device
+                   = ;                exhaustive verific= ation operation of the device
                   =                 during reset.
 
   @retval EFI_SUCCESS          Th= e device was reset.
diff --git a/EmulatorPkg/Unix/Host/EmuThunk.c b/EmulatorPkg/Unix/Host= /EmuThunk.c
index f1330c8234..b831c67946 100644
--- a/EmulatorPkg/Unix/Host/EmuThunk.c
+++ b/EmulatorPkg/Unix/Host/EmuThunk.c
@@ -6,7 +6,7 @@
   The mUnixThunkTable exists so that a change to EFI_EMU_T= HUNK_PROTOCOL
   will cause an error in initializing the array if all the= member functions
   are not added. It looks like adding a element to end and= not initializing
-  it may cause the table to be initaliized with the members at = the end being
+  it may cause the table to be initialized with the members at = the end being
   set to zero. This is bad as jumping to zero will crash.<= /div>
 
 Copyright (c) 2004 - 2009, Intel Corporation. All rights reserv= ed.<BR>
diff --git a/EmulatorPkg/Unix/Host/Host.c b/EmulatorPkg/Unix/Host/Hos= t.c
index febfb1f44c..b6d7777d41 100644
--- a/EmulatorPkg/Unix/Host/Host.c
+++ b/EmulatorPkg/Unix/Host/Host.c
@@ -38,7 +38,7 @@ UINTN       gFdInfoCount =3D 0;=
 EMU_FD_INFO *gFdInfo;
 
 //
-// Array that supports seperate memory rantes.
+// Array that supports separate memory ranges.
 //  The memory ranges are set in system.cmd via the EFI_ME= MORY_SIZE variable.
 //  The number of array elements is allocated base on pars= ing
 //  EFI_MEMORY_SIZE and the memory is never freed.
@@ -379,7 +379,7 @@ Arguments:
 Returns:
   EFI_SUCCESS      - The file was opened an= d mapped.
   EFI_NOT_FOUND    - FileName was not found in t= he current directory
-  EFI_DEVICE_ERROR - An error occured attempting to map the ope= ned file
+  EFI_DEVICE_ERROR - An error occurred attempting to map the op= ened file
 
 **/
 EFI_STATUS
@@ -523,7 +523,7 @@ Arguments:
   PeiCorePe32File         - SEC P= E32
 
 Returns:
-  Success means control is transfered and thus we should never = return
+  Success means control is transferred and thus we should never= return
 
 **/
 VOID
@@ -611,7 +611,7 @@ Routine Description:
   It allows discontinuous memory regions to be supported b= y the emulator.
   It uses gSystemMemory[] and gSystemMemoryCount that were= created by
   parsing the host environment variable EFI_MEMORY_SIZE.
-  The size comes from the varaible and the address comes from t= he call to
+  The size comes from the variable and the address comes from t= he call to
   UnixOpenFile.
 
 Arguments:
@@ -661,7 +661,7 @@ Routine Description:
 
  This is all of GCD for system memory passed to DXE Core. FV
  mapping and other device mapped into system memory are not
- inlcuded in the check.
+ included in the check.
 
 Arguments:
   Index      - Which memory region to use
@@ -898,7 +898,7 @@ Routine Description:
   The ModHandle is needed to unload the image.
 
 Arguments:
-  ImageContext - Input data returned from PE Laoder Library. Us= ed to find the
+  ImageContext - Input data returned from PE Loader Library. Us= ed to find the
                  .PDB f= ile name of the PE Image.
   ModHandle    - Returned from LoadLibraryEx() a= nd stored for call to
                  FreeLi= brary().
@@ -922,7 +922,7 @@ AddHandle (
   for (Index =3D 0; Index < mImageContextModHandleArray= Size; Index++, Array++) {
     if (Array->ImageContext =3D=3D NULL) {
       //
-      // Make a copy of the stirng and store the ModH= andle
+      // Make a copy of the string and store the ModH= andle
       //
       Array->ImageContext =3D ImageContext;
       Array->ModHandle    =3D ModHa= ndle;
@@ -933,7 +933,7 @@ AddHandle (
   //
   // No free space in mImageContextModHandleArray so grow = it by
   // IMAGE_CONTEXT_TO_MOD_HANDLE entires. realloc will
-  // copy the old values to the new locaiton. But it does
+  // copy the old values to the new location. But it does
   // not zero the new memory area.
   //
   PreviousSize =3D mImageContextModHandleArraySize * sizeo= f (IMAGE_CONTEXT_TO_MOD_HANDLE);
@@ -961,11 +961,11 @@ Routine Description:
   Return the ModHandle and delete the entry in the array.<= /div>
 
 Arguments:
-  ImageContext - Input data returned from PE Laoder Library. Us= ed to find the
+  ImageContext - Input data returned from PE Loader Library. Us= ed to find the
                  .PDB f= ile name of the PE Image.
 
 Returns:
-  ModHandle - ModHandle assoicated with ImageContext is returne= d
+  ModHandle - ModHandle associated with ImageContext is returne= d
   NULL      - No ModHandle associated with = ImageContext
 
 **/
diff --git a/EmulatorPkg/Unix/Host/LinuxPacketFilter.c b/EmulatorPkg/= Unix/Host/LinuxPacketFilter.c
index a8028d18ff..2b772ab884 100644
--- a/EmulatorPkg/Unix/Host/LinuxPacketFilter.c
+++ b/EmulatorPkg/Unix/Host/LinuxPacketFilter.c
@@ -6,7 +6,7 @@
  is just a template that needs to get filled in.
 
 Copyright (c) 2004 - 2009, Intel Corporation. All rights reserv= ed.<BR>
-Portitions copyright (c) 2011, Apple Inc. All rights reserved.
+Portions copyright (c) 2011, Apple Inc. All rights reserved.
 
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
diff --git a/EmulatorPkg/Unix/Host/Pthreads.c b/EmulatorPkg/Unix/Host= /Pthreads.c
index 7c71a2da4f..3aadab0c28 100644
--- a/EmulatorPkg/Unix/Host/Pthreads.c
+++ b/EmulatorPkg/Unix/Host/Pthreads.c
@@ -133,7 +133,7 @@ PthreadCreate (
     EnabledOnEntry =3D FALSE;
   }
 
-  // Aquire lock for global, SecFakePthreadStart runs in a diff= erent thread.
+  // Acquire lock for global, SecFakePthreadStart runs in a dif= ferent thread.
   pthread_mutex_lock (&mThreadMangle.Mutex);
   mThreadMangle.Start   =3D Start;
 
diff --git a/EmulatorPkg/Unix/Host/X64/Gasket.S b/EmulatorPkg/Unix/Ho= st/X64/Gasket.S
index a9ca707562..030faa8e4c 100644
--- a/EmulatorPkg/Unix/Host/X64/Gasket.S
+++ b/EmulatorPkg/Unix/Host/X64/Gasket.S
@@ -15,11 +15,11 @@
 //
 // Gaskets are EFI ABI to UNIX ABI calls
 // EFI ABI code will sub 40 (0x28) from %rsp before calling a f= unction
-//  This is the 32 (0x20) byte to spill registers and 8 bytes t= o align stack on 16 byte boundry.
+//  This is the 32 (0x20) byte to spill registers and 8 bytes t= o align stack on 16 byte boundary.
 //
   .text
 
-// 32 byte shadow to spill rcx-r9, 8 bytes to align stack on 16 byte= boundry
+// 32 byte shadow to spill rcx-r9, 8 bytes to align stack on 16 byte= boundary
 // Any call with 0 - 4 arguments allocates 40 bytes on the stac= k.
 // For more than 4 args you always have to increase in quanta o= f 16 so 5 or 6 args is 56,
 // 7 or 8 args is 72, and 9 or 10 args is 88
diff --git a/EmulatorPkg/Unix/Host/X64/SwitchStack.S b/EmulatorPkg/Un= ix/Host/X64/SwitchStack.S
index 4126cc9912..36838bf29e 100644
--- a/EmulatorPkg/Unix/Host/X64/SwitchStack.S
+++ b/EmulatorPkg/Unix/Host/X64/SwitchStack.S
@@ -1,7 +1,7 @@
 #--------------------------------------------------------------= ----------------
 #
 # Copyright (c) 2006 - 2008, Intel Corporation. All rights rese= rved.<BR>
-# Portitions copyright (c) 2011, Apple Inc. All rights reserved.
+# Portions copyright (c) 2011, Apple Inc. All rights reserved.
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 #--------------------------------------------------------------= ----------------
diff --git a/EmulatorPkg/Unix/lldbefi.py b/EmulatorPkg/Unix/lldbefi.p= y
index 218326b8cb..f3e35865c2 100755
--- a/EmulatorPkg/Unix/lldbefi.py
+++ b/EmulatorPkg/Unix/lldbefi.py
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 
 #
-#  Copyright 2014 Apple Inc. All righes reserved.
+#  Copyright 2014 Apple Inc. All rights reserved.
 #
 #  SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -278,7 +278,7 @@ def EFI_DEVICE_PATH_PROTOCOL_TypeSummary (valobj,= internal_dict):
 
     Address =3D long ("%d" % valobj.addr)
     if (Address =3D=3D lldb.LLDB_INVALID_ADDRESS):
-      # Need to reserach this, it seems to be the nes= ted struct case
+      # Need to research this, it seems to be the nes= ted struct case
       ExprStr =3D ""
     elif (Type & 0x7f =3D=3D 0x7f):
       ExprStr =3D "End Device Path" if SubType = =3D=3D 0xff else "End This Instance"
@@ -304,7 +304,7 @@ def EFI_DEVICE_PATH_PROTOCOL_TypeSummary (valobj,= internal_dict):
 
 def TypePrintFormating(debugger):
     #
-    # Set the default print formating for EFI types in lld= b.
+    # Set the default print formatting for EFI types in ll= db.
     # seems lldb defaults to decimal.
     #
     category =3D debugger.GetDefaultCategory()
@@ -384,7 +384,7 @@ def LoadEmulatorEfiSymbols(frame, bp_loc , intern= al_dict):
     FileName =3D frame.thread.process.ReadCStringFrom= Memory (FileNamePtr, FileNameLen, Error)
     if not Error.Success():
         print "!ReadCStringFromMemory() did= not find a %d byte C string at %x" % (FileNameLen, FileNamePtr)
-        # make breakpoint command contiue
+        # make breakpoint command continue
         frame.GetThread().GetProcess().Cont= inue()
 
     debugger =3D frame.thread.process.target.debugger=
@@ -404,12 +404,12 @@ def LoadEmulatorEfiSymbols(frame, bp_loc , inte= rnal_dict):
                 if not = target.RemoveModule (SBModule):
                   =  print "!lldb.target.RemoveModule (%s) FAILED" % SBModule
 
-    # make breakpoint command contiue
+    # make breakpoint command continue
     frame.thread.process.Continue()
 
 def GuidToCStructStr (guid, Name=3DFalse):
   #
-  # Convert a 16-byte bytesarry (or bytearray compat object) to= C guid string
+  # Convert a 16-byte bytesarray (or bytearray compat object) t= o C guid string
   # { 0xB402621F, 0xA940, 0x1E4A, { 0x86, 0x6B, 0x4D, 0xC9= , 0x16, 0x2B, 0x34, 0x7C } }
   #
   # Name=3DTrue means lookup name in GuidNameDict and us i= t if you find it
@@ -516,7 +516,7 @@ def __lldb_init_module (debugger, internal_dict):=
             if len(data) >=3D = 2:
                 guid_di= ct[data[0].upper()] =3D data[1].strip('\n')
 
-    # init EFI specific type formaters
+    # init EFI specific type formatters
     TypePrintFormating (debugger)
 
 
diff --git a/EmulatorPkg/Win/Host/WinGopScreen.c b/EmulatorPkg/Win/Ho= st/WinGopScreen.c
index 8f42606823..9a992ad157 100644
--- a/EmulatorPkg/Win/Host/WinGopScreen.c
+++ b/EmulatorPkg/Win/Host/WinGopScreen.c
@@ -297,7 +297,7 @@ WinNtWndSize (
   @param  X            =           X location on graphics screen.
   @param  Y            =           Y location on the graphics screen.
   @param  Width          &nb= sp;       Width of BltBuffer.
-  @param  Height            =      Hight of BltBuffer
+  @param  Height            =      Height of BltBuffer
   @param  BltOperation        &nb= sp;  Operation to perform on BltBuffer and video memory
   @param  BltBuffer         =     Buffer containing data to blt into video buffer.
                   =               This  buffer has a s= ize of
diff --git a/EmulatorPkg/Win/Host/WinHost.c b/EmulatorPkg/Win/Host/Wi= nHost.c
index dd52075f98..32d77fe48d 100644
--- a/EmulatorPkg/Win/Host/WinHost.c
+++ b/EmulatorPkg/Win/Host/WinHost.c
@@ -859,7 +859,7 @@ PeCoffLoaderRelocateImageExtraAction (
   //  the *.dll file as a library using Windows* APIs= . This allows
   //  source level debug. The image is still loaded a= nd relocated
   //  in the Framework memory space like on a real sy= stem (by the code above),
-  //  but the entry point points into the DLL loaded by th= e code bellow.
+  //  but the entry point points into the DLL loaded by th= e code below.
   //
 
   DllEntryPoint =3D NULL;
-- 
2.20.1 (Apple Git-117)
 
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#43043) | | Mu= te This Topic | New Topic

Your Subscripti= on | Contact Group Owner | Unsubscribe [importer@patchew.org]

_._,_._,_
--2f4I6shYOLZ4Z1jFVbjH--