From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web12.2001.1578044501000567660 for ; Fri, 03 Jan 2020 01:41:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LtMEj21g; spf=pass (domain: redhat.com, ip: 205.139.110.120, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578044500; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6jlukt1F7SG6QNjeIsjB9SiWvl73xA/KraxQeWmVIHI=; b=LtMEj21gcLVN29jBmKq6BNUY8VPpAq0hjLkrn+CcWTtAc4ce66vQARfZOfVZMjWLgs9gy5 HvPyS6bqwxSrI2biH3x9aJgk5cwLIXRjoB5/ac8D1gTL6y79+k282ET9Y/yy/Nv7ybimFZ NHTeFqgGBe+ZPjm/RvTgqj5ELxWgWDM= 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-216-kPtL8_cwOYyN1BhCAG3xLQ-1; Fri, 03 Jan 2020 04:41:38 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 77129100550E; Fri, 3 Jan 2020 09:41:37 +0000 (UTC) Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 325F260C18; Fri, 3 Jan 2020 09:41:35 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Anthony Perard , Julien Grall , Philippe Mathieu-Daude Subject: [PATCH v2 60/78] OvmfPkg/Xen: Fix various typos Date: Fri, 3 Jan 2020 10:07:54 +0100 Message-Id: <20200103090812.10592-61-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.12 X-MC-Unique: kPtL8_cwOYyN1BhCAG3xLQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix various typos in comments and documentation. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Anthony Perard Cc: Julien Grall Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- OvmfPkg/Include/IndustryStandard/Xen/arch-arm/xen.h | 2 +- OvmfPkg/Include/IndustryStandard/Xen/grant_table.h | 4 ++-- OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h | 2 +- OvmfPkg/Include/Protocol/XenBus.h | 4 ++-- OvmfPkg/Include/Protocol/XenIo.h | 2 +- OvmfPkg/XenBusDxe/DriverBinding.h | 2 +- OvmfPkg/XenBusDxe/EventChannel.h | 2 +- OvmfPkg/XenBusDxe/GrantTable.h | 2 +- OvmfPkg/XenPvBlkDxe/BlockIo.h | 6 +++--- OvmfPkg/XenPvBlkDxe/DriverBinding.h | 2 +- OvmfPkg/Library/PciHostBridgeLib/XenSupport.c | 4 ++-- .../XenConsoleSerialPortLib/XenConsoleSerialPortLib.c | 6 +++--- OvmfPkg/XenBusDxe/XenBus.c | 2 +- OvmfPkg/XenBusDxe/XenBusDxe.c | 6 +++--- OvmfPkg/XenBusDxe/XenStore.c | 4 ++-- OvmfPkg/XenPvBlkDxe/BlockFront.c | 2 +- OvmfPkg/XenPvBlkDxe/BlockIo.c | 8 ++++---- OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.c | 2 +- 18 files changed, 31 insertions(+), 31 deletions(-) diff --git a/OvmfPkg/Include/IndustryStandard/Xen/arch-arm/xen.h b/OvmfPkg/= Include/IndustryStandard/Xen/arch-arm/xen.h index a394f8d85a5d..36338d063a9d 100644 --- a/OvmfPkg/Include/IndustryStandard/Xen/arch-arm/xen.h +++ b/OvmfPkg/Include/IndustryStandard/Xen/arch-arm/xen.h @@ -96,7 +96,7 @@ * All generic sub-operations * * HYPERVISOR_physdev_op - * No sub-operations are currenty supported + * No sub-operations are currently supported * * HYPERVISOR_sysctl * All generic sub-operations, with the exception of: diff --git a/OvmfPkg/Include/IndustryStandard/Xen/grant_table.h b/OvmfPkg/I= nclude/IndustryStandard/Xen/grant_table.h index da8d6c2705f0..54af1dbc383c 100644 --- a/OvmfPkg/Include/IndustryStandard/Xen/grant_table.h +++ b/OvmfPkg/Include/IndustryStandard/Xen/grant_table.h @@ -365,7 +365,7 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_unmap_grant_ref_t); /* * GNTMAP_contains_pte subflag: * 0 =3D> This map request contains a host virtual address. - * 1 =3D> This map request contains the machine addess of the PTE to upd= ate. + * 1 =3D> This map request contains the machine address of the PTE to up= date. */ #define _GNTMAP_contains_pte (4) #define GNTMAP_contains_pte (1<<_GNTMAP_contains_pte) @@ -386,7 +386,7 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_unmap_grant_ref_t); /* ` enum grant_status { */ #define GNTST_okay (0) /* Normal return. = */ #define GNTST_general_error (-1) /* General undefined error. = */ -#define GNTST_bad_domain (-2) /* Unrecognsed domain id. = */ +#define GNTST_bad_domain (-2) /* Unrecognised domain id. = */ #define GNTST_bad_gntref (-3) /* Unrecognised or inappropriate gntre= f. */ #define GNTST_bad_handle (-4) /* Unrecognised or inappropriate handl= e. */ #define GNTST_bad_virt_addr (-5) /* Inappropriate virtual address to ma= p. */ diff --git a/OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h b/OvmfPkg/Incl= ude/IndustryStandard/Xen/io/blkif.h index ff8e77589f92..5939610a9616 100644 --- a/OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h +++ b/OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h @@ -270,7 +270,7 @@ * access (even when it should be read-only). If the frontend hits th= e * maximum number of allowed persistently mapped grants, it can fallb= ack * to non persistent mode. This will cause a performance degradation, - * since the the backend driver will still try to map those grants + * since the backend driver will still try to map those grants * persistently. Since the persistent grants protocol is compatible w= ith * the previous protocol, a frontend driver can choose to work in * persistent mode even when the backend doesn't support it. diff --git a/OvmfPkg/Include/Protocol/XenBus.h b/OvmfPkg/Include/Protocol/X= enBus.h index 8ff5ca357500..0dac9266280f 100644 --- a/OvmfPkg/Include/Protocol/XenBus.h +++ b/OvmfPkg/Include/Protocol/XenBus.h @@ -215,7 +215,7 @@ XENSTORE_STATUS Grant access to the page Frame to the domain DomainId. =20 @param This A pointer to XENBUS_PROTOCOL instance. - @param DomainId ID of the domain to grant acces to. + @param DomainId ID of the domain to grant access to. @param Frame Frame Number of the page to grant access to. @param ReadOnly Provide read-only or read-write access. @param RefPtr Reference number of the grant will be written to this = pointer. @@ -266,7 +266,7 @@ UINT32 Send an event to the remote end of the channel whose local endpoint is P= ort. =20 @param This A pointer to the XENBUS_PROTOCOL. - @param Port Local port to the the event from. + @param Port Local port to the event from. =20 @retval UINT32 The return value from the hypercall, 0 if success. **/ diff --git a/OvmfPkg/Include/Protocol/XenIo.h b/OvmfPkg/Include/Protocol/Xe= nIo.h index 6bea0a02bb3e..f4051ca50729 100644 --- a/OvmfPkg/Include/Protocol/XenIo.h +++ b/OvmfPkg/Include/Protocol/XenIo.h @@ -1,7 +1,7 @@ /** @file XenIo protocol to abstract arch specific details =20 - The Xen implementations for the Intel and ARM archictures differ in the = way + The Xen implementations for the Intel and ARM architectures differ in th= e way the base address of the grant table is communicated to the guest. The fo= rmer uses a virtual PCI device, while the latter uses a device tree node. In order to allow the XenBusDxe UEFI driver to be reused for the non-PCI diff --git a/OvmfPkg/XenBusDxe/DriverBinding.h b/OvmfPkg/XenBusDxe/DriverBi= nding.h index 9b0eb2064461..43ee8aff02ae 100644 --- a/OvmfPkg/XenBusDxe/DriverBinding.h +++ b/OvmfPkg/XenBusDxe/DriverBinding.h @@ -75,7 +75,7 @@ XenBusDxeDriverBindingSupported ( @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. =20 **/ EFI_STATUS diff --git a/OvmfPkg/XenBusDxe/EventChannel.h b/OvmfPkg/XenBusDxe/EventChan= nel.h index 6e98bbe46367..793571fab6d1 100644 --- a/OvmfPkg/XenBusDxe/EventChannel.h +++ b/OvmfPkg/XenBusDxe/EventChannel.h @@ -53,7 +53,7 @@ XenBusEventChannelAllocate ( Send an event to the remote end of the channel whose local endpoint is P= ort. =20 @param This A pointer to the XENBUS_PROTOCOL. - @param Port Local port to the the event from. + @param Port Local port to the event from. =20 @retval UINT32 The return value from the hypercall, 0 if success. **/ diff --git a/OvmfPkg/XenBusDxe/GrantTable.h b/OvmfPkg/XenBusDxe/GrantTable.= h index 2cc889b6433f..0c1e076337e6 100644 --- a/OvmfPkg/XenBusDxe/GrantTable.h +++ b/OvmfPkg/XenBusDxe/GrantTable.h @@ -38,7 +38,7 @@ XenGrantTableDeinit ( Grant access to the page Frame to the domain DomainId. =20 @param This A pointer to XENBUS_PROTOCOL instance. - @param DomainId ID of the domain to grant acces to. + @param DomainId ID of the domain to grant access to. @param Frame Frame Number of the page to grant access to. @param ReadOnly Provide read-only or read-write access. @param RefPtr Reference number of the grant will be written to this = pointer. diff --git a/OvmfPkg/XenPvBlkDxe/BlockIo.h b/OvmfPkg/XenPvBlkDxe/BlockIo.h index 85278c67c02c..1100791183d2 100644 --- a/OvmfPkg/XenPvBlkDxe/BlockIo.h +++ b/OvmfPkg/XenPvBlkDxe/BlockIo.h @@ -20,7 +20,7 @@ @retval EFI_SUCCESS The data was read correctly from the devic= e. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are no= t valid, or the buffer is not on proper alignment. @@ -50,7 +50,7 @@ XenPvBlkDxeBlockIoReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @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_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, or the buffer is not on proper alignment. @@ -72,7 +72,7 @@ XenPvBlkDxeBlockIoWriteBlocks ( @param This Indicates a pointer to the calling context. =20 @retval EFI_SUCCESS All outstanding data was written to the device - @retval EFI_DEVICE_ERROR The device reported an error while writting ba= ck the data + @retval EFI_DEVICE_ERROR The device reported an error while writing bac= k the data @retval EFI_NO_MEDIA There is no media in the device. =20 **/ diff --git a/OvmfPkg/XenPvBlkDxe/DriverBinding.h b/OvmfPkg/XenPvBlkDxe/Driv= erBinding.h index 9a4eac4b3ebf..fa2983644ce9 100644 --- a/OvmfPkg/XenPvBlkDxe/DriverBinding.h +++ b/OvmfPkg/XenPvBlkDxe/DriverBinding.h @@ -90,7 +90,7 @@ XenPvBlkDxeDriverBindingSupported ( @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. =20 **/ EFI_STATUS diff --git a/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c b/OvmfPkg/Librar= y/PciHostBridgeLib/XenSupport.c index b41bd6b3002b..e161f14375ca 100644 --- a/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c +++ b/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c @@ -280,7 +280,7 @@ ScanForRootBridges ( // if (Pci.Bridge.SubordinateBus > SubBus) { // - // If the suborinate bus number of the PCI-PCI bridge is great= er + // If the subordinate bus number of the PCI-PCI bridge is grea= ter // than the PCI root bridge's current subordinate bus number, // then update the PCI root bridge's subordinate bus number // @@ -419,7 +419,7 @@ ScanForRootBridges ( =20 // // See if the PCI Device is a PCI - ISA or PCI - EISA - // or ISA_POSITIVIE_DECODE Bridge device + // or ISA_POSITIVE_DECODE Bridge device // if (Pci.Hdr.ClassCode[2] =3D=3D PCI_CLASS_BRIDGE) { if (Pci.Hdr.ClassCode[1] =3D=3D PCI_CLASS_BRIDGE_ISA || diff --git a/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLi= b.c b/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c index eef9302dd5c2..895dfc02f90a 100644 --- a/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c +++ b/OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c @@ -247,13 +247,13 @@ SerialPortGetControl ( } =20 /** - Sets the baud rate, receive FIFO depth, transmit/receice time out, parit= y, + Sets the baud rate, receive FIFO depth, transmit/receive time out, parit= y, data bits, and stop bits on a serial device. =20 @param BaudRate The requested baud rate. A BaudRate value of 0= will use the device's default interface speed. On output, the value actually set. - @param ReveiveFifoDepth The requested depth of the FIFO on the receive= side of the + @param ReceiveFifoDepth The requested depth of the FIFO on the receive= side of the serial interface. A ReceiveFifoDepth value of = 0 will use the device's default FIFO depth. On output, the value actually set. @@ -266,7 +266,7 @@ SerialPortGetControl ( DefaultParity will use the device's default pa= rity value. On output, the value actually set. @param DataBits The number of data bits to use on the serial d= evice. A DataBits - vaule of 0 will use the device's default data = bit setting. + value of 0 will use the device's default data = bit setting. On output, the value actually set. @param StopBits The number of stop bits to use on this serial = device. A StopBits value of DefaultStopBits will use the device's= default number of diff --git a/OvmfPkg/XenBusDxe/XenBus.c b/OvmfPkg/XenBusDxe/XenBus.c index 2451e58a5961..a203beaaa7e7 100644 --- a/OvmfPkg/XenBusDxe/XenBus.c +++ b/OvmfPkg/XenBusDxe/XenBus.c @@ -1,5 +1,5 @@ /** @file - XenBus Bus driver implemtation. + XenBus Bus driver implementation. =20 This file implement the necessary to discover and enumerate Xen PV devic= es through XenStore. diff --git a/OvmfPkg/XenBusDxe/XenBusDxe.c b/OvmfPkg/XenBusDxe/XenBusDxe.c index 634c7b71eb55..c47fad2e80bb 100644 --- a/OvmfPkg/XenBusDxe/XenBusDxe.c +++ b/OvmfPkg/XenBusDxe/XenBusDxe.c @@ -1,7 +1,7 @@ /** @file This driver produces XenBus Protocol instances for each Xen PV devices. =20 - This XenBus bus driver will first initialize differente services in orde= r to + This XenBus bus driver will first initialize different services in order= to enumerate the ParaVirtualized devices available. =20 Those services are: @@ -297,8 +297,8 @@ NotifyExitBoot ( @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 EFI_UNSUPPORTED Something is missing on the system that - prevent to start the edvice. - @retval Others The driver failded to start the device. + prevent to start the device. + @retval Others The driver failed to start the device. =20 **/ EFI_STATUS diff --git a/OvmfPkg/XenBusDxe/XenStore.c b/OvmfPkg/XenBusDxe/XenStore.c index 34890ae40bb2..41fcb390888c 100644 --- a/OvmfPkg/XenBusDxe/XenStore.c +++ b/OvmfPkg/XenBusDxe/XenStore.c @@ -138,7 +138,7 @@ typedef struct { */ LIST_ENTRY WatchEvents; =20 - /** Lock protecting the watch calback list. */ + /** Lock protecting the watch callback list. */ EFI_LOCK WatchEventsLock; =20 /** @@ -761,7 +761,7 @@ XenStoreReadReply ( } =20 /** - Send a message with an optionally muti-part body to the XenStore service= . + Send a message with an optionally multi-part body to the XenStore servic= e. =20 @param Transaction The transaction to use for this request. @param RequestType The type of message to send. diff --git a/OvmfPkg/XenPvBlkDxe/BlockFront.c b/OvmfPkg/XenPvBlkDxe/BlockFr= ont.c index 8dca4c82f08a..f57f85731568 100644 --- a/OvmfPkg/XenPvBlkDxe/BlockFront.c +++ b/OvmfPkg/XenPvBlkDxe/BlockFront.c @@ -27,7 +27,7 @@ @param FromBackend Read frontend or backend value. @param ValuePtr Where to put the value. =20 - @retval XENSTORE_STATUS_SUCCESS If succefull, will update ValuePtr. + @retval XENSTORE_STATUS_SUCCESS If successful, will update ValuePtr. @return Any other return value indicate the err= or, ValuePtr is not updated in this case. **/ diff --git a/OvmfPkg/XenPvBlkDxe/BlockIo.c b/OvmfPkg/XenPvBlkDxe/BlockIo.c index 52cf6fc11708..b3a527e4e303 100644 --- a/OvmfPkg/XenPvBlkDxe/BlockIo.c +++ b/OvmfPkg/XenPvBlkDxe/BlockIo.c @@ -52,7 +52,7 @@ EFI_BLOCK_IO_PROTOCOL gXenPvBlkDxeBlockIo =3D { /** Read/Write BufferSize bytes from Lba into Buffer. =20 - This function is commun to XenPvBlkDxeBlockIoReadBlocks and + This function is common to XenPvBlkDxeBlockIoReadBlocks and XenPvBlkDxeBlockIoWriteBlocks. =20 @param This Indicates a pointer to the calling context. @@ -172,7 +172,7 @@ XenPvBlkDxeBlockIoReadWriteBlocks ( @retval EFI_SUCCESS The data was read correctly from the devic= e. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the read. @retval EFI_NO_MEDIA There is no media in the device. - @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice. + @retval EFI_MEDIA_CHANGED The MediaId does not match the current dev= ice. @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device. @retval EFI_INVALID_PARAMETER The read request contains LBAs that are no= t valid, or the buffer is not on proper alignment. @@ -206,7 +206,7 @@ XenPvBlkDxeBlockIoReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to. @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write. @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_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, or the buffer is not on proper alignment. @@ -232,7 +232,7 @@ XenPvBlkDxeBlockIoWriteBlocks ( @param This Indicates a pointer to the calling context. =20 @retval EFI_SUCCESS All outstanding data was written to the device - @retval EFI_DEVICE_ERROR The device reported an error while writting ba= ck the data + @retval EFI_DEVICE_ERROR The device reported an error while writing bac= k the data @retval EFI_NO_MEDIA There is no media in the device. =20 **/ diff --git a/OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.c b/OvmfPkg/XenPvBlkDxe/XenPvB= lkDxe.c index bfe7b1a754cf..779a7f630c03 100644 --- a/OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.c +++ b/OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.c @@ -241,7 +241,7 @@ XenPvBlkDxeDriverBindingSupported ( @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. =20 **/ EFI_STATUS --=20 2.21.0