From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zg8tmtyylji0my4xnjeumjiw.icoremail.net (zg8tmtyylji0my4xnjeumjiw.icoremail.net [162.243.161.220]) by mx.groups.io with SMTP id smtpd.web11.71128.1669973123946931854 for ; Fri, 02 Dec 2022 01:25:25 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: eswincomputing.com, ip: 162.243.161.220, mailfrom: zhangdongdong@eswincomputing.com) Received: from localhost.localdomain (unknown [10.12.130.38]) by app1 (Coremail) with SMTP id EwgMCgAX3YWBxIljqxAVAA--.17219S5; Fri, 02 Dec 2022 17:25:21 +0800 (CST) From: "Dongdong Zhang" To: devel@edk2.groups.io Cc: zhuwenjun@eswincomputing.com, zhengyu@eswincomputing.com, jinyanjiang@eswincomputing.com, Dongdong Zhang Subject: [PATCH 1/3] ArmPkg: Fix typos Date: Fri, 2 Dec 2022 17:25:07 +0800 Message-Id: <20221202092509.12072-2-zhangdongdong@eswincomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221202092509.12072-1-zhangdongdong@eswincomputing.com> References: <20221202092509.12072-1-zhangdongdong@eswincomputing.com> X-CM-TRANSID: EwgMCgAX3YWBxIljqxAVAA--.17219S5 X-Coremail-Antispam: 1UD129KBjvJXoW3Gw13Zw17AFy7AF45JFW5KFg_yoW3Xr43pF 1UGrn7ur18Ga4SvrZrJw48JFWFyFsIkrW5G39IyFsxAr1jyFW7JF1jqrW3X3y7ZrsxCa4I qFW5t3y7ua4qkFDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUBF14x267AKxVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2048vs2IY020E87I2jVAFwI0_Jr4l82xGYIkIc2 x26xkF7I0E14v26r1Y6r1xM28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0 Y4vE2Ix0cI8IcVAFwI0_tr0E3s1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Cr1j6rxdM2 8EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0DM2AI xVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20x vE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xv r2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7MxkIecxEwVCm-wCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUHHq7UUUUU= X-CM-SenderInfo: x2kd0wpgrqwvxrqjqvxvzl0uprps33xlqjhudrp/1tbiAQEICmOI8XExBwAAsf Fix some typos in ArmPkg directory. Signed-off-by: Dongdong Zhang --- ArmPkg/Drivers/ArmScmiDxe/ScmiDxe.c | 2 +- ArmPkg/Include/Library/OemMiscLib.h | 2 +- ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c | 6 +++--- ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S | 2 +- ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S | 2 +- ArmPkg/Library/SemihostLib/Arm/GccSemihost.S | 2 +- ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.c | 6 +++--- ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c | 2 +- .../Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ArmPkg/Drivers/ArmScmiDxe/ScmiDxe.c b/ArmPkg/Drivers/ArmScmiDxe/ScmiDxe.c index 1fc448b9bf..a9cff0c395 100644 --- a/ArmPkg/Drivers/ArmScmiDxe/ScmiDxe.c +++ b/ArmPkg/Drivers/ArmScmiDxe/ScmiDxe.c @@ -40,7 +40,7 @@ STATIC CONST SCMI_PROTOCOL_ENTRY Protocols[] = { install Base, Clock and Performance protocols. @param[in] SystemTable A pointer to boot time system table. - @retval EFI_SUCCESS Driver initalized successfully. + @retval EFI_SUCCESS Driver initialized successfully. @retval EFI_UNSUPPORTED If SCMI base protocol version is not supported. @retval !(EFI_SUCCESS) Other errors. **/ diff --git a/ArmPkg/Include/Library/OemMiscLib.h b/ArmPkg/Include/Library/OemMiscLib.h index 541274999e..02af6afdc2 100644 --- a/ArmPkg/Include/Library/OemMiscLib.h +++ b/ArmPkg/Include/Library/OemMiscLib.h @@ -86,7 +86,7 @@ OemGetCpuFreq ( @param ProcessorIndex Index of the processor to get the information for. @param ProcessorStatus Processor status. - @param ProcessorCharacteristics Processor characteritics. + @param ProcessorCharacteristics Processor characteristics. @param MiscProcessorData Miscellaneous processor information. @return TRUE on success, FALSE on failure. diff --git a/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c b/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c index 6dae7a9121..7083f6f514 100644 --- a/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c +++ b/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c @@ -663,9 +663,9 @@ DisassembleThumbInstruction ( // ITSTATE = cond:mask OpCode[7:4]:OpCode[3:0] // ITSTATE[7:5] == cond[3:1] // ITSTATE[4] == 1st Instruction cond[0] - // ITSTATE[3] == 2st Instruction cond[0] - // ITSTATE[2] == 3st Instruction cond[0] - // ITSTATE[1] == 4st Instruction cond[0] + // ITSTATE[3] == 2nd Instruction cond[0] + // ITSTATE[2] == 3rd Instruction cond[0] + // ITSTATE[1] == 4th Instruction cond[0] // ITSTATE[0] == 1 4 instruction IT block. 0 means 0,1,2 or 3 instructions // 1st one in ITSTATE low bits defines the number of instructions Mask = (OpCode & 0xf); diff --git a/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S index ba0ec5682b..c402154e4c 100644 --- a/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S +++ b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupport.S @@ -20,7 +20,7 @@ ASM_FUNC(ArmReadMidr) ret ASM_FUNC(ArmCacheInfo) - mrs x0, ctr_el0 // Read from Cache Type Regiter (CTR) + mrs x0, ctr_el0 // Read from Cache Type Register (CTR) ret ASM_FUNC(ArmGetInterruptState) diff --git a/ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S index 0ae75e4cb9..6a64219f67 100644 --- a/ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S +++ b/ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S @@ -23,7 +23,7 @@ ASM_FUNC(ArmIsMpCore) - mrs x0, mpidr_el1 // Read EL1 Multiprocessor Affinty Reg (MPIDR) + mrs x0, mpidr_el1 // Read EL1 Multiprocessor Affinity Reg (MPIDR) and x0, x0, #MPIDR_U_MASK // U Bit clear, the processor is part of a multiprocessor system lsr x0, x0, #MPIDR_U_BIT eor x0, x0, #1 diff --git a/ArmPkg/Library/SemihostLib/Arm/GccSemihost.S b/ArmPkg/Library/SemihostLib/Arm/GccSemihost.S index d6f81ec2c9..b1992b605f 100644 --- a/ArmPkg/Library/SemihostLib/Arm/GccSemihost.S +++ b/ArmPkg/Library/SemihostLib/Arm/GccSemihost.S @@ -16,7 +16,7 @@ BKPT 0xAB for ARMv7-M (Thumb-2 only) R0 - operation type - R1 - block containing all other parametes + R1 - block containing all other parameters lr - must be saved as svc instruction will cause an svc exception and write the svc lr register. That happens to be the one we are using, so we must diff --git a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.c b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.c index d55aff7620..c61d6f7b77 100644 --- a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.c +++ b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.c @@ -31,7 +31,7 @@ return it contains the response parameters. @param [out] RetVal Pointer to return the response value. - @retval EFI_SUCCESS Request successfull. + @retval EFI_SUCCESS Request successful. @retval EFI_INVALID_PARAMETER A parameter is invalid. @retval EFI_NOT_READY Callee is busy or not in a state to handle this request. @@ -134,7 +134,7 @@ SendMemoryPermissionRequest ( @param [in] BaseAddress Base address for the memory region. @param [out] MemoryAttributes Pointer to return the memory attributes. - @retval EFI_SUCCESS Request successfull. + @retval EFI_SUCCESS Request successful. @retval EFI_INVALID_PARAMETER A parameter is invalid. @retval EFI_NOT_READY Callee is busy or not in a state to handle this request. @@ -193,7 +193,7 @@ GetMemoryPermissions ( @param [in] Length Length of the memory region. @param [in] Permissions Memory access controls attributes. - @retval EFI_SUCCESS Request successfull. + @retval EFI_SUCCESS Request successful. @retval EFI_INVALID_PARAMETER A parameter is invalid. @retval EFI_NOT_READY Callee is busy or not in a state to handle this request. diff --git a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c index a5d635da9e..dd207a62f7 100644 --- a/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c +++ b/ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c @@ -39,7 +39,7 @@ OemGetCpuFreq ( @param ProcessorIndex Index of the processor to get the information for. @param ProcessorStatus Processor status. - @param ProcessorCharacteristics Processor characteritics. + @param ProcessorCharacteristics Processor characteristics. @param MiscProcessorData Miscellaneous processor information. @return TRUE on success, FALSE on failure. diff --git a/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c b/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c index b961be2133..8d83f0723d 100644 --- a/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c +++ b/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c @@ -79,7 +79,7 @@ SmbiosProcessorHasSeparateCaches ( return SeparateCaches; } -/** Checks if ther ARM64 SoC ID SMC call is supported +/** Checks if the ARM64 SoC ID SMC call is supported @return Whether the ARM64 SoC ID call is supported. **/ -- 2.17.1