From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: [PATCH v2 4/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:42:30 -0700 Message-ID: <21474.1562085750451207709@groups.io> Content-Type: multipart/alternative; boundary="20EnZVwvgBjqbSRrXrup" --20EnZVwvgBjqbSRrXrup 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/Library/DxeEmuLib/DxeEmuLib.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =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 =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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 +- .../Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c=C2=A0 =C2=A0 =C2=A0|= 8 ++++---- .../DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.c | 2 +- .../GuardUefiMemoryAllocationLib/MemoryAllocationLib.c=C2=A0 =C2=A0 | 6 ++= +--- .../PeiEmuPeCoffExtraActionLib.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 | 2 +- .../PeiEmuPeCoffExtraActionLib.inf=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 +- .../PeiEmuPeCoffGetEntryPointLib.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 | 4 ++-- .../Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c=C2=A0 =C2=A0 =C2=A0|= 2 +- .../PeiServicesTablePointerLib/PeiServicesTablePointer.c=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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 4 ++-- .../PeiServicesTablePointerLibMagicPage.inf=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= = =A0 =C2=A0 =C2=A0 =C2=A0| 2 +- EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf=C2=A0 =C2=A0 =C2=A0 = =C2=A0| 2 +- EmulatorPkg/Library/SmbiosLib/SmbiosLib.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 8 ++++---- 15 files changed, 26 insertions(+), 26 deletions(-) diff --git a/EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.c b/EmulatorPkg/Libra= ry/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/DxeEmuPeCoffEx= traActionLib.c b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCof= fExtraActionLib.c index 44a42a3784..1ab24aa7c0 100644 --- a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActi= onLib.c +++ b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActi= onLib.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 l= evel debug. +=C2=A0 PE/Coff image for Emu environment specific purpose such as source = level debug. This version only works for DXE phase Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffEx= traActionLib.inf b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeC= offExtraActionLib.inf index fdc890a000..180f153e9b 100644 --- a/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActi= onLib.inf +++ b/EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActi= onLib.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 FIF= O on the receive side of the +=C2=A0 @param ReceiveFifoDepth=C2=A0 =C2=A0The requested depth of the FIF= O 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/DxeEmuStdErrSer= ialPortLib.c b/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSe= rialPortLib.c index 0eefec0404..17cada3638 100644 --- a/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPort= Lib.c +++ b/EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPort= Lib.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/MemoryAlloca= tionLib.c b/EmulatorPkg/Library/GuardUefiMemoryAllocationLib/MemoryAllocati= onLib.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 bu= ffers. 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 la= rger than page size. +=C2=A0 =C2=A0 // Calculate the total number of pages since alignment is l= arger 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 bu= ffers. Status =3D gBS->FreePool (Buffer); ASSERT_EFI_ERROR (Status); diff --git a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffEx= traActionLib.c b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCof= fExtraActionLib.c index 55be3efbdb..578de7ee46 100644 --- a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActi= onLib.c +++ b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActi= onLib.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 l= evel debug. +=C2=A0 PE/Coff image for Emu environment specific purpose such as source = level debug. This version only works for PEI phase Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffEx= traActionLib.inf b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeC= offExtraActionLib.inf index 86ca85b437..1cc70e961c 100644 --- a/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActi= onLib.inf +++ b/EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActi= onLib.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/PeiEmuPeCoff= GetEntryPointLib.c b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEm= uPeCoffGetEntryPointLib.c index fd756b5594..27e13e2fee 100644 --- a/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntr= yPointLib.c +++ b/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntr= yPointLib.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 z= ero if not a valid iamge +=C2=A0 @return=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Machine type or z= ero 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 H= eader +=C2=A0 =C2=A0 =C2=A0 // For unknown Machine field, use Magic in optional = Header // 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 thi= s lib can be linked with PEI Core. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTab= lePointer.c b/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTab= lePointer.c index d9d37bf8af..bd49f87fdd 100644 --- a/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePoint= er.c +++ b/EmulatorPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePoint= er.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 dr= iver. diff --git a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiSe= rvicesTablePointer.c b/EmulatorPkg/Library/PeiServicesTablePointerLibMagicP= age/PeiServicesTablePointer.c index 9d6e1dfd8a..d7d8440337 100644 --- a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesT= ablePointer.c +++ b/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesT= ablePointer.c @@ -3,10 +3,10 @@ Store PEI Services Table pointer via gEmulatorPkgTokenSpaceGuid.PcdPeiServ= icesTablePage. This emulates a platform SRAM. The PI mechaism does not work in the emulat= or 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/PeiSe= rvicesTablePointerLibMagicPage.inf b/EmulatorPkg/Library/PeiServicesTablePo= interLibMagicPage/PeiServicesTablePointerLibMagicPage.inf index 96f642784f..bf39b3fd9c 100644 --- a/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesT= ablePointerLibMagicPage.inf +++ b/EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesT= ablePointerLibMagicPage.inf @@ -3,7 +3,7 @@ # #=C2=A0 Store PEI Services Table pointer via gEmulatorPkgTokenSpaceGuid.Pc= dPeiServicesTablePage. #=C2=A0 This emulates a platform SRAM. The PI mechaism does not work in th= e 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/Emulato= rPkg/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/Libra= ry/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 reser= ved.
+Portions Copyright (c) 2006 - 2012, Intel Corporation. All rights reserve= d.
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 re= cord that contains the string. -=C2=A0 @param[in[=C2=A0 =C2=A0 StringNumber=C2=A0 =C2=A0 Instance of SMBI= OS string 1 - N. +=C2=A0 @param[in]=C2=A0 =C2=A0 StringNumber=C2=A0 =C2=A0 Instance of SMBI= OS 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= =A0Pointer 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 Instan= ce of SMBIOS record 0 - N-1. +=C2=A0 @param[in]=C2=A0 =C2=A0 Instance=C2=A0 =C2=A0 =C2=A0 =C2=A0 Instan= ce of SMBIOS record 0 - N-1. @param[out]=C2=A0 =C2=A0SmbiosHandle=C2=A0 =C2=A0 Returns SMBIOS handle fo= r 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. -- 2.20.1 (Apple Git-117) --20EnZVwvgBjqbSRrXrup 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/Library/DxeEmuLib/DxeEmuLib.c      &= nbsp;          | 2 +-
 .../DxeEmuPeCoffExtraActionLib.c        &nb= sp;                 | 2 +-
 .../DxeEmuPeCoffExtraActionLib.inf        &= nbsp;               | 2 +-
 .../Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.c  &nb= sp;  | 8 ++++----
 .../DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.c | 2 += -
 .../GuardUefiMemoryAllocationLib/MemoryAllocationLib.c  &n= bsp; | 6 +++---
 .../PeiEmuPeCoffExtraActionLib.c        &nb= sp;                 | 2 +-
 .../PeiEmuPeCoffExtraActionLib.inf        &= nbsp;               | 2 +-
 .../PeiEmuPeCoffGetEntryPointLib.c        &= nbsp;               | 4 ++--
 .../Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.c  &nb= sp;  | 2 +-
 .../PeiServicesTablePointerLib/PeiServicesTablePointer.c  = | 4 ++--
 .../PeiServicesTablePointer.c         =                    | 4 += +--
 .../PeiServicesTablePointerLibMagicPage.inf     =          | 2 +-
 EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf   = ;    | 2 +-
 EmulatorPkg/Library/SmbiosLib/SmbiosLib.c      &= nbsp;          | 8 ++++----
 15 files changed, 26 insertions(+), 26 deletions(-)
 
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.
-- 
2.20.1 (Apple Git-117)
 
--20EnZVwvgBjqbSRrXrup--