From nobody Sun May 19 09:42:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+104788+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104788+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1683886356; cv=none; d=zohomail.com; s=zohoarc; b=ggCQLuJREdbTD2oGUvCZq81UtfGw7KI3pa+5MkjefCKqoRFdf2IDNBkVYR6Ukf78iP7TF5lDxK8GidhriaVXeIxGqmKfH90QKs2418ZkTw21HA1PdtDtEU1IzYLbrwrXm0BmTezmLx3ViJJATaY8NtGkkSM6VFX/az92M+b0D2I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1683886356; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=7vcThnRXyXcZ2ZPP1svBODnrf5MjahPgiH9TN5l3Ilw=; b=lZNkoPN5Hdw4NHlpCp78/YVOrbRITqA4P8d/tZys5BO4SYIL3eYAxhgiFKCrcoTVzUOVFZvTTw/m4wJYunNdkXwvjEWdwrIhMkcxZvCq/mv8EjQ/JPsoNi+hpt/uCoHpXbR71HzpkTOCVDdhuPUsmHgx900CCHZmNIP58JVJqog= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+104788+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1683886356845630.2889255556553; Fri, 12 May 2023 03:12:36 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 2XRoYY1788612xFUflaWVxo9; Fri, 12 May 2023 03:12:36 -0700 X-Received: from hfd-mx02.apple.com (hfd-mx02.apple.com [17.132.100.1]) by mx.groups.io with SMTP id smtpd.web10.20436.1683886355302382473 for ; Fri, 12 May 2023 03:12:35 -0700 X-Received: from sg-mailsvcp-mta-lapp02.asia.apple.com (sg-mailsvcp-mta-lapp02.asia.apple.com [17.84.67.70]) by am11p01nt-mxp02.apple.com (Oracle Communications Messaging Server 8.1.0.22.20230228 64bit (built Feb 28 2023)) with ESMTPS id <0RUJ0203UJ0UD500@am11p01nt-mxp02.apple.com> for devel@edk2.groups.io; Fri, 12 May 2023 10:12:33 +0000 (GMT) X-Proofpoint-ORIG-GUID: g0gyRBsBz_Zy2D2a1KX538z71zrApzTs X-Proofpoint-GUID: g0gyRBsBz_Zy2D2a1KX538z71zrApzTs X-Received: from sg-mailsvcp-relay-lapp02.asia.apple.com (sg-mailsvcp-relay-lapp02.asia.apple.com [17.84.71.218]) by sg-mailsvcp-mta-lapp02.asia.apple.com (Oracle Communications Messaging Server 8.1.0.22.20230228 64bit (built Feb 28 2023)) with ESMTPS id <0RUJ00VAKJ0TRK00@sg-mailsvcp-mta-lapp02.asia.apple.com>; Fri, 12 May 2023 18:12:29 +0800 (+08) X-Received: from process_milters-daemon.sg-mailsvcp-relay-lapp02.asia.apple.com by sg-mailsvcp-relay-lapp02.asia.apple.com (Oracle Communications Messaging Server 8.1.0.22.20230228 64bit (built Feb 28 2023)) id <0RUJ00W00J0DZ100@sg-mailsvcp-relay-lapp02.asia.apple.com>; Fri, 12 May 2023 18:12:29 +0800 (+08) X-Va-A: X-Va-T-CD: 3a2c4b67349838e305a7a1f00570e43c X-Va-E-CD: d752f103890b2942bed7bc2a4d18c5db X-Va-R-CD: eed5091cf201043f52049e7970c07d12 X-Va-ID: e4ab6fcb-9e93-4a88-8250-dd9fd138e059 X-Va-CD: 0 X-V-A: X-V-T-CD: 3a2c4b67349838e305a7a1f00570e43c X-V-E-CD: d752f103890b2942bed7bc2a4d18c5db X-V-R-CD: eed5091cf201043f52049e7970c07d12 X-V-ID: e6a66a5f-9415-4e7f-ba5e-21689c3f839a X-V-CD: 0 X-Received: from sg-mailsvcp-relay-lapp02.asia.apple.com (unknown [10.107.29.87]) by sg-mailsvcp-relay-lapp02.asia.apple.com (Oracle Communications Messaging Server 8.1.0.22.20230228 64bit (built Feb 28 2023)) with ESMTP id <0RUJ00PE0J0RK700@sg-mailsvcp-relay-lapp02.asia.apple.com>; Fri, 12 May 2023 18:12:29 +0800 (+08) From: "Giri Mudusuru via groups.io" To: devel@edk2.groups.io Cc: Giri Mudusuru , Michael D Kinney , Liming Gao , Zhiguang Liu , Andrew Fish Subject: [edk2-devel] [PATCH] MdePkg Library: Fix typos Date: Fri, 12 May 2023 15:42:20 +0530 Message-id: <5d2bd5d580a158089af64d877e9aab6a7371ce96.1683886323.git.girim@apple.com> MIME-version: 1.0 Precedence: Bulk List-Unsubscribe: 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,girim@apple.com X-Gm-Message-State: TcrnGsz5EAndTPBtyZtpK0enx1787277AA= Content-transfer-encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1683886356; bh=JjFNqUib+m+cRad2LWgf+xrvP8jo57j/poxRzxV6YFg=; h=Cc:Date:From:Reply-To:Subject:To; b=M6Fmb2juEds0wHxIZI8D00qhxGCVqKuvduuFjhq8IIDzkLbcZ2DcTRwdIwHgBLaWQEH qdZShrJbnDURRyJkmLjYO55Uq8QW36i6SmN8EGQD7AjKD//dybxiQLtvXISx0ZHHiRYrg 7LhPIQlFKIPm6vDTCBPVUmOw5l+8EkLpmSQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1683886358452100001 Content-Type: text/plain; charset="utf-8" addres->address orignal->original Propery->Property StartAdress->StartAddress sucessfully->successfully uinstance->instance Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Andrew Fish Signed-off-by: Giri Mudusuru --- MdePkg/Library/BaseDebugLibNull/DebugLib.c | 28 +++++++++---------- .../Library/BaseDebugLibSerialPort/DebugLib.c | 28 +++++++++---------- .../BaseDebugPrintErrorLevelLib.c | 4 +-- MdePkg/Library/BaseLib/X64/Thunk16.nasm | 2 +- MdePkg/Library/BasePciCf8Lib/PciCf8Lib.c | 4 +-- .../Library/BasePciExpressLib/PciExpressLib.c | 4 +-- MdePkg/Library/BasePciLibCf8/PciLib.c | 4 +-- MdePkg/Library/BasePciLibPciExpress/PciLib.c | 4 +-- .../BasePciSegmentLibPci/PciSegmentLib.c | 4 +-- .../BasePeCoffLib/Arm/PeCoffLoaderEx.c | 4 +-- .../Library/BasePostCodeLibDebug/PostCode.c | 8 +++--- .../Library/BasePostCodeLibPort80/PostCode.c | 8 +++--- .../BaseReportStatusCodeLib.c | 18 ++++++------ MdePkg/Library/BaseS3PciLib/S3PciLib.c | 4 +-- .../BaseS3PciSegmentLib/S3PciSegmentLib.c | 4 +-- .../BaseUefiDecompressLib.c | 2 +- .../DxeRuntimeDebugLibSerialPort/DebugLib.c | 28 +++++++++---------- .../PostCode.c | 8 +++--- MdePkg/Library/PeiPciLibPciCfg2/PciLib.c | 4 +-- .../PeiPciSegmentLibPciCfg2/PciSegmentLib.c | 4 +-- MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 28 +++++++++---------- .../UefiDebugLibDebugPortProtocol/DebugLib.c | 28 +++++++++---------- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 28 +++++++++---------- .../UefiFileHandleLib/UefiFileHandleLib.c | 2 +- .../UefiPciLibPciRootBridgeIo/PciLib.c | 4 +-- .../PciSegmentLib.c | 4 +-- 26 files changed, 134 insertions(+), 134 deletions(-) diff --git a/MdePkg/Library/BaseDebugLibNull/DebugLib.c b/MdePkg/Library/Ba= seDebugLibNull/DebugLib.c index e01a095781..922857904d 100644 --- a/MdePkg/Library/BaseDebugLibNull/DebugLib.c +++ b/MdePkg/Library/BaseDebugLibNull/DebugLib.c @@ -92,8 +92,8 @@ DebugBPrint ( =20 Print a message of the form "ASSERT (): \n" to the debug output device. If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED= bit of - PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if - DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set= then + PcdDebugPropertyMask is set then CpuBreakpoint() is called. Otherwise, if + DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugPropertyMask is se= t then CpuDeadLoop() is called. If neither of these bits are set, then this fu= nction returns immediately after the message is printed to the debug output dev= ice. DebugAssert() must actively prevent recursion. If DebugAssert() is call= ed while @@ -146,10 +146,10 @@ DebugClearMemory ( Returns TRUE if ASSERT() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN @@ -165,10 +165,10 @@ DebugAssertEnabled ( Returns TRUE if DEBUG() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit= of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is clear. =20 **/ BOOLEAN @@ -184,10 +184,10 @@ DebugPrintEnabled ( Returns TRUE if DEBUG_CODE() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit = of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is clear. =20 **/ BOOLEAN @@ -203,10 +203,10 @@ DebugCodeEnabled ( Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c b/MdePkg/Libr= ary/BaseDebugLibSerialPort/DebugLib.c index bd56869477..695d965ebc 100644 --- a/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c +++ b/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c @@ -191,8 +191,8 @@ DebugBPrint ( =20 Print a message of the form "ASSERT (): \n" to the debug output device. If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED= bit of - PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if - DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set= then + PcdDebugPropertyMask is set then CpuBreakpoint() is called. Otherwise, if + DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugPropertyMask is se= t then CpuDeadLoop() is called. If neither of these bits are set, then this fu= nction returns immediately after the message is printed to the debug output dev= ice. DebugAssert() must actively prevent recursion. If DebugAssert() is call= ed while @@ -273,10 +273,10 @@ DebugClearMemory ( Returns TRUE if ASSERT() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN @@ -292,10 +292,10 @@ DebugAssertEnabled ( Returns TRUE if DEBUG() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit= of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is clear. =20 **/ BOOLEAN @@ -311,10 +311,10 @@ DebugPrintEnabled ( Returns TRUE if DEBUG_CODE() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit = of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is clear. =20 **/ BOOLEAN @@ -330,10 +330,10 @@ DebugCodeEnabled ( Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintError= LevelLib.c b/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintError= LevelLib.c index 5a43135d27..5d32720c3c 100644 --- a/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLi= b.c +++ b/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLi= b.c @@ -35,7 +35,7 @@ GetDebugPrintErrorLevel ( =20 @param ErrorLevel Global debug print error level. =20 - @retval TRUE The debug print error level mask was sucessfully= set. + @retval TRUE The debug print error level mask was successfull= y set. @retval FALSE The debug print error level mask could not be se= t. =20 **/ @@ -46,7 +46,7 @@ SetDebugPrintErrorLevel ( ) { // - // This library uinstance does not support setting the global debug prin= t error + // This library instance does not support setting the global debug print= error // level mask. // return FALSE; diff --git a/MdePkg/Library/BaseLib/X64/Thunk16.nasm b/MdePkg/Library/BaseL= ib/X64/Thunk16.nasm index e83b31c594..b788259d56 100644 --- a/MdePkg/Library/BaseLib/X64/Thunk16.nasm +++ b/MdePkg/Library/BaseLib/X64/Thunk16.nasm @@ -274,7 +274,7 @@ BITS 64 inc rcx ; rcx <- the size of memory to copy xchg rdi, r11 ; save rdi to r11 and initialize r= di to the base address of shadowed GDT table rep movsb ; perform memory copy to shadow GD= T table - mov rcx, r10 ; restore the orignal rcx before m= emory copy + mov rcx, r10 ; restore the original rcx before = memory copy mov rdi, r11 ; restore the original rdi before = memory copy =20 sidt [rsp + 50h] ; save IDT stack in argument space diff --git a/MdePkg/Library/BasePciCf8Lib/PciCf8Lib.c b/MdePkg/Library/Base= PciCf8Lib/PciCf8Lib.c index 0d9667178f..de9b7d78a5 100644 --- a/MdePkg/Library/BasePciCf8Lib/PciCf8Lib.c +++ b/MdePkg/Library/BasePciCf8Lib/PciCf8Lib.c @@ -1585,7 +1585,7 @@ PciCf8BitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1685,7 +1685,7 @@ PciCf8ReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/BasePciExpressLib/PciExpressLib.c b/MdePkg/Libr= ary/BasePciExpressLib/PciExpressLib.c index df937ec1fb..8f3f2a01e4 100644 --- a/MdePkg/Library/BasePciExpressLib/PciExpressLib.c +++ b/MdePkg/Library/BasePciExpressLib/PciExpressLib.c @@ -1392,7 +1392,7 @@ PciExpressBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1497,7 +1497,7 @@ PciExpressReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/BasePciLibCf8/PciLib.c b/MdePkg/Library/BasePci= LibCf8/PciLib.c index 74cece0fca..51b0fc0455 100644 --- a/MdePkg/Library/BasePciLibCf8/PciLib.c +++ b/MdePkg/Library/BasePciLibCf8/PciLib.c @@ -1068,7 +1068,7 @@ PciBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1103,7 +1103,7 @@ PciReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/BasePciLibPciExpress/PciLib.c b/MdePkg/Library/= BasePciLibPciExpress/PciLib.c index 1f037f717a..78210e049d 100644 --- a/MdePkg/Library/BasePciLibPciExpress/PciLib.c +++ b/MdePkg/Library/BasePciLibPciExpress/PciLib.c @@ -1068,7 +1068,7 @@ PciBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1103,7 +1103,7 @@ PciReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/BasePciSegmentLibPci/PciSegmentLib.c b/MdePkg/L= ibrary/BasePciSegmentLibPci/PciSegmentLib.c index 5946bdc3f5..b12e08e54d 100644 --- a/MdePkg/Library/BasePciSegmentLibPci/PciSegmentLib.c +++ b/MdePkg/Library/BasePciSegmentLibPci/PciSegmentLib.c @@ -1094,7 +1094,7 @@ PciSegmentBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1192,7 +1192,7 @@ PciSegmentReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/BasePeCoffLib/Arm/PeCoffLoaderEx.c b/MdePkg/Lib= rary/BasePeCoffLib/Arm/PeCoffLoaderEx.c index 595377bed6..01f0101edc 100644 --- a/MdePkg/Library/BasePeCoffLib/Arm/PeCoffLoaderEx.c +++ b/MdePkg/Library/BasePeCoffLib/Arm/PeCoffLoaderEx.c @@ -46,7 +46,7 @@ ThumbMovtImmediateAddress ( Update an ARM MOVT or MOVW immediate instruction immediate data. =20 @param Instruction Pointer to ARM MOVT or MOVW immediate instruction - @param Address New addres to patch into the instruction + @param Address New address to patch into the instruction **/ VOID ThumbMovtImmediatePatch ( @@ -97,7 +97,7 @@ ThumbMovwMovtImmediateAddress ( Update an ARM MOVW/MOVT immediate instruction instruction pair. =20 @param Instructions Pointer to ARM MOVW/MOVT instruction pair - @param Address New addres to patch into the instructions + @param Address New address to patch into the instructions **/ VOID ThumbMovwMovtImmediatePatch ( diff --git a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c b/MdePkg/Librar= y/BasePostCodeLibDebug/PostCode.c index 57a3bd6bff..cf6b9cecb6 100644 --- a/MdePkg/Library/BasePostCodeLibDebug/PostCode.c +++ b/MdePkg/Library/BasePostCodeLibDebug/PostCode.c @@ -82,9 +82,9 @@ PostCodeWithDescription ( bit of PcdPostCodePropertyMask is set. Otherwise FALSE is returned. =20 @retval TRUE The POST_CODE_PROPERTY_POST_CODE_ENABLED bit of - PcdPostCodeProperyMask is set. + PcdPostCodePropertyMask is set. @retval FALSE The POST_CODE_PROPERTY_POST_CODE_ENABLED bit of - PcdPostCodeProperyMask is clear. + PcdPostCodePropertyMask is clear. =20 **/ BOOLEAN @@ -103,9 +103,9 @@ PostCodeEnabled ( bit of PcdPostCodePropertyMask is set. Otherwise FALSE is returned. =20 @retval TRUE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit= of - PcdPostCodeProperyMask is set. + PcdPostCodePropertyMask is set. @retval FALSE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit= of - PcdPostCodeProperyMask is clear. + PcdPostCodePropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/BasePostCodeLibPort80/PostCode.c b/MdePkg/Libra= ry/BasePostCodeLibPort80/PostCode.c index 306906a750..11b1875e3b 100644 --- a/MdePkg/Library/BasePostCodeLibPort80/PostCode.c +++ b/MdePkg/Library/BasePostCodeLibPort80/PostCode.c @@ -100,9 +100,9 @@ PostCodeWithDescription ( bit of PcdPostCodePropertyMask is set. Otherwise FALSE is returned. =20 @retval TRUE The POST_CODE_PROPERTY_POST_CODE_ENABLED bit of - PcdPostCodeProperyMask is set. + PcdPostCodePropertyMask is set. @retval FALSE The POST_CODE_PROPERTY_POST_CODE_ENABLED bit of - PcdPostCodeProperyMask is clear. + PcdPostCodePropertyMask is clear. =20 **/ BOOLEAN @@ -121,9 +121,9 @@ PostCodeEnabled ( bit of PcdPostCodePropertyMask is set. Otherwise FALSE is returned. =20 @retval TRUE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit= of - PcdPostCodeProperyMask is set. + PcdPostCodePropertyMask is set. @retval FALSE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit= of - PcdPostCodeProperyMask is clear. + PcdPostCodePropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCod= eLib.c b/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLib= .c index a1506a73e3..d1d37097af 100644 --- a/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLib.c +++ b/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLib.c @@ -316,12 +316,12 @@ ReportStatusCodeEx ( Returns TRUE if status codes of type EFI_PROGRESS_CODE are enabled =20 This function returns TRUE if the REPORT_STATUS_CODE_PROPERTY_PROGRESS_C= ODE_ENABLED - bit of PcdReportStatusCodeProperyMask is set. Otherwise FALSE is return= ed. + bit of PcdReportStatusCodePropertyMask is set. Otherwise FALSE is retur= ned. =20 @retval TRUE The REPORT_STATUS_CODE_PROPERTY_PROGRESS_CODE_ENABLED bi= t of - PcdReportStatusCodeProperyMask is set. + PcdReportStatusCodePropertyMask is set. @retval FALSE The REPORT_STATUS_CODE_PROPERTY_PROGRESS_CODE_ENABLED bi= t of - PcdReportStatusCodeProperyMask is clear. + PcdReportStatusCodePropertyMask is clear. =20 **/ BOOLEAN @@ -337,12 +337,12 @@ ReportProgressCodeEnabled ( Returns TRUE if status codes of type EFI_ERROR_CODE are enabled =20 This function returns TRUE if the REPORT_STATUS_CODE_PROPERTY_ERROR_CODE= _ENABLED - bit of PcdReportStatusCodeProperyMask is set. Otherwise FALSE is return= ed. + bit of PcdReportStatusCodePropertyMask is set. Otherwise FALSE is retur= ned. =20 @retval TRUE The REPORT_STATUS_CODE_PROPERTY_ERROR_CODE_ENABLED bit of - PcdReportStatusCodeProperyMask is set. + PcdReportStatusCodePropertyMask is set. @retval FALSE The REPORT_STATUS_CODE_PROPERTY_ERROR_CODE_ENABLED bit of - PcdReportStatusCodeProperyMask is clear. + PcdReportStatusCodePropertyMask is clear. =20 **/ BOOLEAN @@ -358,12 +358,12 @@ ReportErrorCodeEnabled ( Returns TRUE if status codes of type EFI_DEBUG_CODE are enabled =20 This function returns TRUE if the REPORT_STATUS_CODE_PROPERTY_DEBUG_CODE= _ENABLED - bit of PcdReportStatusCodeProperyMask is set. Otherwise FALSE is return= ed. + bit of PcdReportStatusCodePropertyMask is set. Otherwise FALSE is retur= ned. =20 @retval TRUE The REPORT_STATUS_CODE_PROPERTY_DEBUG_CODE_ENABLED bit of - PcdReportStatusCodeProperyMask is set. + PcdReportStatusCodePropertyMask is set. @retval FALSE The REPORT_STATUS_CODE_PROPERTY_DEBUG_CODE_ENABLED bit of - PcdReportStatusCodeProperyMask is clear. + PcdReportStatusCodePropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/BaseS3PciLib/S3PciLib.c b/MdePkg/Library/BaseS3= PciLib/S3PciLib.c index 6530d38da9..653560d317 100644 --- a/MdePkg/Library/BaseS3PciLib/S3PciLib.c +++ b/MdePkg/Library/BaseS3PciLib/S3PciLib.c @@ -1177,7 +1177,7 @@ S3PciBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1223,7 +1223,7 @@ S3PciReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/BaseS3PciSegmentLib/S3PciSegmentLib.c b/MdePkg/= Library/BaseS3PciSegmentLib/S3PciSegmentLib.c index 28a64c1899..4570c9bde3 100644 --- a/MdePkg/Library/BaseS3PciSegmentLib/S3PciSegmentLib.c +++ b/MdePkg/Library/BaseS3PciSegmentLib/S3PciSegmentLib.c @@ -1156,7 +1156,7 @@ S3PciSegmentBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1202,7 +1202,7 @@ S3PciSegmentReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c b= /MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c index 2f0a0c8c45..3100a07756 100644 --- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c +++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c @@ -581,7 +581,7 @@ Decode ( goto Done; } else { // - // Write orignal character into mDstBase + // Write original character into mDstBase // Sd->mDstBase[Sd->mOutBuf++] =3D (UINT8)CharC; } diff --git a/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c b/MdePk= g/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c index 11d188d07f..a5a73cb30f 100644 --- a/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c +++ b/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c @@ -254,8 +254,8 @@ DebugBPrint ( =20 Print a message of the form "ASSERT (): \n" to the debug output device. If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED= bit of - PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if - DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set= then + PcdDebugPropertyMask is set then CpuBreakpoint() is called. Otherwise, if + DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugPropertyMask is se= t then CpuDeadLoop() is called. If neither of these bits are set, then this fu= nction returns immediately after the message is printed to the debug output dev= ice. DebugAssert() must actively prevent recursion. If DebugAssert() is call= ed while @@ -346,10 +346,10 @@ DebugClearMemory ( Returns TRUE if ASSERT() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN @@ -365,10 +365,10 @@ DebugAssertEnabled ( Returns TRUE if DEBUG() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit= of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is clear. =20 **/ BOOLEAN @@ -384,10 +384,10 @@ DebugPrintEnabled ( Returns TRUE if DEBUG_CODE() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit = of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is clear. =20 **/ BOOLEAN @@ -403,10 +403,10 @@ DebugCodeEnabled ( Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c b/= MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c index bf2da0c0cf..4d30e2d15e 100644 --- a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c +++ b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PostCode.c @@ -112,9 +112,9 @@ PostCodeWithDescription ( bit of PcdPostCodePropertyMask is set. Otherwise FALSE is returned. =20 @retval TRUE The POST_CODE_PROPERTY_POST_CODE_ENABLED bit of - PcdPostCodeProperyMask is set. + PcdPostCodePropertyMask is set. @retval FALSE The POST_CODE_PROPERTY_POST_CODE_ENABLED bit of - PcdPostCodeProperyMask is clear. + PcdPostCodePropertyMask is clear. =20 **/ BOOLEAN @@ -133,9 +133,9 @@ PostCodeEnabled ( bit of PcdPostCodePropertyMask is set. Otherwise FALSE is returned. =20 @retval TRUE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit= of - PcdPostCodeProperyMask is set. + PcdPostCodePropertyMask is set. @retval FALSE The POST_CODE_PROPERTY_POST_CODE_DESCRIPTION_ENABLED bit= of - PcdPostCodeProperyMask is clear. + PcdPostCodePropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c b/MdePkg/Library/PeiP= ciLibPciCfg2/PciLib.c index 18823307e1..48197f4bf9 100644 --- a/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c +++ b/MdePkg/Library/PeiPciLibPciCfg2/PciLib.c @@ -1226,7 +1226,7 @@ PciBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1324,7 +1324,7 @@ PciReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c b/MdePk= g/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c index 80cddbefd3..5ae3a578e8 100644 --- a/MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c +++ b/MdePkg/Library/PeiPciSegmentLibPciCfg2/PciSegmentLib.c @@ -1217,7 +1217,7 @@ PciSegmentBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1315,7 +1315,7 @@ PciSegmentReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c b/MdePkg/Library/= UefiDebugLibConOut/DebugLib.c index 65c8dc2b46..8f49da220b 100644 --- a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibConOut/DebugLib.c @@ -177,8 +177,8 @@ DebugBPrint ( =20 Print a message of the form "ASSERT (): \n" to the debug output device. If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED= bit of - PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if - DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set= then + PcdDebugPropertyMask is set then CpuBreakpoint() is called. Otherwise, if + DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugPropertyMask is se= t then CpuDeadLoop() is called. If neither of these bits are set, then this fu= nction returns immediately after the message is printed to the debug output dev= ice. DebugAssert() must actively prevent recursion. If DebugAssert() is call= ed while @@ -273,10 +273,10 @@ DebugClearMemory ( Returns TRUE if ASSERT() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN @@ -292,10 +292,10 @@ DebugAssertEnabled ( Returns TRUE if DEBUG() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit= of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is clear. =20 **/ BOOLEAN @@ -311,10 +311,10 @@ DebugPrintEnabled ( Returns TRUE if DEBUG_CODE() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit = of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is clear. =20 **/ BOOLEAN @@ -330,10 +330,10 @@ DebugCodeEnabled ( Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c b/MdeP= kg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c index c25199b53f..3314d3f69a 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c @@ -233,8 +233,8 @@ DebugBPrint ( =20 Print a message of the form "ASSERT (): \n" to the debug output device. If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED= bit of - PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if - DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set= then + PcdDebugPropertyMask is set then CpuBreakpoint() is called. Otherwise, if + DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugPropertyMask is se= t then CpuDeadLoop() is called. If neither of these bits are set, then this fu= nction returns immediately after the message is printed to the debug output dev= ice. DebugAssert() must actively prevent recursion. If DebugAssert() is call= ed while @@ -327,10 +327,10 @@ DebugClearMemory ( Returns TRUE if ASSERT() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN @@ -346,10 +346,10 @@ DebugAssertEnabled ( Returns TRUE if DEBUG() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit= of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is clear. =20 **/ BOOLEAN @@ -365,10 +365,10 @@ DebugPrintEnabled ( Returns TRUE if DEBUG_CODE() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit = of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is clear. =20 **/ BOOLEAN @@ -384,10 +384,10 @@ DebugCodeEnabled ( Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c b/MdePkg/Library/= UefiDebugLibStdErr/DebugLib.c index 5b28cd10ae..dc9c5254db 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c @@ -177,8 +177,8 @@ DebugBPrint ( =20 Print a message of the form "ASSERT (): \n" to the debug output device. If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED= bit of - PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if - DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set= then + PcdDebugPropertyMask is set then CpuBreakpoint() is called. Otherwise, if + DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugPropertyMask is se= t then CpuDeadLoop() is called. If neither of these bits are set, then this fu= nction returns immediately after the message is printed to the debug output dev= ice. DebugAssert() must actively prevent recursion. If DebugAssert() is call= ed while @@ -273,10 +273,10 @@ DebugClearMemory ( Returns TRUE if ASSERT() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN @@ -292,10 +292,10 @@ DebugAssertEnabled ( Returns TRUE if DEBUG() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit= of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= roperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugP= ropertyMask is clear. =20 **/ BOOLEAN @@ -311,10 +311,10 @@ DebugPrintEnabled ( Returns TRUE if DEBUG_CODE() macros are enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit = of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is set. - @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= operyMask is clear. + @retval TRUE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is set. + @retval FALSE The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPr= opertyMask is clear. =20 **/ BOOLEAN @@ -330,10 +330,10 @@ DebugCodeEnabled ( Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled. =20 This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bi= t of - PcdDebugProperyMask is set. Otherwise FALSE is returned. + PcdDebugPropertyMask is set. Otherwise FALSE is returned. =20 - @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is set. - @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= ProperyMask is clear. + @retval TRUE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is set. + @retval FALSE The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebug= PropertyMask is clear. =20 **/ BOOLEAN diff --git a/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c b/MdePkg/= Library/UefiFileHandleLib/UefiFileHandleLib.c index 86678e965d..cb0d345f3a 100644 --- a/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c +++ b/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c @@ -787,7 +787,7 @@ StrnCatGrowLeft ( @param[out] FullFileName pointer to pointer to generated full file = name. It is the responsibility of the caller to fre= e this memory with a call to FreePool(). - @retval EFI_SUCCESS the operation was sucessful and the FullFi= leName is valid. + @retval EFI_SUCCESS the operation was successful and the FullF= ileName is valid. @retval EFI_INVALID_PARAMETER Handle was NULL. @retval EFI_INVALID_PARAMETER FullFileName was NULL. @retval EFI_OUT_OF_RESOURCES a memory allocation failed. diff --git a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c b/MdePkg/Lib= rary/UefiPciLibPciRootBridgeIo/PciLib.c index f4e9882eba..cc0f92dda1 100644 --- a/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c +++ b/MdePkg/Library/UefiPciLibPciRootBridgeIo/PciLib.c @@ -1238,7 +1238,7 @@ PciBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1336,7 +1336,7 @@ PciReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.= c b/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c index c7988367cf..ad3e80f46d 100644 --- a/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c +++ b/MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/PciSegmentLib.c @@ -1298,7 +1298,7 @@ PciSegmentBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1396,7 +1396,7 @@ PciSegmentReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 --=20 2.39.2 (Apple Git-144) -=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 (#104788): https://edk2.groups.io/g/devel/message/104788 Mute This Topic: https://groups.io/mt/98846369/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-