From nobody Sat Feb 7 06:21:30 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52740+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52740+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578042517; cv=none; d=zohomail.com; s=zohoarc; b=Fa9EGX2K2S8PVlzXuvRqzsslk/Di2nyNrzlKLLABW3E+vYEEjxwSrm+jotwAnKQqkH86ze7ljWqOBWc6JhInTLCISy/ThuXCs8sWG+nwfyd4GpcIF9tuS8hd16Xksw78B0DNEnGYfYtl6yLb9MwMkpeSouAkOvAAPuMCv8AoIiM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578042517; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=8NB1bYl9HgbkGAlILZLwA0EXYHoueOkLDtAbL+9U9mQ=; b=Y2kA/g1/apI1lluqFUdjXjgJzIgmk0W3MKAcS/lFWL6/QDvt66Rpmzt0N/k2m7WphrjdRIzD1AR0EQciaK6Fyg6oP5ZCGSokz+t/c1v7XW7mKlkpyQzB/3Kz4iqEi3KeHA9lIIcrvMJH3mK9uh38+SaRMwbe5fEJk0Dl3f2GmO8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52740+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578042517670139.52512313487284; Fri, 3 Jan 2020 01:08:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id uGOXYY1788612xyWQMDXVCmu; Fri, 03 Jan 2020 01:08:37 -0800 X-Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web11.1825.1578042516516665643 for ; Fri, 03 Jan 2020 01:08:36 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-400-1WQFnChGPcC3OZ5YAY-6zA-1; Fri, 03 Jan 2020 04:08:34 -0500 X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AC2C110054E3; Fri, 3 Jan 2020 09:08:32 +0000 (UTC) X-Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2072D7BA25; Fri, 3 Jan 2020 09:08:30 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Jordan Justen , Andrew Fish , Ray Ni , Philippe Mathieu-Daude Subject: [edk2-devel] [PATCH v2 06/78] EmulatorPkg/Win: Fix various typos Date: Fri, 3 Jan 2020 10:07:00 +0100 Message-Id: <20200103090812.10592-7-philmd@redhat.com> In-Reply-To: <20200103090812.10592-1-philmd@redhat.com> References: <20200103090812.10592-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: 1WQFnChGPcC3OZ5YAY-6zA-1 X-Mimecast-Spam-Score: 0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,philmd@redhat.com X-Gm-Message-State: FtgEyBdmADG56N1q4rLlqnJ8x1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578042517; bh=raab7L/c9f1VKZIfKIZIX+Fk+sGyzXAf+lSTUmxsPTU=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=mWIEKkfERYoQraCIbeVuQ4aOxdS6cQFYYw/qeFWgeLhm9oivSQ/SwYkFVKimphIZmue B56b6+ca+WDlxD1zSLAVtXvbHQBVWQ7uuyMZFjiXADpfwHeUocvlVC0aPDQCGyX2pWOk9 K02ZuQowCQS8yiGnl/HSh4VV+IEjlX8lO+g= X-ZohoMail-DKIM: pass (identity @groups.io) From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- EmulatorPkg/Win/Host/WinGop.h | 2 +- EmulatorPkg/Win/Host/WinHost.h | 2 +- EmulatorPkg/Win/Host/WinBlockIo.c | 4 ++-- EmulatorPkg/Win/Host/WinFileSystem.c | 2 +- EmulatorPkg/Win/Host/WinGopInput.c | 4 ++-- EmulatorPkg/Win/Host/WinGopScreen.c | 14 +++++++------- EmulatorPkg/Win/Host/WinHost.c | 10 +++++----- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/EmulatorPkg/Win/Host/WinGop.h b/EmulatorPkg/Win/Host/WinGop.h index 5943ca93b22f..7a8f01a37c92 100644 --- a/EmulatorPkg/Win/Host/WinGop.h +++ b/EmulatorPkg/Win/Host/WinGop.h @@ -78,7 +78,7 @@ typedef struct { UINT32 Width; UINT32 Height; // - // This screen is used to redraw the scree when windows events happen. I= t's + // This screen is used to redraw the screen when windows events happen. = It's // updated in the main thread and displayed in the windows thread. // BITMAPV4HEADER *VirtualScreenInfo; diff --git a/EmulatorPkg/Win/Host/WinHost.h b/EmulatorPkg/Win/Host/WinHost.h index 185d864986ff..0e52c003fc63 100644 --- a/EmulatorPkg/Win/Host/WinHost.h +++ b/EmulatorPkg/Win/Host/WinHost.h @@ -82,7 +82,7 @@ Arguments: SecCorePe32File - SEC Core PE32 =20 Returns: - Success means control is transfered and thus we should never return + Success means control is transferred and thus we should never return =20 --*/ ; diff --git a/EmulatorPkg/Win/Host/WinBlockIo.c b/EmulatorPkg/Win/Host/WinBl= ockIo.c index 5ccd17388ea8..715d0c26cdbc 100644 --- a/EmulatorPkg/Win/Host/WinBlockIo.c +++ b/EmulatorPkg/Win/Host/WinBlockIo.c @@ -346,7 +346,7 @@ WinNtBlockIoReadBlocks ( 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 d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing 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 n= ot valid, @@ -411,7 +411,7 @@ WinNtBlockIoWriteBlocks ( @retval EFI_SUCCESS The flush request was queued if Event is no= t 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/Win/Host/WinFileSystem.c b/EmulatorPkg/Win/Host/Wi= nFileSystem.c index aab926889e0a..f6b06b1c9204 100644 --- a/EmulatorPkg/Win/Host/WinFileSystem.c +++ b/EmulatorPkg/Win/Host/WinFileSystem.c @@ -391,7 +391,7 @@ GetNextFileNameToken ( If FileName contains only a single L'\', return TRUE. If FileName contains two adjacent L'\', return FALSE. If FileName conatins L'/' , return FALSE. - If FielName contains more than two dots seperated with other FileName ch= aracters + If FileName contains more than two dots separated with other FileName ch= aracters by L'\', return FALSE. For example, L'.\...\filename.txt' is invalid pat= h name. But L'..TwoDots\filename.txt' is valid path name. =20 @param FileName The File Name String to check. diff --git a/EmulatorPkg/Win/Host/WinGopInput.c b/EmulatorPkg/Win/Host/WinG= opInput.c index 312a549847c5..6ae7aa4c371b 100644 --- a/EmulatorPkg/Win/Host/WinGopInput.c +++ b/EmulatorPkg/Win/Host/WinGopInput.c @@ -300,7 +300,7 @@ WinNtWndGetKey ( =20 Routine Description: Reads the next keystroke from the input device. The WaitForKey Event c= an - be used to test for existance of a keystroke via WaitForEvent () call. + be used to test for existence of a keystroke via WaitForEvent () call. =20 Arguments: Private - The private structure of WinNt Gop device. @@ -309,7 +309,7 @@ WinNtWndGetKey ( =20 Returns: EFI_SUCCESS - The keystroke information was returned. - EFI_NOT_READY - There was no keystroke data availiable. + EFI_NOT_READY - There was no keystroke data available. EFI_DEVICE_ERROR - The keystroke information was not returned due= to hardware errors. EFI_INVALID_PARAMETER - KeyData is NULL. diff --git a/EmulatorPkg/Win/Host/WinGopScreen.c b/EmulatorPkg/Win/Host/Win= GopScreen.c index fa34596497f8..74011e225e30 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 vid= eo memory @param BltBuffer Buffer containing data to blt into video = buffer. This buffer has a size of @@ -311,7 +311,7 @@ WinNtWndSize ( =20 @retval EFI_SUCCESS The palette is updated with PaletteArray. @retval EFI_INVALID_PARAMETER BltOperation is not valid. - @retval EFI_DEVICE_ERROR A hardware error occured writting to the = video + @retval EFI_DEVICE_ERROR A hardware error occurred writing to the = video buffer. =20 **/ @@ -593,11 +593,11 @@ WinNtGopThreadWindowProc ( =20 =20 /** - This thread simulates the end of WinMain () aplication. Each Winow nededs - to process it's events. The messages are dispatched to + This thread simulates the end of WinMain () application. Each Window nee= ds + to process its events. The messages are dispatched to WinNtGopThreadWindowProc (). - Be very careful sine WinNtGopThreadWinMain () and WinNtGopThreadWindowPr= oc () - are running in a seperate thread. We have to do this to process the even= ts. + Be very careful since WinNtGopThreadWinMain () and WinNtGopThreadWindowP= roc () + are running in a separate thread. We have to do this to process the even= ts. =20 @param lpParameter Handle of window to manage. =20 @@ -679,7 +679,7 @@ WinNtGopThreadWinMain ( ); =20 // - // The reset of this thread is the standard winows program. We need a sp= erate + // The reset of this thread is the standard windows program. We need a s= eparate // thread since we must process the message loop to make windows act like // windows. // diff --git a/EmulatorPkg/Win/Host/WinHost.c b/EmulatorPkg/Win/Host/WinHost.c index 62a89f7617af..cfee156b27b4 100644 --- a/EmulatorPkg/Win/Host/WinHost.c +++ b/EmulatorPkg/Win/Host/WinHost.c @@ -48,7 +48,7 @@ UINTN gFdInfoCount = =3D 0; NT_FD_INFO *gFdInfo; =20 // -// Array that supports seperate memory rantes. +// Array that supports separate memory ranges. // The memory ranges are set by PcdWinNtMemorySizeForSecMain. // The number of array elements is allocated base on parsing // PcdWinNtMemorySizeForSecMain value and the memory is never freed. @@ -105,7 +105,7 @@ WinPeiAutoScan ( =20 Routine Description: Return the FD Size and base address. Since the FD is loaded from a - file into host memory only the SEC will know it's address. + file into host memory only the SEC will know its address. =20 Arguments: Index - Which FD, starts at zero. @@ -273,7 +273,7 @@ Arguments: Returns: EFI_SUCCESS - The file was opened and mapped. EFI_NOT_FOUND - FileName was not found in the current directory - EFI_DEVICE_ERROR - An error occured attempting to map the opened file + EFI_DEVICE_ERROR - An error occurred attempting to map the opened file =20 --*/ { @@ -625,7 +625,7 @@ Arguments: SecCorePe32File - SEC Core PE32 =20 Returns: - Success means control is transfered and thus we should never return + Success means control is transferred and thus we should never return =20 --*/ { @@ -993,7 +993,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 abo= ve), - // 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. // =20 DllEntryPoint =3D NULL; --=20 2.21.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52740): https://edk2.groups.io/g/devel/message/52740 Mute This Topic: https://groups.io/mt/69395707/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-