Fix various typos in EmulatorPkg.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr>
---
.../EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c | 2 +-
EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c | 10 +++++-----
EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c | 2 +-
.../FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf | 4 ++--
EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 4 ++--
EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c | 2 +-
EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c | 10 +++++-----
EmulatorPkg/TimerDxe/Timer.c | 2 +-
8 files changed, 18 insertions(+), 18 deletions(-)
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 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_RESOURCES The request 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/FvbServicesRuntimeDxe/FWBlockService.c b/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c
index db028c9e92..e47f20fe0e 100644
--- a/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c
+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c
@@ -137,7 +137,7 @@ Arguments:
returned
Global - 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 terminates either
when *NumBytes of data have been written, or when a block boundary is
reached. *NumBytes is updated to reflect the actual number of bytes
- written. The write opertion does not include erase. This routine will
+ written. The write operation does not include erase. This routine 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 terminates either
when *NumBytes of data have been read, or when a block boundary is
reached. *NumBytes is updated to reflect the actual number of bytes
- written. The write opertion does not include erase. This routine will
+ written. The write operation does not include erase. This routine 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 different.
+ // mode, the address of the physical memory may be different.
//
Status = 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 = gBS->HandleProtocol (
FwbHandle,
diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c b/EmulatorPkg/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[] = {
}
},
//
- // 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 driver 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 reserved.<BR>
# Portions copyright (c) 2011, Apple Inc. All rights reserved.
diff --git a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/EmulatorPkg/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 SystemTable.
- @retval EFI_SUCESS This function always complete successfully.
+ @retval EFI_SUCCESS This function always complete 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 from EFI varaibles
+ // 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/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 system-memory Device
- Memory Array Mapped Address (Type 19) - One per contiguous block per Physical Memroy Array
+ Memory Array Mapped Address (Type 19) - One per contiguous block per Physical Memory Array
System Boot Information (Type 32)
Copyright (c) 2012, Apple Inc. All rights reserved.<BR>
diff --git a/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c b/EmulatorPkg/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 occurred and returned
+ EFI_SUCCESS - The underlying GetSystemTime call occurred 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 operation completed successfully.
+ EFI_SUCCESS - The operation completed successfully.
EFI_INVALID_PARAMETER - One of the fields in Time is out of range.
@@ -145,7 +145,7 @@ Arguments:
Returns:
- EFI_SUCEESS - The operation completed successfully.
+ EFI_SUCCESS - The operation completed successfully.
EFI_DEVICE_ERROR - The operation could not be complete due to a device error.
@@ -177,7 +177,7 @@ Arguments:
Returns:
- EFI_SUCEESS - The operation completed successfully.
+ EFI_SUCCESS - The operation completed successfully.
EFI_DEVICE_ERROR - The operation could 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/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 - Not enough resources available to initialize driver.
- EFI_DEVICE_ERROR - A device error occured attempting to initialize the driver.
+ EFI_DEVICE_ERROR - A device error occurred attempting to initialize the driver.
**/
{
--
2.20.1 (Apple Git-117)