From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: [PATCH v2 1/7] EmulatorPkg: Fix various typos To: devel@edk2.groups.io From: =?UTF-8?B?Q8WTdXI=?= X-Originating-Location: Tokyo, JP (199.47.199.26) X-Originating-Platform: Mac Chrome 75 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 02 Jul 2019 09:40:21 -0700 Message-ID: <13779.1562085621630760123@groups.io> Content-Type: multipart/alternative; boundary="vSNFtbQUnY0WutY3wS1v" --vSNFtbQUnY0WutY3wS1v Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Fix various typos in EmulatorPkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur --- EmulatorPkg/CpuRuntimeDxe/MpService.c=C2=A0 | 11 +++++------ EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c | 14 +++++++------- EmulatorPkg/EmuGopDxe/GopDriver.c=C2=A0 =C2=A0 =C2=A0 |=C2=A0 4 ++-- EmulatorPkg/EmuGopDxe/GopInput.c=C2=A0 =C2=A0 =C2=A0 =C2=A0| 12 ++++++----= -- EmulatorPkg/EmuGopDxe/GopScreen.c=C2=A0 =C2=A0 =C2=A0 |=C2=A0 6 +++--- EmulatorPkg/EmuThunkDxe/EmuThunk.c=C2=A0 =C2=A0 =C2=A0|=C2=A0 2 +- 6 files changed, 24 insertions(+), 25 deletions(-) diff --git a/EmulatorPkg/CpuRuntimeDxe/MpService.c b/EmulatorPkg/CpuRuntim= eDxe/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 chec= k the state of the WaitEvent created in step 1. -=C2=A0 =C2=A0 -# When the APs complete their task or TimeoutInMicroSecond= ss expires, the MP +=C2=A0 =C2=A0 -# When the APs complete their task or TimeoutInMicroSecond= s 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 t= ime limit in microseconds for +=C2=A0 @param[in]=C2=A0 TimeoutInMicroseconds=C2=A0 =C2=A0Indicates the t= ime 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 finishe= s or -=C2=A0 TimeoutInMicroSecondss expires. Otherwise, execution is in non-blo= cking mode. +=C2=A0 TimeoutInMicroSeconds expires. Otherwise, execution is in non-bloc= king mode. BSP proceeds to the next task without waiting for the AP. If a non-blockin= g mode is requested after the UEFI Event EFI_EVENT_GROUP_READY_TO_BOOT is signale= d, 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 t= ime limit in microseconds for +=C2=A0 @param[in]=C2=A0 TimeoutInMicroseconds=C2=A0 =C2=A0Indicates the t= ime 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/EmuBlock= IoDxe/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 perfor= m 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 = operation 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 verificatio= n 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 i= n the device. -=C2=A0 @retval EFI_MEDIA_CHNAGED=C2=A0 =C2=A0 =C2=A0The MediaId does not = matched the current device. +=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not = match the current device. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 The device reported an error = while performing the write. @retval EFI_BAD_BUFFER_SIZE=C2=A0 =C2=A0The Buffer was not a multiple of t= he 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 wa= s 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 r= ead correctly from the device. @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 The device reported an error = while performing the read. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 There is no media i= n the device. -=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not = matched the current device. +=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not = match the current device. @retval EFI_BAD_BUFFER_SIZE=C2=A0 =C2=A0The Buffer was not a multiple of t= he block size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are not = valid, 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 = while performing the write. @retval EFI_NO_MEDIA=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 There is no media i= n the device. -=C2=A0 @retval EFI_MEDIA_CHNAGED=C2=A0 =C2=A0 =C2=A0The MediaId does not = matched the current device. +=C2=A0 @retval EFI_MEDIA_CHANGED=C2=A0 =C2=A0 =C2=A0The MediaId does not = match the current device. @retval EFI_BAD_BUFFER_SIZE=C2=A0 =C2=A0The Buffer was not a multiple of t= he 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 Indicate= s a pointer to the calling context. @retval EFI_SUCCESS=C2=A0 =C2=A0 =C2=A0 =C2=A0All outstanding data was wri= tten to the device -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 The device reported an error while = writting back the data +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 The device reported an error while = writing 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 de= vice 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 c= ompleted 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/Gop= Driver.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 de= vice 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 c= ompleted 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/GopI= nput.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- Protoc= ol 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 WaitForEve= nt () call. +=C2=A0 =C2=A0 be used to test for existence of a keystroke via WaitForEve= nt () 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 inform= ation was returned. -=C2=A0 =C2=A0 EFI_NOT_READY=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- There was = no keystroke data availiable. +=C2=A0 =C2=A0 EFI_NOT_READY=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- There was = no keystroke data available. EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 - The keystroke information was not r= eturned due to hardware errors. EFI_INVALID_PARAMETER - KeyData is NULL. @@ -660,7 +660,7 @@ EmuGopSimpleTextInExUnregisterKeyNotify ( /** -=C2=A0 Initialize SimplelTextIn and SimpleTextInEx protocols in the Priva= te +=C2=A0 Initialize SimpleTextIn and SimpleTextInEx protocols in the Privat= e context structure. @param=C2=A0 Private=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0Context 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 EmuGopSim= pleTextInReset; 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/Gop= Screen.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 b= y 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 BltBuf= fer in pixels. -=C2=A0 @param=C2=A0 Height=C2=A0 =C2=A0 =C2=A0 =C2=A0Hight of rectangle i= n BltBuffer in pixels. +=C2=A0 @param=C2=A0 Height=C2=A0 =C2=A0 =C2=A0 =C2=A0Height of rectangle = in 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 operat= ion completed. @retval EFI_INVALID_PARAMETER BltOperation is not valid. -=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 A hardware error occu= red writting to the video buffer. +=C2=A0 @retval EFI_DEVICE_ERROR=C2=A0 =C2=A0 =C2=A0 A hardware error occu= rred writing to the video buffer. **/ EFI_STATUS diff --git a/EmulatorPkg/EmuThunkDxe/EmuThunk.c b/EmulatorPkg/EmuThunkDxe/= 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: -=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(). **/ -- 2.20.1 (Apple Git-117) --vSNFtbQUnY0WutY3wS1v Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Fix various typos in EmulatorPkg.
 
Contributed-under: TianoCore Contribu= tion Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr= >
---
 EmulatorPkg/CpuRuntimeDxe/MpSer= vice.c  | 11 +++++------
 EmulatorPkg/EmuBlockIoDxe/EmuBl= ockIo.c | 14 +++++++-------
 EmulatorPkg/EmuGopDxe/GopDriver= .c      |  4 ++--
 EmulatorPkg/EmuGopDxe/GopInput.= c       | 12 ++++++------
 EmulatorPkg/EmuGopDxe/GopScreen= .c      |  6 +++---
 EmulatorPkg/EmuThunkDxe/EmuThun= k.c     |  2 +-
 6 files changed, 24 insertions(= +), 25 deletions(-)
 
diff --git a/EmulatorPkg/CpuRuntimeDx= e/MpService.c b/EmulatorPkg/CpuRuntimeDxe/MpService.c
index 42f94ada27..ff379a1ce3 100644
--- a/EmulatorPkg/CpuRuntimeDxe/MpSer= vice.c
+++ b/EmulatorPkg/CpuRuntimeDxe/MpSer= vice.c
@@ -29,10 +29,9 @@
   Diagnostics applications= may also use this protocol for multi-processor.
 
 Copyright (c) 2006 - 2012, Inte= l Corporation. All rights reserved.<BR>
-Portitions Copyright (c) 2011, Apple= Inc. All rights reserved.
+Portions Copyright (c) 2011, Apple I= nc. All rights reserved.
 SPDX-License-Identifier: BSD-2-= Clause-Patent
 
-
 **/
 
 #include "CpuDriver.h"
@@ -292,7 +291,7 @@ CpuMpServicesGetP= rocessorInfo (
        and relea= ses the BSP to continue with other tasks.
     -# The caller can= use the CheckEvent() and WaitForEvent() services to check
        the state= of the WaitEvent created in step 1.
-    -# When the APs comple= te their task or TimeoutInMicroSecondss expires, the MP
+    -# When the APs comple= te their task or TimeoutInMicroSeconds expires, the MP
        Service s= ignals WaitEvent by calling the EFI SignalEvent() function. If
        FailedCpu= List 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 @@ CpuMpServicesGetP= rocessorInfo (
          &n= bsp;                     =        EFI_EVENT is defined in CreateEvent() in
          &n= bsp;                     =        the Unified Extensible Firmware Interface
          &n= bsp;                     =        Specification.
-  @param[in]  TimeoutInMic= rosecsond   Indicates the time limit in microseconds for
+  @param[in]  TimeoutInMic= roseconds   Indicates the time limit in microseconds for
          &n= bsp;                     =        APs to return from Procedure, either for
          &n= bsp;                     =        blocking or non-blocking mode. Zero means
          &n= bsp;                     =        infinity.  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.  If WaitEvent
   is NULL, execution is in= blocking mode. The BSP waits until the AP finishes or
-  TimeoutInMicroSecondss expire= s. Otherwise, execution is in non-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 U= EFI Event EFI_EVENT_GROUP_READY_TO_BOOT is signaled,
   then EFI_UNSUPPORTED mus= t be returned.
@@ -636,7 +635,7 @@ Done:
          &n= bsp;                     =        EFI_EVENT is defined in CreateEvent() in
          &n= bsp;                     =        the Unified Extensible Firmware Interface
          &n= bsp;                     =        Specification.
-  @param[in]  TimeoutInMic= rosecsond   Indicates the time limit in microseconds for
+  @param[in]  TimeoutInMic= roseconds   Indicates the time limit in microseconds for
          &n= bsp;                     =        APs to return from Procedure, either for
          &n= bsp;                     =        blocking or non-blocking mode. Zero means
          &n= bsp;                     =        infinity.  If the timeout expires before
diff --git a/EmulatorPkg/EmuBlockIoDx= e/EmuBlockIo.c b/EmulatorPkg/EmuBlockIoDxe/EmuBlockIo.c
index 96424a82ae..1a88223f91 100644
--- a/EmulatorPkg/EmuBlockIoDxe/EmuBl= ockIo.c
+++ b/EmulatorPkg/EmuBlockIoDxe/EmuBl= ockIo.c
@@ -13,7 +13,7 @@ bbe
 
   @param[in]  This&nb= sp;                Indicates a poin= ter to the calling context.
   @param[in]  Extende= dVerification Indicates that the driver may perform a more
-          &= nbsp;                    =    exhausive verfication operation of the device
+          &= nbsp;                    =    exhaustive verification operation of the device
          &n= bsp;                     =     during reset.
 
   @retval EFI_SUCCESS = ;         The device was reset.
@@ -123,7 +123,7 @@ EmuBlockIo2ReadBl= ocksEx (
          &n= bsp;                     =  the Event is NULL.
   @retval EFI_WRITE_PROTEC= TED   The device can not be written to.
   @retval EFI_NO_MEDIA&nbs= p;         There is no media in the device.
-  @retval EFI_MEDIA_CHNAGED&nbs= p;    The MediaId does not matched the current device.
+  @retval EFI_MEDIA_CHANGED&nbs= p;    The MediaId does not match the current device.
   @retval EFI_DEVICE_ERROR=       The device reported an error while performing the writ= e.
   @retval EFI_BAD_BUFFER_S= IZE   The Buffer was not a multiple of the block size of the devi= ce.
   @retval EFI_INVALID_PARA= METER The write request contains LBAs that are not valid,
@@ -172,7 +172,7 @@ EmuBlockIo2WriteB= locksEx (
   @retval EFI_SUCCESS = ;         The flush request was queued if Event is not = NULL.
          &n= bsp;                     = All outstanding data was written correctly to the
          &n= bsp;                     = device if the Event is NULL.
-  @retval EFI_DEVICE_ERROR = ;    The device reported an error while writting back
+  @retval EFI_DEVICE_ERROR = ;    The device reported an error while writing back
          &n= bsp;                     = the data.
   @retval EFI_WRITE_PROTEC= TED  The device cannot be written to.
   @retval EFI_NO_MEDIA&nbs= p;        There is no media in the device.
@@ -250,7 +250,7 @@ EmuBlockIoReset (=
   @retval EFI_SUCCESS = ;          The data was read correctly from the de= vice.
   @retval EFI_DEVICE_ERROR=       The device reported an error while performing the read= .
   @retval EFI_NO_MEDIA&nbs= p;         There is no media in the device.
-  @retval EFI_MEDIA_CHANGED&nbs= p;    The MediaId does not matched the current device.
+  @retval EFI_MEDIA_CHANGED&nbs= p;    The MediaId does not match the current device.
   @retval EFI_BAD_BUFFER_S= IZE   The Buffer was not a multiple of the block size of the devi= ce.
   @retval EFI_INVALID_PARA= METER The read request contains LBAs that are not valid,
          &n= bsp;                     =  or the buffer is not on proper alignment.
@@ -297,7 +297,7 @@ EmuBlockIoReadBlo= cks (
   @retval EFI_WRITE_PROTEC= TED   The device can not be written to.
   @retval EFI_DEVICE_ERROR=       The device reported an error while performing the writ= e.
   @retval EFI_NO_MEDIA&nbs= p;         There is no media in the device.
-  @retval EFI_MEDIA_CHNAGED&nbs= p;    The MediaId does not matched the current device.
+  @retval EFI_MEDIA_CHANGED&nbs= p;    The MediaId does not match the current device.
   @retval EFI_BAD_BUFFER_S= IZE   The Buffer was not a multiple of the block size of the devi= ce.
   @retval EFI_INVALID_PARA= METER The write request contains LBAs that are not valid,
          &n= bsp;                     =  or the buffer is not on proper alignment.
@@ -335,7 +335,7 @@ EmuBlockIoWriteBl= ocks (
   @param  This  =             Indicates a pointer to the callin= g context.
 
   @retval EFI_SUCCESS = ;      All outstanding data was written to the device
-  @retval EFI_DEVICE_ERROR = ; The device reported an error while writting back the data
+  @retval EFI_DEVICE_ERROR = ; The device reported an error while writing back the data
   @retval EFI_NO_MEDIA&nbs= p;     There is no media in the device.
 
 **/
@@ -484,7 +484,7 @@ EmuBlockIoDriverB= indingSupported (
   @retval EFI_SUCCESS = ;             The device was started.
   @retval EFI_DEVICE_ERROR=          The device could not be started due to a = device error.Currently not implemented.
   @retval EFI_OUT_OF_RESOU= RCES     The request could not be completed due to a lack of= resources.
-  @retval Others    &= nbsp;              The driver failded to= start the device.
+  @retval Others    &= nbsp;              The driver failed to = start the device.
 
 **/
 EFI_STATUS
diff --git a/EmulatorPkg/EmuGopDxe/Go= pDriver.c b/EmulatorPkg/EmuGopDxe/GopDriver.c
index d0215c33e7..595c49a332 100644
--- a/EmulatorPkg/EmuGopDxe/GopDriver= .c
+++ b/EmulatorPkg/EmuGopDxe/GopDriver= .c
@@ -165,7 +165,7 @@ EmuGopDriverBindi= ngSupported (
   @retval EFI_SUCCESS = ;             The device was started.
   @retval EFI_DEVICE_ERROR=          The device could not be started due to a = device error.Currently not implemented.
   @retval EFI_OUT_OF_RESOU= RCES     The request could not be completed due to a lack of= resources.
-  @retval Others    &= nbsp;              The driver failded to= start the device.
+  @retval Others    &= nbsp;              The driver failed to = start the device.
 
 **/
 EFI_STATUS
@@ -196,7 +196,7 @@ EmuGopDriverBindi= ngStart (
   }
 
   //
-  // Allocate Private context d= ata for SGO inteface.
+  // Allocate Private context d= ata for SGO interface.
   //
   Private =3D NULL;
   Status =3D gBS->Alloc= atePool (
diff --git a/EmulatorPkg/EmuGopDxe/Go= pInput.c b/EmulatorPkg/EmuGopDxe/GopInput.c
index fdd0b49115..44502900c5 100644
--- a/EmulatorPkg/EmuGopDxe/GopInput.= c
+++ b/EmulatorPkg/EmuGopDxe/GopInput.= c
@@ -283,7 +283,7 @@ EmuGopSimpleTextI= nExResetEx (
 /*++
 
   Routine Description:
-    Reset the input device= and optionaly run diagnostics
+    Reset the input device= and optionally run diagnostics
 
   Arguments:
     This   =              - Protocol instance pointe= r.
@@ -358,7 +358,7 @@ EmuGopSimpleTextI= nExReadKeyStrokeEx (
 
   Routine Description:
     Reads the next ke= ystroke from the input device. The WaitForKey Event can
-    be used to test for ex= istance of a keystroke via WaitForEvent () call.
+    be used to test for ex= istence of a keystroke via WaitForEvent () call.
 
   Arguments:
     This   =    - Protocol instance pointer.
@@ -367,7 +367,7 @@ EmuGopSimpleTextI= nExReadKeyStrokeEx (
 
   Returns:
     EFI_SUCCESS =          - The keystroke information was returned= .
-    EFI_NOT_READY  &n= bsp;      - There was no keystroke data availiable.
+    EFI_NOT_READY  &n= bsp;      - There was no keystroke data available.
     EFI_DEVICE_ERROR&= nbsp;     - The keystroke information was not returned due to
          &n= bsp;                  hardware= errors.
     EFI_INVALID_PARAM= ETER - KeyData is NULL.
@@ -660,7 +660,7 @@ EmuGopSimpleTextI= nExUnregisterKeyNotify (
 
 
 /**
-  Initialize SimplelTextIn and = SimpleTextInEx protocols in the Private
+  Initialize SimpleTextIn and S= impleTextInEx protocols in the Private
   context structure.
 
   @param  Private&nbs= p;              Context structure to fil= l in.
@@ -676,7 +676,7 @@ EmuGopInitializeS= impleTextInForWindow (
   EFI_STATUS  Status;=
 
   //
-  // Initialize Simple Text In = protoocol
+  // Initialize Simple Text In = protocol
   //
   Private->SimpleTextIn= .Reset         =3D EmuGopSimpleTextInReset;
   Private->SimpleTextIn= .ReadKeyStroke =3D EmuGopSimpleTextInReadKeyStroke;
@@ -879,7 +879,7 @@ EmuGopInitializeS= implePointerForWindow (
   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/Go= pScreen.c b/EmulatorPkg/EmuGopDxe/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 graphi= cs abstration of UGA. It is called by
+  This file produces the graphi= cs abstraction of UGA. It is called by
   EmuGopDriver.c file whic= h deals with the EFI 1.1 driver model.
   This file just does grap= hics.
 
@@ -172,12 +172,12 @@ EmuGopSetMode (=
   @param  Destination= X X coordinate of destination for the BltBuffer.
   @param  Destination= Y Y coordinate of destination for the BltBuffer.
   @param  Width =       Width of rectangle in BltBuffer in pixels.
-  @param  Height  &nb= sp;    Hight of rectangle in BltBuffer in pixels.
+  @param  Height  &nb= sp;    Height of rectangle in BltBuffer in pixels.
   @param  Delta =       OPTIONAL
 
   @retval EFI_SUCCESS = ;          The Blt operation completed.
   @retval EFI_INVALID_PARA= METER 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/EmuThunkDxe/= EmuThunk.c b/EmulatorPkg/EmuThunkDxe/EmuThunk.c
index d26d52ae36..ef791eedce 100644
--- a/EmulatorPkg/EmuThunkDxe/EmuThun= k.c
+++ b/EmulatorPkg/EmuThunkDxe/EmuThun= k.c
@@ -63,7 +63,7 @@ Arguments:
   (Standard EFI Image entr= y - EFI_IMAGE_ENTRY_POINT)
 
 Returns:
-  EFI_SUCEESS - UnixThunk proto= col is added or error status from
+  EFI_SUCCESS - UnixThunk proto= col is added or error status from
          &n= bsp;      gBS->InstallMultiProtocolInterfaces().
 
 **/
-- 
2.20.1 (Apple Git-117)
 
--vSNFtbQUnY0WutY3wS1v--