<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> EmulatorPkg/Unix/GdbRun.sh                   |  4 ++--</div>
<div> EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c |  2 +-</div>
<div> EmulatorPkg/Unix/Host/BlockIo.c              | 12 ++++++------</div>
<div> EmulatorPkg/Unix/Host/EmuThunk.c             |  2 +-</div>
<div> EmulatorPkg/Unix/lldbefi.py                  | 14 +++++++-------</div>
<div> 5 files changed, 17 insertions(+), 17 deletions(-)</div>
<div> </div>
<div>diff --git a/EmulatorPkg/Unix/GdbRun.sh b/EmulatorPkg/Unix/GdbRun.sh</div>
<div>index 8c761ff2c9..b050ad5e2c 100644</div>
<div>--- a/EmulatorPkg/Unix/GdbRun.sh</div>
<div>+++ b/EmulatorPkg/Unix/GdbRun.sh</div>
<div>@@ -62,8 +62,8 @@ define RemoveFirmwareSymbolFile</div>
<div> end</div>
<div> </div>
<div> if gInXcode == 1</div>
<div>-  # in Xcode the program is already runing. Issuing a run command</div>
<div>-  # will cause a fatal debugger error. The break point sciprt that</div>
<div>+  # in Xcode the program is already running. Issuing a run command</div>
<div>+  # will cause a fatal debugger error. The break point script that</div>
<div>   # is used to source this script sets gInCode to 1.</div>
<div> else</div>
<div>   #</div>
<div>diff --git a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c b/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c</div>
<div>index e318a90740..dcc315ac72 100644</div>
<div>--- a/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c</div>
<div>+++ b/EmulatorPkg/Unix/Host/BerkeleyPacketFilter.c</div>
<div>@@ -5,7 +5,7 @@</div>
<div>  Tested on Mac OS X.</div>
<div> </div>
<div> Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR></div>
<div>-Portitions copyright (c) 2011, Apple Inc. All rights reserved.</div>
<div>+Portions copyright (c) 2011, Apple Inc. All rights reserved.</div>
<div> </div>
<div> SPDX-License-Identifier: BSD-2-Clause-Patent</div>
<div> </div>
<div>diff --git a/EmulatorPkg/Unix/Host/BlockIo.c b/EmulatorPkg/Unix/Host/BlockIo.c</div>
<div>index 07e39347e4..18368060d5 100644</div>
<div>--- a/EmulatorPkg/Unix/Host/BlockIo.c</div>
<div>+++ b/EmulatorPkg/Unix/Host/BlockIo.c</div>
<div>@@ -398,7 +398,7 @@ EmuBlockIoReadBlocks (</div>
<div> Done:</div>
<div>   if (Token != NULL) {</div>
<div>     if (Token->Event != NULL) {</div>
<div>-      // Caller is responcible for signaling EFI Event</div>
<div>+      // Caller is responsible for signaling EFI Event</div>
<div>       Token->TransactionStatus = Status;</div>
<div>       return EFI_SUCCESS;</div>
<div>     }</div>
<div>@@ -429,7 +429,7 @@ Done:</div>
<div>                                 the Event is NULL.</div>
<div>   @retval EFI_WRITE_PROTECTED   The device can not be written to.</div>
<div>   @retval EFI_NO_MEDIA          There is no media in the device.</div>
<div>-  @retval EFI_MEDIA_CHNAGED     The MediaId does not matched the current device.</div>
<div>+  @retval EFI_MEDIA_CHANGED     The MediaId does not match the current device.</div>
<div>   @retval EFI_DEVICE_ERROR      The device reported an error while performing the write.</div>
<div>   @retval EFI_BAD_BUFFER_SIZE   The Buffer was not a multiple of the block size of the device.</div>
<div>   @retval EFI_INVALID_PARAMETER The write request contains LBAs that are not valid,</div>
<div>@@ -477,7 +477,7 @@ EmuBlockIoWriteBlocks (</div>
<div> Done:</div>
<div>   if (Token != NULL) {</div>
<div>     if (Token->Event != NULL) {</div>
<div>-      // Caller is responcible for signaling EFI Event</div>
<div>+      // Caller is responsible for signaling EFI Event</div>
<div>       Token->TransactionStatus = Status;</div>
<div>       return EFI_SUCCESS;</div>
<div>     }</div>
<div>@@ -500,7 +500,7 @@ Done:</div>
<div>   @retval EFI_SUCCESS          The flush request was queued if Event is not NULL.</div>
<div>                                All outstanding data was written correctly to the</div>
<div>                                device if the Event is NULL.</div>
<div>-  @retval EFI_DEVICE_ERROR     The device reported an error while writting back</div>
<div>+  @retval EFI_DEVICE_ERROR     The device reported an error while writing back</div>
<div>                                the data.</div>
<div>   @retval EFI_WRITE_PROTECTED  The device cannot be written to.</div>
<div>   @retval EFI_NO_MEDIA         There is no media in the device.</div>
<div>@@ -529,7 +529,7 @@ EmuBlockIoFlushBlocks (</div>
<div> </div>
<div>   if (Token != NULL) {</div>
<div>     if (Token->Event != NULL) {</div>
<div>-      // Caller is responcible for signaling EFI Event</div>
<div>+      // Caller is responsible for signaling EFI Event</div>
<div>       Token->TransactionStatus = EFI_SUCCESS;</div>
<div>       return EFI_SUCCESS;</div>
<div>     }</div>
<div>@@ -544,7 +544,7 @@ EmuBlockIoFlushBlocks (</div>
<div> </div>
<div>   @param[in]  This                 Indicates a pointer to the calling context.</div>
<div>   @param[in]  ExtendedVerification Indicates that the driver may perform a more</div>
<div>-                                   exhausive verfication operation of the device</div>
<div>+                                   exhaustive verification operation of the device</div>
<div>                                    during reset.</div>
<div> </div>
<div>   @retval EFI_SUCCESS          The device was reset.</div>
<div>diff --git a/EmulatorPkg/Unix/Host/EmuThunk.c b/EmulatorPkg/Unix/Host/EmuThunk.c</div>
<div>index f1330c8234..b831c67946 100644</div>
<div>--- a/EmulatorPkg/Unix/Host/EmuThunk.c</div>
<div>+++ b/EmulatorPkg/Unix/Host/EmuThunk.c</div>
<div>@@ -6,7 +6,7 @@</div>
<div>   The mUnixThunkTable exists so that a change to EFI_EMU_THUNK_PROTOCOL</div>
<div>   will cause an error in initializing the array if all the member functions</div>
<div>   are not added. It looks like adding a element to end and not initializing</div>
<div>-  it may cause the table to be initaliized with the members at the end being</div>
<div>+  it may cause the table to be initialized with the members at the end being</div>
<div>   set to zero. This is bad as jumping to zero will crash.</div>
<div> </div>
<div> Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR></div>
<div>diff --git a/EmulatorPkg/Unix/lldbefi.py b/EmulatorPkg/Unix/lldbefi.py</div>
<div>index 218326b8cb..f3e35865c2 100755</div>
<div>--- a/EmulatorPkg/Unix/lldbefi.py</div>
<div>+++ b/EmulatorPkg/Unix/lldbefi.py</div>
<div>@@ -1,7 +1,7 @@</div>
<div> #!/usr/bin/python</div>
<div> </div>
<div> #</div>
<div>-#  Copyright 2014 Apple Inc. All righes reserved.</div>
<div>+#  Copyright 2014 Apple Inc. All rights reserved.</div>
<div> #</div>
<div> #  SPDX-License-Identifier: BSD-2-Clause-Patent</div>
<div> #</div>
<div>@@ -278,7 +278,7 @@ def EFI_DEVICE_PATH_PROTOCOL_TypeSummary (valobj,internal_dict):</div>
<div> </div>
<div>     Address = long ("%d" % valobj.addr)</div>
<div>     if (Address == lldb.LLDB_INVALID_ADDRESS):</div>
<div>-      # Need to reserach this, it seems to be the nested struct case</div>
<div>+      # Need to research this, it seems to be the nested struct case</div>
<div>       ExprStr = ""</div>
<div>     elif (Type & 0x7f == 0x7f):</div>
<div>       ExprStr = "End Device Path" if SubType == 0xff else "End This Instance"</div>
<div>@@ -304,7 +304,7 @@ def EFI_DEVICE_PATH_PROTOCOL_TypeSummary (valobj,internal_dict):</div>
<div> </div>
<div> def TypePrintFormating(debugger):</div>
<div>     #</div>
<div>-    # Set the default print formating for EFI types in lldb.</div>
<div>+    # Set the default print formatting for EFI types in lldb.</div>
<div>     # seems lldb defaults to decimal.</div>
<div>     #</div>
<div>     category = debugger.GetDefaultCategory()</div>
<div>@@ -384,7 +384,7 @@ def LoadEmulatorEfiSymbols(frame, bp_loc , internal_dict):</div>
<div>     FileName = frame.thread.process.ReadCStringFromMemory (FileNamePtr, FileNameLen, Error)</div>
<div>     if not Error.Success():</div>
<div>         print "!ReadCStringFromMemory() did not find a %d byte C string at %x" % (FileNameLen, FileNamePtr)</div>
<div>-        # make breakpoint command contiue</div>
<div>+        # make breakpoint command continue</div>
<div>         frame.GetThread().GetProcess().Continue()</div>
<div> </div>
<div>     debugger = frame.thread.process.target.debugger</div>
<div>@@ -404,12 +404,12 @@ def LoadEmulatorEfiSymbols(frame, bp_loc , internal_dict):</div>
<div>                 if not target.RemoveModule (SBModule):</div>
<div>                     print "!lldb.target.RemoveModule (%s) FAILED" % SBModule</div>
<div> </div>
<div>-    # make breakpoint command contiue</div>
<div>+    # make breakpoint command continue</div>
<div>     frame.thread.process.Continue()</div>
<div> </div>
<div> def GuidToCStructStr (guid, Name=False):</div>
<div>   #</div>
<div>-  # Convert a 16-byte bytesarry (or bytearray compat object) to C guid string</div>
<div>+  # Convert a 16-byte bytesarray (or bytearray compat object) to C guid string</div>
<div>   # { 0xB402621F, 0xA940, 0x1E4A, { 0x86, 0x6B, 0x4D, 0xC9, 0x16, 0x2B, 0x34, 0x7C } }</div>
<div>   #</div>
<div>   # Name=True means lookup name in GuidNameDict and us it if you find it</div>
<div>@@ -516,7 +516,7 @@ def __lldb_init_module (debugger, internal_dict):</div>
<div>             if len(data) >= 2:</div>
<div>                 guid_dict[data[0].upper()] = data[1].strip('\n')</div>
<div> </div>
<div>-    # init EFI specific type formaters</div>
<div>+    # init EFI specific type formatters</div>
<div>     TypePrintFormating (debugger)</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/43180">View/Reply Online (#43180)</a> |


  


|


  
    <a target="_blank" href="https://groups.io/mt/32288246/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>