<div>Fix various typos in EmulatorPkg.</div>
<div> </div>
<div>Contributed-under: TianoCore Contribution Agreement 1.1</div>
<div>Signed-off-by: Coeur <coeur@gmx.fr></div>
<div>---</div>
<div> .../EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c | 2 +-</div>
<div> EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c | 10 +++++-----</div>
<div> EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c | 2 +-</div>
<div> .../FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf | 4 ++--</div>
<div> EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 4 ++--</div>
<div> EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c | 2 +-</div>
<div> EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c | 10 +++++-----</div>
<div> EmulatorPkg/TimerDxe/Timer.c | 2 +-</div>
<div> 8 files changed, 18 insertions(+), 18 deletions(-)</div>
<div> </div>
<div>diff --git a/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c b/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c</div>
<div>index 6cea25b140..a0fddff1f7 100644</div>
<div>--- a/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c</div>
<div>+++ b/EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c</div>
<div>@@ -700,7 +700,7 @@ EmuSimpleFileSystemDriverBindingSupported (</div>
<div> @retval EFI_SUCCESS The device was started.</div>
<div> @retval EFI_DEVICE_ERROR The device could not be started due to a device error.Currently not implemented.</div>
<div> @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.</div>
<div>- @retval Others The driver failded to start the device.</div>
<div>+ @retval Others The driver failed to start the device.</div>
<div> </div>
<div> **/</div>
<div> EFI_STATUS</div>
<div>diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c b/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c</div>
<div>index db028c9e92..e47f20fe0e 100644</div>
<div>--- a/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c</div>
<div>+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FWBlockService.c</div>
<div>@@ -137,7 +137,7 @@ Arguments:</div>
<div> returned</div>
<div> Global - Pointer to ESAL_FWB_GLOBAL that contains all</div>
<div> instance data</div>
<div>- FwhInstance - The EFI_FW_VOL_INSTANCE fimrware instance structure</div>
<div>+ FwhInstance - The EFI_FW_VOL_INSTANCE firmware instance structure</div>
<div> Virtual - Whether CPU is in virtual or physical mode</div>
<div> </div>
<div> Returns:</div>
<div>@@ -956,7 +956,7 @@ Routine Description:</div>
<div> Writes data beginning at Lba:Offset from FV. The write terminates either</div>
<div> when *NumBytes of data have been written, or when a block boundary is</div>
<div> reached. *NumBytes is updated to reflect the actual number of bytes</div>
<div>- written. The write opertion does not include erase. This routine will</div>
<div>+ written. The write operation does not include erase. This routine will</div>
<div> attempt to write only the specified bytes. If the writes do not stick,</div>
<div> it will return an error.</div>
<div> </div>
<div>@@ -1004,7 +1004,7 @@ Routine Description:</div>
<div> Reads data beginning at Lba:Offset from FV. The Read terminates either</div>
<div> when *NumBytes of data have been read, or when a block boundary is</div>
<div> reached. *NumBytes is updated to reflect the actual number of bytes</div>
<div>- written. The write opertion does not include erase. This routine will</div>
<div>+ written. The write operation does not include erase. This routine will</div>
<div> attempt to write only the specified bytes. If the writes do not stick,</div>
<div> it will return an error.</div>
<div> </div>
<div>@@ -1185,7 +1185,7 @@ Returns:</div>
<div> //</div>
<div> // Only need to allocate once. There is only one copy of physical memory for</div>
<div> // the private data of each FV instance. But in virtual mode or in physical</div>
<div>- // mode, the address of the the physical memory may be different.</div>
<div>+ // mode, the address of the physical memory may be different.</div>
<div> //</div>
<div> Status = gBS->AllocatePool (</div>
<div> EfiRuntimeServicesData,</div>
<div>@@ -1313,7 +1313,7 @@ Returns:</div>
<div> ASSERT_EFI_ERROR (Status);</div>
<div> } else if (IsDevicePathEnd (TempFwbDevicePath)) {</div>
<div> //</div>
<div>- // Device allready exists, so reinstall the FVB protocol</div>
<div>+ // Device already exists, so reinstall the FVB protocol</div>
<div> //</div>
<div> Status = gBS->HandleProtocol (</div>
<div> FwbHandle,</div>
<div>diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c</div>
<div>index af8f9a9831..386d6e63d8 100644</div>
<div>--- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c</div>
<div>+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbInfo.c</div>
<div>@@ -81,7 +81,7 @@ EFI_FVB_MEDIA_INFO mPlatformFvbMediaInfo[] = {</div>
<div> }</div>
<div> },</div>
<div> //</div>
<div>- // Systen NvStorage FVB</div>
<div>+ // System NvStorage FVB</div>
<div> //</div>
<div> {</div>
<div> FixedPcdGet32 (PcdFlashNvStorageVariableSize) + \</div>
<div>diff --git a/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf b/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf</div>
<div>index 7ef0288275..c117c7ee2b 100644</div>
<div>--- a/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf</div>
<div>+++ b/EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf</div>
<div>@@ -1,7 +1,7 @@</div>
<div> ## @file</div>
<div>-# Component description file for Emu Fimware Volume Block DXE driver module.</div>
<div>+# Component description file for Emu Firmware Volume Block DXE driver module.</div>
<div> #</div>
<div>-# This DXE runtime driver implements and produces the Fimware Volue Block Protocol on</div>
<div>+# This DXE runtime driver implements and produces the Firmware Volue Block Protocol on</div>
<div> # Emu emulator.</div>
<div> # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR></div>
<div> # Portions copyright (c) 2011, Apple Inc. All rights reserved.</div>
<div>diff --git a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c</div>
<div>index e6f8734600..e117fd0fc8 100644</div>
<div>--- a/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c</div>
<div>+++ b/EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.c</div>
<div>@@ -77,7 +77,7 @@ CreatePlatformSmbiosMemoryRecords (</div>
<div> @param ImageHandle Image handle this driver.</div>
<div> @param SystemTable Pointer to SystemTable.</div>
<div> </div>
<div>- @retval EFI_SUCESS This function always complete successfully.</div>
<div>+ @retval EFI_SUCCESS This function always complete successfully.</div>
<div> </div>
<div> **/</div>
<div> EFI_STATUS</div>
<div>@@ -120,7 +120,7 @@ PlatfomrSmbiosDriverEntryPoint (</div>
<div> // Phase 3 - Create tables from scratch</div>
<div> </div>
<div> // Create Type 13 record from EFI Variables</div>
<div>- // Do we need this record for EFI as the info is available from EFI varaibles</div>
<div>+ // Do we need this record for EFI as the info is available from EFI variables</div>
<div> // Also language types don't always match between EFI and SMBIOS</div>
<div> // CreateSmbiosLanguageInformation (1, gSmbiosLangToEfiLang);</div>
<div> </div>
<div>diff --git a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c b/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c</div>
<div>index 11c8e94504..72a0338ca9 100644</div>
<div>--- a/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c</div>
<div>+++ b/EmulatorPkg/PlatformSmbiosDxe/SmbiosTable.c</div>
<div>@@ -10,7 +10,7 @@</div>
<div> System Slots (Type 9) - If system has slots</div>
<div> Physical Memory Array (Type 16)</div>
<div> Memory Device (Type 17) - For each socketed system-memory Device</div>
<div>- Memory Array Mapped Address (Type 19) - One per contiguous block per Physical Memroy Array</div>
<div>+ Memory Array Mapped Address (Type 19) - One per contiguous block per Physical Memory Array</div>
<div> System Boot Information (Type 32)</div>
<div> </div>
<div> Copyright (c) 2012, Apple Inc. All rights reserved.<BR></div>
<div>diff --git a/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c b/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c</div>
<div>index c2f980ddc5..b8582b6d9b 100644</div>
<div>--- a/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c</div>
<div>+++ b/EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.c</div>
<div>@@ -61,7 +61,7 @@ Arguments:</div>
<div> </div>
<div> Returns:</div>
<div> </div>
<div>- EFI_SUCEESS - The underlying GetSystemTime call occurred and returned</div>
<div>+ EFI_SUCCESS - The underlying GetSystemTime call occurred and returned</div>
<div> Note that in the NT32 emulation, the GetSystemTime call has no return value</div>
<div> thus you will always receive a EFI_SUCCESS on this.</div>
<div> </div>
<div>@@ -98,7 +98,7 @@ Arguments:</div>
<div> </div>
<div> Returns:</div>
<div> </div>
<div>- EFI_SUCEESS - The operation completed successfully.</div>
<div>+ EFI_SUCCESS - The operation completed successfully.</div>
<div> </div>
<div> EFI_INVALID_PARAMETER - One of the fields in Time is out of range.</div>
<div> </div>
<div>@@ -145,7 +145,7 @@ Arguments:</div>
<div> </div>
<div> Returns:</div>
<div> </div>
<div>- EFI_SUCEESS - The operation completed successfully.</div>
<div>+ EFI_SUCCESS - The operation completed successfully.</div>
<div> </div>
<div> EFI_DEVICE_ERROR - The operation could not be complete due to a device error.</div>
<div> </div>
<div>@@ -177,7 +177,7 @@ Arguments:</div>
<div> </div>
<div> Returns:</div>
<div> </div>
<div>- EFI_SUCEESS - The operation completed successfully.</div>
<div>+ EFI_SUCCESS - The operation completed successfully.</div>
<div> </div>
<div> EFI_DEVICE_ERROR - The operation could not be complete due to a device error.</div>
<div> </div>
<div>@@ -207,7 +207,7 @@ Arguments:</div>
<div> </div>
<div> Returns:</div>
<div> </div>
<div>- EFI_SUCEESS - Real Time Clock Services are installed into the Runtime Services Table</div>
<div>+ EFI_SUCCESS - Real Time Clock Services are installed into the Runtime Services Table</div>
<div> </div>
<div> **/</div>
<div> {</div>
<div>diff --git a/EmulatorPkg/TimerDxe/Timer.c b/EmulatorPkg/TimerDxe/Timer.c</div>
<div>index dfd92acc8c..8e2baaaa5b 100644</div>
<div>--- a/EmulatorPkg/TimerDxe/Timer.c</div>
<div>+++ b/EmulatorPkg/TimerDxe/Timer.c</div>
<div>@@ -301,7 +301,7 @@ Returns:</div>
<div> </div>
<div> EFI_OUT_OF_RESOURCES - Not enough resources available to initialize driver.</div>
<div> </div>
<div>- EFI_DEVICE_ERROR - A device error occured attempting to initialize the driver.</div>
<div>+ EFI_DEVICE_ERROR - A device error occurred attempting to initialize the driver.</div>
<div> </div>
<div> **/</div>
<div> {</div>
<div>-- </div>
<div>2.20.1 (Apple Git-117)</div>
<div> </div>
<div width="1" style="color:white;clear:both">_._,_._,_</div>
<hr>
Groups.io Links:<p>
You receive all messages sent to this group.
<p>
<a target="_blank" href="https://edk2.groups.io/g/devel/message/43176">View/Reply Online (#43176)</a> |
|
<a target="_blank" href="https://groups.io/mt/32288205/1813853">Mute This Topic</a>
| <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>
<br>
<a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> |
<a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |
<a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>
[edk2-devel-archive@redhat.com]<br>
<div width="1" style="color:white;clear:both">_._,_._,_</div>