From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id C7307740038 for ; Tue, 21 Nov 2023 02:08:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=wFDccJZm7i4Il9R2CwoRSkGDSs934qt9ME5xuJ4Fagk=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-id:MIME-version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-transfer-encoding; s=20140610; t=1700532483; v=1; b=ZNpgV9M9IXg1LrfPnOa7JjEBL68ealCbqOiyw2t8UpwoH2h+KItby67rICuAW2RzSuHka2iN KLolUGAobyLx6GrE8lwz3j83q0ElLrRDHZPN4h1cEYmgM+YHnfPN47PNFaok52RVkDnJ27hT8/J cbWljPBxjZjE3LI/Obn//cCY= X-Received: by 127.0.0.2 with SMTP id vt32YY7687511xEfBANXkUh5; Mon, 20 Nov 2023 18:08:03 -0800 X-Received: from ma-mailsvcp-mx-lapp01.apple.com (ma-mailsvcp-mx-lapp01.apple.com [17.32.222.22]) by mx.groups.io with SMTP id smtpd.web10.25688.1700532482574882265 for ; Mon, 20 Nov 2023 18:08:02 -0800 X-Received: from rn-mailsvcp-mta-lapp02.rno.apple.com (rn-mailsvcp-mta-lapp02.rno.apple.com [10.225.203.150]) by ma-mailsvcp-mx-lapp01.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0S4G00ZSZB988R10@ma-mailsvcp-mx-lapp01.apple.com> for devel@edk2.groups.io; Mon, 20 Nov 2023 18:08:01 -0800 (PST) X-Proofpoint-GUID: ExGw61ggTFMcqlhIkrbguoOdDAWIXITu X-Proofpoint-ORIG-GUID: ExGw61ggTFMcqlhIkrbguoOdDAWIXITu X-Received: from mr41p01nt-relayp01.apple.com (mr41p01nt-relayp01.apple.com [10.180.253.68]) by rn-mailsvcp-mta-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0S4G00W5RB97S270@rn-mailsvcp-mta-lapp02.rno.apple.com>; Mon, 20 Nov 2023 18:07:56 -0800 (PST) X-Received: from process_milters-daemon.mr41p01nt-relayp01.apple.com by mr41p01nt-relayp01.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) id <0S4G01Q00B2HYF00@mr41p01nt-relayp01.apple.com>; Tue, 21 Nov 2023 02:07:55 +0000 (GMT) X-Va-A: X-Va-T-CD: 3a2c4b67349838e305a7a1f00570e43c X-Va-E-CD: de9c865df0542b97b7089e5c77f5b276 X-Va-R-CD: 75b068275191158e33ba8827b8153e29 X-Va-ID: 4b71f70b-28f4-46dd-8772-6088e0b9d1c0 X-Va-CD: 0 X-V-A: X-V-T-CD: 3a2c4b67349838e305a7a1f00570e43c X-V-E-CD: de9c865df0542b97b7089e5c77f5b276 X-V-R-CD: 75b068275191158e33ba8827b8153e29 X-V-ID: 724bfc6b-ff2a-4e37-ae42-e346f8254967 X-V-CD: 0 X-Received: from mr41p01nt-relayp04.apple.com (unknown [IPv6:2620:149:e0:5001::1a9]) by mr41p01nt-relayp01.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTP id <0S4G01TXAB978G10@mr41p01nt-relayp01.apple.com>; Tue, 21 Nov 2023 02:07:55 +0000 (GMT) From: "Page Chen via groups.io" To: devel@edk2.groups.io Cc: Page Chen , Liming Gao , Ray Ni , Andrew Fish Subject: [edk2-devel] [PATCH 1/1] MdeModulePkg: Fix typos in Bus and Core Date: Mon, 20 Nov 2023 18:07:15 -0800 Message-id: <7039afd68b2adee54dc4f1fb20db46672cfd0379.1700532413.git.paiching_chen@apple.com> MIME-version: 1.0 Precedence: Bulk List-Subscribe: List-Help: 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,paiching_chen@apple.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Ylg4B34nCEZJYJdOWi4qYFWvx7686176AA= Content-transfer-encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=ZNpgV9M9; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io begining -> beginning Cabability -> Capability CHNAGED -> CHANGED compatability -> compatibility concident -> coincident correspoding -> corresponding defered -> deferred Dispacher -> Dispatcher execuing -> executing exhausive -> exhaustive functio -> function funtion -> function funtions -> functions notificaiton -> notification Regsitered -> Registered SUCESS -> SUCCESS sucessfully -> successfully writting -> writing Signed-off-by: Page Chen Cc: Liming Gao Cc: Ray Ni Cc: Andrew Fish --- .../Bus/Ata/AhciPei/AhciPeiStorageSecurity.c | 2 +- .../Bus/Ata/AhciPei/AhciPeiStorageSecurity.h | 2 +- .../Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c | 18 +++++++++--------- .../Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h | 4 ++-- .../Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c | 10 +++++----- .../Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.h | 8 ++++---- .../Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c | 4 ++-- .../Bus/Pci/NvmExpressPei/NvmExpressPeiHci.h | 4 ++-- .../NvmExpressPeiStorageSecurity.c | 2 +- .../NvmExpressPeiStorageSecurity.h | 2 +- .../Bus/Pci/PciBusDxe/PciOptionRomSupport.c | 4 ++-- .../Bus/Pci/PciBusDxe/PciOptionRomSupport.h | 2 +- MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h | 2 +- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 2 +- MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c | 2 +- MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c | 18 +++++++++--------- MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h | 4 ++-- MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 2 +- MdeModulePkg/Core/Dxe/DxeMain.h | 8 ++++---- MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c | 2 +- MdeModulePkg/Core/Dxe/Hand/Notify.c | 2 +- MdeModulePkg/Core/Dxe/Image/Image.c | 2 +- MdeModulePkg/Core/Dxe/Mem/Page.c | 6 +++--- .../SectionExtraction/CoreSectionExtraction.c | 6 +++--- MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 4 ++-- MdeModulePkg/Core/Pei/PeiMain.h | 2 +- 26 files changed, 62 insertions(+), 62 deletions(-) diff --git a/MdeModulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.c b/MdeMod= ulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.c index 40e042082cde..6381c371698f 100644 --- a/MdeModulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.c +++ b/MdeModulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.c @@ -302,7 +302,7 @@ AhciStorageSecurityReceiveData ( =0D If the security protocol command completes without an error, the functio= n shall=0D return EFI_SUCCESS. If the security protocol command completes with an e= rror,=0D - the functio shall return EFI_DEVICE_ERROR.=0D + the function shall return EFI_DEVICE_ERROR.=0D =0D @param[in] This The PPI instance pointer.=0D @param[in] DeviceIndex The ID of the device.=0D diff --git a/MdeModulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.h b/MdeMod= ulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.h index a13533ea57ea..8bc367da21d8 100644 --- a/MdeModulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.h +++ b/MdeModulePkg/Bus/Ata/AhciPei/AhciPeiStorageSecurity.h @@ -190,7 +190,7 @@ AhciStorageSecurityReceiveData ( =0D If the security protocol command completes without an error, the functio= n shall=0D return EFI_SUCCESS. If the security protocol command completes with an e= rror,=0D - the functio shall return EFI_DEVICE_ERROR.=0D + the function shall return EFI_DEVICE_ERROR.=0D =0D @param[in] This The PPI instance pointer.=0D @param[in] DeviceIndex The ID of the device.=0D diff --git a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c b/MdeModule= Pkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c index b1ab17af3788..535f234916c0 100644 --- a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c +++ b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c @@ -81,7 +81,7 @@ PushEfikeyBufTail ( /**=0D Judge whether is a registered key=0D =0D - @param RegsiteredData A pointer to a buffer that is filled in with= the keystroke=0D + @param RegisteredData A pointer to a buffer that is filled in with= the keystroke=0D state data for the key that was registered.= =0D @param InputData A pointer to a buffer that is filled in with= the keystroke=0D state data for the key that was pressed.=0D @@ -92,15 +92,15 @@ PushEfikeyBufTail ( **/=0D BOOLEAN=0D IsKeyRegistered (=0D - IN EFI_KEY_DATA *RegsiteredData,=0D + IN EFI_KEY_DATA *RegisteredData,=0D IN EFI_KEY_DATA *InputData=0D )=0D =0D {=0D - ASSERT (RegsiteredData !=3D NULL && InputData !=3D NULL);=0D + ASSERT (RegisteredData !=3D NULL && InputData !=3D NULL);=0D =0D - if ((RegsiteredData->Key.ScanCode !=3D InputData->Key.ScanCode) ||=0D - (RegsiteredData->Key.UnicodeChar !=3D InputData->Key.UnicodeChar))=0D + if ((RegisteredData->Key.ScanCode !=3D InputData->Key.ScanCode) ||=0D + (RegisteredData->Key.UnicodeChar !=3D InputData->Key.UnicodeChar))=0D {=0D return FALSE;=0D }=0D @@ -108,14 +108,14 @@ IsKeyRegistered ( //=0D // Assume KeyShiftState/KeyToggleState =3D 0 in Registered key data mean= s these state could be ignored.=0D //=0D - if ((RegsiteredData->KeyState.KeyShiftState !=3D 0) &&=0D - (RegsiteredData->KeyState.KeyShiftState !=3D InputData->KeyState.Key= ShiftState))=0D + if ((RegisteredData->KeyState.KeyShiftState !=3D 0) &&=0D + (RegisteredData->KeyState.KeyShiftState !=3D InputData->KeyState.Key= ShiftState))=0D {=0D return FALSE;=0D }=0D =0D - if ((RegsiteredData->KeyState.KeyToggleState !=3D 0) &&=0D - (RegsiteredData->KeyState.KeyToggleState !=3D InputData->KeyState.Ke= yToggleState))=0D + if ((RegisteredData->KeyState.KeyToggleState !=3D 0) &&=0D + (RegisteredData->KeyState.KeyToggleState !=3D InputData->KeyState.Ke= yToggleState))=0D {=0D return FALSE;=0D }=0D diff --git a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h b/MdeModuleP= kg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h index ca1dd9b2c2c6..38a649dab00c 100644 --- a/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h +++ b/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h @@ -532,7 +532,7 @@ PushEfikeyBufTail ( /**=0D Judge whether is a registered key=0D =0D - @param RegsiteredData A pointer to a buffer that is filled in with= the keystroke=0D + @param RegisteredData A pointer to a buffer that is filled in with= the keystroke=0D state data for the key that was registered.= =0D @param InputData A pointer to a buffer that is filled in with= the keystroke=0D state data for the key that was pressed.=0D @@ -543,7 +543,7 @@ PushEfikeyBufTail ( **/=0D BOOLEAN=0D IsKeyRegistered (=0D - IN EFI_KEY_DATA *RegsiteredData,=0D + IN EFI_KEY_DATA *RegisteredData,=0D IN EFI_KEY_DATA *InputData=0D );=0D =0D diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c b/MdeMo= dulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c index b6ed7f7031b3..ee8bd1408e62 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c +++ b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c @@ -358,7 +358,7 @@ NvmeFlush ( }=0D =0D /**=0D - Nonblocking I/O callback funtion when the event is signaled.=0D + Nonblocking I/O callback function when the event is signaled.=0D =0D @param[in] Event The Event this notify function registered to.=0D @param[in] Context Pointer to the context data registered to the=0D @@ -1100,7 +1100,7 @@ NvmeBlockIoReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to.=0D @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write.=0D @retval EFI_NO_MEDIA There is no media in the device.=0D - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice.=0D + @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice.=0D @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device.=0D @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid,=0D or the buffer is not on proper alignment.= =0D @@ -1214,7 +1214,7 @@ NvmeBlockIoFlushBlocks ( =0D @param[in] This Indicates a pointer to the calling cont= ext.=0D @param[in] ExtendedVerification Indicates that the driver may perform a= more=0D - exhausive verfication operation of the= =0D + exhaustive verification operation of th= e=0D device during reset.=0D =0D @retval EFI_SUCCESS The device was reset.=0D @@ -1408,7 +1408,7 @@ NvmeBlockIoReadBlocksEx ( the Event is NULL.=0D @retval EFI_WRITE_PROTECTED The device can not be written to.=0D @retval EFI_NO_MEDIA There is no media in the device.=0D - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current=0D + @retval EFI_MEDIA_CHANGED The MediaId does not matched the current=0D device.=0D @retval EFI_DEVICE_ERROR The device reported an error while perform= ing=0D the write.=0D @@ -1511,7 +1511,7 @@ NvmeBlockIoWriteBlocksEx ( NULL.=0D All outstanding data was written correctly = to=0D the device if the Event is NULL.=0D - @retval EFI_DEVICE_ERROR The device reported an error while writting= back=0D + @retval EFI_DEVICE_ERROR The device reported an error while writing = back=0D the data.=0D @retval EFI_WRITE_PROTECTED The device cannot be written to.=0D @retval EFI_NO_MEDIA There is no media in the device.=0D diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.h b/MdeMo= dulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.h index 8cad15efd33a..5213448e41fa 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.h +++ b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.h @@ -70,7 +70,7 @@ NvmeBlockIoReadBlocks ( @retval EFI_WRITE_PROTECTED The device can not be written to.=0D @retval EFI_DEVICE_ERROR The device reported an error while perform= ing the write.=0D @retval EFI_NO_MEDIA There is no media in the device.=0D - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current d= evice.=0D + @retval EFI_MEDIA_CHANGED The MediaId does not matched the current d= evice.=0D @retval EFI_BAD_BUFFER_SIZE The Buffer was not a multiple of the block= size of the device.=0D @retval EFI_INVALID_PARAMETER The write request contains LBAs that are n= ot valid,=0D or the buffer is not on proper alignment.= =0D @@ -107,7 +107,7 @@ NvmeBlockIoFlushBlocks ( =0D @param[in] This Indicates a pointer to the calling cont= ext.=0D @param[in] ExtendedVerification Indicates that the driver may perform a= more=0D - exhausive verfication operation of the= =0D + exhaustive verification operation of th= e=0D device during reset.=0D =0D @retval EFI_SUCCESS The device was reset.=0D @@ -195,7 +195,7 @@ NvmeBlockIoReadBlocksEx ( the Event is NULL.=0D @retval EFI_WRITE_PROTECTED The device can not be written to.=0D @retval EFI_NO_MEDIA There is no media in the device.=0D - @retval EFI_MEDIA_CHNAGED The MediaId does not matched the current=0D + @retval EFI_MEDIA_CHANGED The MediaId does not matched the current=0D device.=0D @retval EFI_DEVICE_ERROR The device reported an error while perform= ing=0D the write.=0D @@ -234,7 +234,7 @@ NvmeBlockIoWriteBlocksEx ( NULL.=0D All outstanding data was written correctly = to=0D the device if the Event is NULL.=0D - @retval EFI_DEVICE_ERROR The device reported an error while writting= back=0D + @retval EFI_DEVICE_ERROR The device reported an error while writing = back=0D the data.=0D @retval EFI_WRITE_PROTECTED The device cannot be written to.=0D @retval EFI_NO_MEDIA There is no media in the device.=0D diff --git a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c b/MdeMod= ulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c index fc7b684940d9..966bdc9b95b8 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c +++ b/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c @@ -17,7 +17,7 @@ @param[in] MmioAddr Source: MMIO address.=0D @param[in] Size Size for read.=0D =0D - @retval EFI_SUCCESS MMIO read sucessfully.=0D + @retval EFI_SUCCESS MMIO read successfully.=0D =0D **/=0D EFI_STATUS=0D @@ -69,7 +69,7 @@ NvmeMmioRead ( @param[in] MemBuffer Source: Memory address.=0D @param[in] Size Size for write.=0D =0D - @retval EFI_SUCCESS MMIO write sucessfully.=0D + @retval EFI_SUCCESS MMIO write successfully.=0D =0D **/=0D EFI_STATUS=0D diff --git a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.h b/MdeMod= ulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.h index a6bec510f0c8..649500db1bf6 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.h +++ b/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.h @@ -58,7 +58,7 @@ enum { @param[in] MmioAddr Source: MMIO address.=0D @param[in] Size Size for read.=0D =0D - @retval EFI_SUCCESS MMIO read sucessfully.=0D + @retval EFI_SUCCESS MMIO read successfully.=0D =0D **/=0D EFI_STATUS=0D @@ -75,7 +75,7 @@ NvmeMmioRead ( @param[in] MemBuffer Source: Memory address.=0D @param[in] Size Size for write.=0D =0D - @retval EFI_SUCCESS MMIO write sucessfully.=0D + @retval EFI_SUCCESS MMIO write successfully.=0D =0D **/=0D EFI_STATUS=0D diff --git a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiStorageSecurit= y.c b/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiStorageSecurity.c index d45487efed95..5b0d5bda1727 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiStorageSecurity.c +++ b/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiStorageSecurity.c @@ -347,7 +347,7 @@ NvmeStorageSecurityReceiveData ( =0D If the security protocol command completes without an error, the functio= n shall=0D return EFI_SUCCESS. If the security protocol command completes with an e= rror,=0D - the functio shall return EFI_DEVICE_ERROR.=0D + the function shall return EFI_DEVICE_ERROR.=0D =0D @param[in] This The PPI instance pointer.=0D @param[in] DeviceIndex The ID of the device.=0D diff --git a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiStorageSecurit= y.h b/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiStorageSecurity.h index 16351882efe2..93fadd18f96d 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiStorageSecurity.h +++ b/MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiStorageSecurity.h @@ -190,7 +190,7 @@ NvmeStorageSecurityReceiveData ( =0D If the security protocol command completes without an error, the functio= n shall=0D return EFI_SUCCESS. If the security protocol command completes with an e= rror,=0D - the functio shall return EFI_DEVICE_ERROR.=0D + the function shall return EFI_DEVICE_ERROR.=0D =0D @param[in] This The PPI instance pointer.=0D @param[in] DeviceIndex The ID of the device.=0D diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c b/MdeModu= lePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c index bd5ace18f6e4..5c7ef167b196 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c @@ -1,5 +1,5 @@ /** @file=0D - PCI Rom supporting funtions implementation for PCI Bus module.=0D + PCI Rom supporting functions implementation for PCI Bus module.=0D =0D Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
=0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D @@ -371,7 +371,7 @@ ContainEfiImage ( @param RomBase Base address of Option Rom.=0D =0D @retval EFI_OUT_OF_RESOURCES No enough memory to hold image.=0D - @retval EFI_SUCESS Successfully loaded Option Rom.=0D + @retval EFI_SUCCESS Successfully loaded Option Rom.=0D =0D **/=0D EFI_STATUS=0D diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h b/MdeModu= lePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h index 16998a422e16..0ddad05b8572 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h @@ -91,7 +91,7 @@ GetOpRomInfo ( @param RomBase Base address of Option Rom.=0D =0D @retval EFI_OUT_OF_RESOURCES No enough memory to hold image.=0D - @retval EFI_SUCESS Successfully loaded Option Rom.=0D + @retval EFI_SUCCESS Successfully loaded Option Rom.=0D =0D **/=0D EFI_STATUS=0D diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h b/MdeModulePkg/Bus/Pci/= XhciDxe/XhciReg.h index 63bcae897499..ff24185c5bfa 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h +++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h @@ -144,7 +144,7 @@ typedef union { } XHC_HCCPARAMS;=0D =0D //=0D -// xHCI Supported Protocol Cabability=0D +// xHCI Supported Protocol Capability=0D //=0D typedef struct {=0D UINT8 CapId;=0D diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c b/MdeModulePkg/Bus/Pc= i/XhciDxe/XhciSched.c index 05528a478baf..79da5a9e1210 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c @@ -2047,7 +2047,7 @@ XhcCheckNewEvent ( =0D EvtRing->EventRingDequeue++;=0D //=0D - // If the dequeue pointer is beyond the ring, then roll-back it to the b= egining of the ring.=0D + // If the dequeue pointer is beyond the ring, then roll-back it to the b= eginning of the ring.=0D //=0D if ((UINTN)EvtRing->EventRingDequeue >=3D ((UINTN)EvtRing->EventRingSeg0= + sizeof (TRB_TEMPLATE) * EvtRing->TrbNumber)) {=0D EvtRing->EventRingDequeue =3D EvtRing->EventRingSeg0;=0D diff --git a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c b/MdeModulePkg/Bus/Pc= i/XhciPei/XhciSched.c index 53272f62dd3c..1ffed47d9a13 100644 --- a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c @@ -2574,7 +2574,7 @@ XhcPeiCheckNewEvent ( =0D EvtRing->EventRingDequeue++;=0D //=0D - // If the dequeue pointer is beyond the ring, then roll-back it to the b= egining of the ring.=0D + // If the dequeue pointer is beyond the ring, then roll-back it to the b= eginning of the ring.=0D //=0D if ((UINTN)EvtRing->EventRingDequeue >=3D ((UINTN)EvtRing->EventRingSeg0= + sizeof (TRB_TEMPLATE) * EvtRing->TrbNumber)) {=0D EvtRing->EventRingDequeue =3D EvtRing->EventRingSeg0;=0D diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c b/MdeModulePkg/Bus/Usb/= UsbKbDxe/EfiKey.c index e889f422bbf7..1e68a45e7422 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c @@ -875,7 +875,7 @@ KbdFreeNotifyList ( /**=0D Check whether the pressed key matches a registered key or not.=0D =0D - @param RegsiteredData A pointer to keystroke data for the key that w= as registered.=0D + @param RegisteredData A pointer to keystroke data for the key that w= as registered.=0D @param InputData A pointer to keystroke data for the key that w= as pressed.=0D =0D @retval TRUE Key pressed matches a registered key.=0D @@ -884,14 +884,14 @@ KbdFreeNotifyList ( **/=0D BOOLEAN=0D IsKeyRegistered (=0D - IN EFI_KEY_DATA *RegsiteredData,=0D + IN EFI_KEY_DATA *RegisteredData,=0D IN EFI_KEY_DATA *InputData=0D )=0D {=0D - ASSERT (RegsiteredData !=3D NULL && InputData !=3D NULL);=0D + ASSERT (RegisteredData !=3D NULL && InputData !=3D NULL);=0D =0D - if ((RegsiteredData->Key.ScanCode !=3D InputData->Key.ScanCode) ||=0D - (RegsiteredData->Key.UnicodeChar !=3D InputData->Key.UnicodeChar))=0D + if ((RegisteredData->Key.ScanCode !=3D InputData->Key.ScanCode) ||=0D + (RegisteredData->Key.UnicodeChar !=3D InputData->Key.UnicodeChar))=0D {=0D return FALSE;=0D }=0D @@ -899,14 +899,14 @@ IsKeyRegistered ( //=0D // Assume KeyShiftState/KeyToggleState =3D 0 in Registered key data mean= s these state could be ignored.=0D //=0D - if ((RegsiteredData->KeyState.KeyShiftState !=3D 0) &&=0D - (RegsiteredData->KeyState.KeyShiftState !=3D InputData->KeyState.Key= ShiftState))=0D + if ((RegisteredData->KeyState.KeyShiftState !=3D 0) &&=0D + (RegisteredData->KeyState.KeyShiftState !=3D InputData->KeyState.Key= ShiftState))=0D {=0D return FALSE;=0D }=0D =0D - if ((RegsiteredData->KeyState.KeyToggleState !=3D 0) &&=0D - (RegsiteredData->KeyState.KeyToggleState !=3D InputData->KeyState.Ke= yToggleState))=0D + if ((RegisteredData->KeyState.KeyToggleState !=3D 0) &&=0D + (RegisteredData->KeyState.KeyToggleState !=3D InputData->KeyState.Ke= yToggleState))=0D {=0D return FALSE;=0D }=0D diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h b/MdeModulePkg/Bus/Usb/= UsbKbDxe/EfiKey.h index a9dfeafd6f10..1a7eb9de5db7 100644 --- a/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h +++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h @@ -574,7 +574,7 @@ KbdFreeNotifyList ( /**=0D Check whether the pressed key matches a registered key or not.=0D =0D - @param RegsiteredData A pointer to keystroke data for the key that w= as registered.=0D + @param RegisteredData A pointer to keystroke data for the key that w= as registered.=0D @param InputData A pointer to keystroke data for the key that w= as pressed.=0D =0D @retval TRUE Key pressed matches a registered key.=0D @@ -583,7 +583,7 @@ KbdFreeNotifyList ( **/=0D BOOLEAN=0D IsKeyRegistered (=0D - IN EFI_KEY_DATA *RegsiteredData,=0D + IN EFI_KEY_DATA *RegisteredData,=0D IN EFI_KEY_DATA *InputData=0D );=0D =0D diff --git a/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c b/MdeModulePkg/C= ore/Dxe/Dispatcher/Dispatcher.c index cf9d55687766..ef44f0fa4495 100644 --- a/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c @@ -56,7 +56,7 @@ LIST_ENTRY mFvHandleList =3D INITIALIZE_LIST_HEAD_VARIAB= LE (mFvHandleList); EFI_LOCK mDispatcherLock =3D EFI_INITIALIZE_LOCK_VARIABLE (TPL_HIGH_LEVEL= );=0D =0D //=0D -// Flag for the DXE Dispacher. TRUE if dispatcher is execuing.=0D +// Flag for the DXE Dispatcher. TRUE if dispatcher is executing.=0D //=0D BOOLEAN gDispatcherRunning =3D FALSE;=0D =0D diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMai= n.h index 43daa037be44..6082d20e746c 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain.h +++ b/MdeModulePkg/Core/Dxe/DxeMain.h @@ -2205,7 +2205,7 @@ DxeMainUefiDecompressGetInfo ( implementation. It is the caller's responsibility to allocate and free t= he=0D Destination and Scratch buffers.=0D If the compressed source data specified by Source and SourceSize is=0D - sucessfully decompressed into Destination, then EFI_SUCCESS is returned.= If=0D + successfully decompressed into Destination, then EFI_SUCCESS is returned= . If=0D the compressed source data specified by Source and SourceSize is not in = a=0D valid compressed data format, then EFI_INVALID_PARAMETER is returned.=0D =0D @@ -2252,7 +2252,7 @@ DxeMainUefiDecompress ( =0D @retval EFI_SUCCESS The section stream is created successfull= y.=0D @retval EFI_OUT_OF_RESOURCES memory allocation failed.=0D - @retval EFI_INVALID_PARAMETER Section stream does not end concident wit= h end=0D + @retval EFI_INVALID_PARAMETER Section stream does not end coincident wi= th end=0D of last section.=0D =0D **/=0D @@ -2342,9 +2342,9 @@ GetSection ( @param FreeStreamBuffer TRUE - Need to free stream buffer;=0D FALSE - No need to free stream buffer.=0D =0D - @retval EFI_SUCCESS The section stream is closed sucessfully.= =0D + @retval EFI_SUCCESS The section stream is closed successfully= .=0D @retval EFI_OUT_OF_RESOURCES Memory allocation failed.=0D - @retval EFI_INVALID_PARAMETER Section stream does not end concident wit= h end=0D + @retval EFI_INVALID_PARAMETER Section stream does not end coincident wi= th end=0D of last section.=0D =0D **/=0D diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c b/MdeModulePkg/Core/Dx= e/FwVol/FwVolRead.c index 2ff22c93aad4..b148e90b3045 100644 --- a/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c +++ b/MdeModulePkg/Core/Dxe/FwVol/FwVolRead.c @@ -524,7 +524,7 @@ FvReadFileSection ( }=0D =0D //=0D - // Close of stream defered to close of FfsHeader list to allow SEP to ca= che data=0D + // Close of stream deferred to close of FfsHeader list to allow SEP to c= ache data=0D //=0D =0D Done:=0D diff --git a/MdeModulePkg/Core/Dxe/Hand/Notify.c b/MdeModulePkg/Core/Dxe/Ha= nd/Notify.c index a6e20cad236f..414ac5963e29 100644 --- a/MdeModulePkg/Core/Dxe/Hand/Notify.c +++ b/MdeModulePkg/Core/Dxe/Hand/Notify.c @@ -130,7 +130,7 @@ CoreRegisterProtocolNotify ( ProtNotify->Protocol =3D ProtEntry;=0D ProtNotify->Event =3D Event;=0D //=0D - // start at the begining=0D + // start at the beginning=0D //=0D ProtNotify->Position =3D &ProtEntry->Protocols;=0D =0D diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Im= age/Image.c index 6bc3a549ae5e..02b6635e79a9 100644 --- a/MdeModulePkg/Core/Dxe/Image/Image.c +++ b/MdeModulePkg/Core/Dxe/Image/Image.c @@ -66,7 +66,7 @@ LOADED_IMAGE_PRIVATE_DATA mCorePrivateImage =3D { };=0D //=0D // The field is define for Loading modules at fixed address feature to tra= cker the PEI code=0D -// memory range usage. It is a bit mapped array in which every bit indicat= es the correspoding memory page=0D +// memory range usage. It is a bit mapped array in which every bit indicat= es the corresponding memory page=0D // available or not.=0D //=0D GLOBAL_REMOVE_IF_UNREFERENCED UINT64 *mDxeCodeMemoryRangeUsageBitMap = =3D NULL;=0D diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/P= age.c index 6497af573353..fadbd64d602e 100644 --- a/MdeModulePkg/Core/Dxe/Mem/Page.c +++ b/MdeModulePkg/Core/Dxe/Mem/Page.c @@ -192,12 +192,12 @@ CoreAddRange ( mMemoryMapKey +=3D 1;=0D =0D //=0D - // UEFI 2.0 added an event group for notificaiton on memory map changes.= =0D + // UEFI 2.0 added an event group for notification on memory map changes.= =0D // So we need to signal this Event Group every time the memory map chang= es.=0D - // If we are in EFI 1.10 compatability mode no event groups will be=0D + // If we are in EFI 1.10 compatibility mode no event groups will be=0D // found and nothing will happen we we call this function. These events= =0D // will get signaled but since a lock is held around the call to this=0D - // function the notificaiton events will only be called after this funct= ion=0D + // function the notification events will only be called after this funct= ion=0D // returns and the lock is released.=0D //=0D CoreNotifySignalList (&gEfiEventMemoryMapChangeGuid);=0D diff --git a/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.= c b/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c index 2152833ff639..e7fd60f99efd 100644 --- a/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c +++ b/MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c @@ -409,7 +409,7 @@ OpenSectionStreamEx ( =0D @retval EFI_SUCCESS The section stream is created successfull= y.=0D @retval EFI_OUT_OF_RESOURCES memory allocation failed.=0D - @retval EFI_INVALID_PARAMETER Section stream does not end concident wit= h end=0D + @retval EFI_INVALID_PARAMETER Section stream does not end coincident wi= th end=0D of last section.=0D =0D **/=0D @@ -1406,9 +1406,9 @@ FreeChildNode ( @param FreeStreamBuffer TRUE - Need to free stream buffer;=0D FALSE - No need to free stream buffer.=0D =0D - @retval EFI_SUCCESS The section stream is closed sucessfully.= =0D + @retval EFI_SUCCESS The section stream is closed successfully= .=0D @retval EFI_OUT_OF_RESOURCES Memory allocation failed.=0D - @retval EFI_INVALID_PARAMETER Section stream does not end concident wit= h end=0D + @retval EFI_INVALID_PARAMETER Section stream does not end coincident wi= th end=0D of last section.=0D =0D **/=0D diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/Dxe= IplPeim/DxeLoad.c index 2c19f1a507ba..4486cf60d706 100644 --- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c +++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c @@ -59,7 +59,7 @@ CONST EFI_PEI_NOTIFY_DESCRIPTOR mMemoryDiscoveredNotifyL= ist =3D { @param FileHandle Handle of the file being invoked.=0D @param PeiServices Describes the list of possible PEI Services.=0D =0D - @retval EFI_SUCESS The entry point of DXE IPL PEIM executes successfull= y.=0D + @retval EFI_SUCCESS The entry point of DXE IPL PEIM executes successfull= y.=0D @retval Others Some error occurs during the execution of this funct= ion.=0D =0D **/=0D @@ -80,7 +80,7 @@ PeimInitializeDxeIpl ( Status =3D PeiServicesRegisterForShadow (FileHandle);=0D if (Status =3D=3D EFI_SUCCESS) {=0D //=0D - // EFI_SUCESS means it is the first time to call register for shadow= .=0D + // EFI_SUCCESS means it is the first time to call register for shado= w.=0D //=0D return Status;=0D }=0D diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMai= n.h index 556beddad533..43c56ba64434 100644 --- a/MdeModulePkg/Core/Pei/PeiMain.h +++ b/MdeModulePkg/Core/Pei/PeiMain.h @@ -401,7 +401,7 @@ PeimDispatchReadiness ( @param PeimFileHandle Pointer to the FFS file header of the image.= =0D @param MigratedFileHandle Pointer to the FFS file header of the migrat= ed image.=0D =0D - @retval EFI_SUCCESS Sucessfully migrated the PEIM to permanent m= emory.=0D + @retval EFI_SUCCESS Successfully migrated the PEIM to permanent = memory.=0D =0D **/=0D EFI_STATUS=0D --=20 2.39.3 (Apple Git-145) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111497): https://edk2.groups.io/g/devel/message/111497 Mute This Topic: https://groups.io/mt/102721247/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-