Fix various typos in EmulatorPkg.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr>
---
EmulatorPkg/Include/Library/EmuThunkLib.h | 2 +-
EmulatorPkg/Include/Library/SmbiosLib.h | 12 ++++++------
EmulatorPkg/Include/Protocol/EmuBlockIo.h | 6 +++---
EmulatorPkg/Include/Protocol/EmuGraphicsWindow.h | 2 +-
EmulatorPkg/Include/Protocol/EmuSnp.h | 4 ++--
EmulatorPkg/Include/Protocol/EmuThunk.h | 4 ++--
EmulatorPkg/Win/Host/WinGopScreen.c | 2 +-
EmulatorPkg/Win/Host/WinHost.c | 2 +-
8 files changed, 17 insertions(+), 17 deletions(-)
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
+ Search the EMU IO Thunk database for a matching EMU IO Thunk
Protocol instance.
@param Protocol Protocol 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 reserved.<BR>
+Portions Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<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 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] 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 Instance of Type SMBIOS string was not found.
@retval Other Pointer to matching SMBIOS string.
@@ -157,10 +157,10 @@ SmbiosLibReadString (
/**
- Allow the caller to discover a specific SMBIOS entry, and patch it if necissary.
+ Allow the caller to discover a specific SMBIOS entry, and patch it if necessary.
@param[in] Type Type of the next SMBIOS record to return.
- @param[in[ Instance Instance of SMBIOS record 0 - N-1.
+ @param[in] Instance Instance of SMBIOS record 0 - N-1.
@param[out] SmbiosHandle Returns SMBIOS handle for the matching record.
@retval NULL 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 EMU_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 verfication operation of the device
+ exhaustive verification operation of the device
during reset.
@retval EFI_SUCCESS The device was reset.
@@ -109,7 +109,7 @@ EFI_STATUS
the Event is NULL.
@retval EFI_WRITE_PROTECTED The device can not be written to.
@retval EFI_NO_MEDIA There 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 not 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 The 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 reported an error while writting back
+ @retval EFI_DEVICE_ERROR The device reported an error while writing back
the data.
@retval EFI_WRITE_PROTECTED The device cannot be written to.
@retval EFI_NO_MEDIA There 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.<BR>
-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/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 reserved.<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 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 \
{ 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 abstract 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 seperated via a ! in the string.
+ single PCD string. The data associated for each instance is separated via a ! in the string.
EMU_IO_THUNK_PROTOCOL_CLOSE.ConfigString will contain the information in the PCD string up to the next !.
Thus each instance has a unique ConfigString.
diff --git a/EmulatorPkg/Win/Host/WinGopScreen.c b/EmulatorPkg/Win/Host/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 Width of BltBuffer.
- @param Height Hight of BltBuffer
+ @param Height Height of BltBuffer
@param BltOperation Operation to perform on BltBuffer and video memory
@param BltBuffer Buffer containing data to blt into video buffer.
This 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 (
// the *.dll file as a library using Windows* APIs. This allows
// source level debug. The image is still loaded and relocated
// in the Framework memory space like on a real system (by the code above),
- // but the entry point points into the DLL loaded by the code bellow.
+ // but the entry point points into the DLL loaded by the code below.
//
DllEntryPoint = NULL;
--
2.20.1 (Apple Git-117)