From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=212.227.15.18; helo=mout.gmx.net; envelope-from=coeur@gmx.fr; receiver=edk2-devel@lists.01.org Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 64E9B21962301 for ; Wed, 6 Feb 2019 07:45:00 -0800 (PST) Received: from [47.52.140.127] ([47.52.140.127]) by web-mail.gmx.net (3c-app-gmx-bs19.server.lan [172.19.170.71]) (via HTTP); Wed, 6 Feb 2019 16:44:58 +0100 MIME-Version: 1.0 Message-ID: From: "Antoine Coeur" To: edk2-devel@lists.01.org Date: Wed, 6 Feb 2019 16:44:58 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:W4vhjaVf6YEC/Kb5lb5YdWORVv7Mi+Rtn5k8f8N2T2anAA7AAyF8t3PYvWxYEXEzyuGQR lesQnliJ3TnKuXsT6Rcio0oBd+VvUcA48TuQU/NwsHEY+jTsVH94SLt49GOaYStYcICJE43PsEQu MqH7PTQpj2kzzxTcFMlgHpgQ2zyaIX604Kwrn5bEnWE996F+nFcFwaF+6+TDhbQECpxMSA9SNXlS vXwwFjNooQueP0Etetp9xiy4l9NM/Y56Ks9VLaU2B3q1ASJGdqZpXJXq5w4sogAU1Y7QFKnn8hMl 5U= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:HPsKBslypxI=:HDfvgngLzkN6XoUmYd+Rfs u6cCS2yx3WBdMkirSGuCE5tGFSWA7eRfuRxGWogdoXESAnH2288laETt3xKoBF33DCm7yfCFL Ig1sty135o2cyZj5frzIlPnLILYfCKI5SEqbakqCGGVwVZXLvR2kWoCWaS2dJnu688pOuvhhU hFT9gsgneuLilaml0+I7qonr8FY5+n2v9Z1fYGjMC72OP+hFvsddcpQQwOyfxmKu+ZjoqZYkl EiqIxarQOo5Hc2h8tMoJyn8Uz/UvfzaqK1AapVRs127p39S8tGPhinnFoUh85C9rOWLaI3JS+ 5He/4rhuIdNKKyoTVeVpXeLTBqHwRmbGWe+0MfdK+50Z/4t+bXXR3Xe6KD+9TJZLy6rKbeLln h2PUOLeW0DDXJcY/2ijsnOC5M57jLe91W0tSfbG4+e9uZkd3VaGXu47ammZZ4TrRc9Ev0Ewop 7JE6SwwqhLyncgnI/S+4sXEvBRaPyy6EWDwb8+oyOiQchvivsS1pFtYO0zF0pnkux6qFo0EuO RW5j6lHV1aJ6rx6LGOrWVah4mLPuE+HKq31E/kbE4CNkkhOKY+Si6AywkW0K1XHPZ1Dub94bt ktO68kVuLOxNI= Subject: [PATCH v2] ArmPkg: Fix various typos X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 X-List-Received-Date: Wed, 06 Feb 2019 15:45:01 -0000 Content-Type: text/plain; charset=UTF-8 Fix various typos in ArmPkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur --- .../Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c | 2 +- ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c | 2 +- ArmPkg/Drivers/CpuDxe/Arm/Mmu.c | 2 +- ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c | 2 +- ArmPkg/Drivers/CpuDxe/CpuMpCore.c | 4 +-- ArmPkg/Drivers/CpuDxe/Exception.c | 2 +- ArmPkg/Drivers/CpuPei/CpuPei.c | 2 +- ArmPkg/Drivers/TimerDxe/TimerDxe.c | 2 +- ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c | 2 +- ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h | 2 +- ArmPkg/Include/Library/ArmDisassemblerLib.h | 4 +-- .../Library/ArmArchTimerLib/ArmArchTimerLib.c | 2 +- .../ArmDisassemblerLib/Aarch64Disassembler.c | 2 +- .../ArmDisassemblerLib/ArmDisassembler.c | 4 +-- .../ArmDisassemblerLib/ThumbDisassembler.c | 14 ++++---- .../ArmExceptionLib/Arm/ExceptionSupport.S | 2 +- .../ArmExceptionLib/Arm/ExceptionSupport.asm | 2 +- .../Library/ArmExceptionLib/ArmExceptionLib.c | 4 +-- .../Library/ArmLib/AArch64/AArch64Support.S | 6 ++-- .../Library/ArmLib/AArch64/ArmLibSupportV8.S | 2 +- .../Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 2 +- ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c | 2 +- .../DebugPeCoffExtraActionLib.inf | 2 +- .../AArch64/DefaultExceptionHandler.c | 2 +- .../Arm/DefaultExceptionHandler.c | 2 +- .../PlatformBootManagerLib/PlatformBm.c | 4 +-- .../RvdPeCoffExtraActionLib.c | 2 +- .../RvdPeCoffExtraActionLib.inf | 2 +- ArmPkg/Library/SemiHostingDebugLib/DebugLib.c | 32 +++++++++---------- .../SemiHostingSerialPortLib.inf | 2 +- .../SemiHostingSerialPortLib/SerialPortLib.c | 8 ++--- 31 files changed, 62 insertions(+), 62 deletions(-) diff --git a/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c b/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c index fecf6a87ad..9eb6691aac 100644 --- a/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c +++ b/ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c @@ -152,7 +152,7 @@ CpuIoCheckParameter ( // // Since MAX_ADDRESS can be the maximum integer value supported by the CPU and Count // can also be the maximum integer value supported by the CPU, this range - // check must be adjusted to avoid all oveflow conditions. + // check must be adjusted to avoid all overflow conditions. // // The following form of the range check is equivalent but assumes that // MAX_ADDRESS and MAX_IO_PORT_ADDRESS are of the form (2^n - 1). diff --git a/ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c b/ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c index 3e216c7cb2..f4db4e13e5 100644 --- a/ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c +++ b/ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c @@ -287,7 +287,7 @@ GetMemoryRegionRec ( BlockEntry++; } else if (EntryType == BlockEntryType) { // We have found the BlockEntry attached to the address. We save its start address (the start - // address might be before the 'BaseAdress') and attributes + // address might be before the 'BaseAddress') and attributes *BaseAddress = *BaseAddress & ~(TT_ADDRESS_AT_LEVEL(TableLevel) - 1); *RegionLength = 0; *RegionAttributes = *BlockEntry & TT_ATTRIBUTES_MASK; diff --git a/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c b/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c index 3b29d33d0a..ef49d5a595 100644 --- a/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c +++ b/ArmPkg/Drivers/CpuDxe/Arm/Mmu.c @@ -240,7 +240,7 @@ SyncCacheConfig ( EFI_GCD_MEMORY_SPACE_DESCRIPTOR *MemorySpaceMap; - DEBUG ((EFI_D_PAGE, "SyncCacheConfig()\n")); + DEBUG ((DEBUG_PAGE, "SyncCacheConfig()\n")); // This code assumes MMU is enabled and filed with section translations ASSERT (ArmMmuEnabled ()); diff --git a/ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c b/ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c index 8150486217..ddce2d57a0 100644 --- a/ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c +++ b/ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c @@ -194,7 +194,7 @@ CpuSetMemoryAttributes ( if ((BaseAddress & (SIZE_4KB - 1)) != 0) { // Minimum granularity is SIZE_4KB (4KB on ARM) - DEBUG ((EFI_D_PAGE, "CpuSetMemoryAttributes(%lx, %lx, %lx): Minimum ganularity is SIZE_4KB\n", BaseAddress, Length, EfiAttributes)); + DEBUG ((DEBUG_PAGE, "CpuSetMemoryAttributes(%lx, %lx, %lx): Minimum granularity is SIZE_4KB\n", BaseAddress, Length, EfiAttributes)); return EFI_UNSUPPORTED; } diff --git a/ArmPkg/Drivers/CpuDxe/CpuMpCore.c b/ArmPkg/Drivers/CpuDxe/CpuMpCore.c index 81d858ea25..240e2ee881 100644 --- a/ArmPkg/Drivers/CpuDxe/CpuMpCore.c +++ b/ArmPkg/Drivers/CpuDxe/CpuMpCore.c @@ -67,7 +67,7 @@ PublishArmProcessorTable ( // Allocate Runtime memory for ARM processor table ArmProcessorTable = (ARM_PROCESSOR_TABLE*)AllocateRuntimePool(sizeof(ARM_PROCESSOR_TABLE)); - // Check if the memory allocation is succesful or not + // Check if the memory allocation is successful or not ASSERT(NULL != ArmProcessorTable); // Set ARM processor table to default values @@ -87,7 +87,7 @@ PublishArmProcessorTable ( ArmProcessorTable->ArmCpus = (ARM_CORE_INFO*)AllocateRuntimePool ( ArmProcessorTable->NumberOfEntries * sizeof(ARM_CORE_INFO)); - // Check if the memory allocation is succesful or not + // Check if the memory allocation is successful or not ASSERT(NULL != ArmProcessorTable->ArmCpus); // Copy ARM Processor Table data from HOB list to newly allocated memory diff --git a/ArmPkg/Drivers/CpuDxe/Exception.c b/ArmPkg/Drivers/CpuDxe/Exception.c index d806a5fdf9..f8a129cf41 100644 --- a/ArmPkg/Drivers/CpuDxe/Exception.c +++ b/ArmPkg/Drivers/CpuDxe/Exception.c @@ -33,7 +33,7 @@ InitializeExceptions ( VectorInfo = VectorInfoList; } - // intialize the CpuExceptionHandlerLib so we take over the exception vector table from the DXE Core + // initialize the CpuExceptionHandlerLib so we take over the exception vector table from the DXE Core InitializeCpuExceptionHandlers(VectorInfo); Status = EFI_SUCCESS; diff --git a/ArmPkg/Drivers/CpuPei/CpuPei.c b/ArmPkg/Drivers/CpuPei/CpuPei.c index e63519ff64..70534227d4 100644 --- a/ArmPkg/Drivers/CpuPei/CpuPei.c +++ b/ArmPkg/Drivers/CpuPei/CpuPei.c @@ -29,7 +29,7 @@ Abstract: // #include // -// The protocols, PPI and GUID defintions for this module +// The protocols, PPI and GUID definitions for this module // #include diff --git a/ArmPkg/Drivers/TimerDxe/TimerDxe.c b/ArmPkg/Drivers/TimerDxe/TimerDxe.c index 478f1bece5..7d43ff757a 100644 --- a/ArmPkg/Drivers/TimerDxe/TimerDxe.c +++ b/ArmPkg/Drivers/TimerDxe/TimerDxe.c @@ -371,7 +371,7 @@ TimerInitialize ( UINT32 TimerHypIntrNum; if (ArmIsArchTimerImplemented () == 0) { - DEBUG ((EFI_D_ERROR, "ARM Architectural Timer is not available in the CPU, hence cann't use this Driver \n")); + DEBUG ((DEBUG_ERROR, "ARM Architectural Timer is not available in the CPU, hence can't use this Driver \n")); ASSERT (0); } diff --git a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c index 92aa5f8b0e..581584699d 100644 --- a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c +++ b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c @@ -697,7 +697,7 @@ FileGetPosition ( @param[in] Position The byte position from the start of the file to set. @retval EFI_SUCCESS The position was set. - @retval EFI_DEVICE_ERROR The semi-hosting positionning operation failed. + @retval EFI_DEVICE_ERROR The semi-hosting positioning operation failed. @retval EFI_UNSUPPORTED The seek request for nonzero is not valid on open directories. @retval EFI_INVALID_PARAMETER The parameter "This" is NULL. diff --git a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h index 93395743ba..f434af7b26 100644 --- a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h +++ b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h @@ -163,7 +163,7 @@ FileGetPosition ( @param[in] Position The byte position from the start of the file to set. @retval EFI_SUCCESS The position was set. - @retval EFI_DEVICE_ERROR The semi-hosting positionning operation failed. + @retval EFI_DEVICE_ERROR The semi-hosting positioning operation failed. @retval EFI_UNSUPPORTED The seek request for nonzero is not valid on open directories. diff --git a/ArmPkg/Include/Library/ArmDisassemblerLib.h b/ArmPkg/Include/Library/ArmDisassemblerLib.h index d6a493f2cb..686c8cd34a 100644 --- a/ArmPkg/Include/Library/ArmDisassemblerLib.h +++ b/ArmPkg/Include/Library/ArmDisassemblerLib.h @@ -16,8 +16,8 @@ #define __ARM_DISASSEBLER_LIB_H__ /** - Place a dissasembly of of **OpCodePtr into buffer, and update OpCodePtr to - point to next instructin. + Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to + point to next instruction. We cheat and only decode instructions that access memory. If the instruction is not found we dump the instruction in hex. diff --git a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c index b81293c5cf..a595527d99 100644 --- a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c +++ b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c @@ -158,7 +158,7 @@ MicroSecondDelay ( @param NanoSeconds The minimum number of nanoseconds to delay. - @return The value of NanoSeconds inputed. + @return The value of NanoSeconds inputted. **/ UINTN diff --git a/ArmPkg/Library/ArmDisassemblerLib/Aarch64Disassembler.c b/ArmPkg/Library/ArmDisassemblerLib/Aarch64Disassembler.c index 3ecae77d33..9ca24ec0db 100644 --- a/ArmPkg/Library/ArmDisassemblerLib/Aarch64Disassembler.c +++ b/ArmPkg/Library/ArmDisassemblerLib/Aarch64Disassembler.c @@ -19,7 +19,7 @@ #include /** - Place a disassembly of of **OpCodePtr into buffer, and update OpCodePtr to + Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to point to next instruction. @param OpCodePtrPtr Pointer to pointer of instruction to disassemble. diff --git a/ArmPkg/Library/ArmDisassemblerLib/ArmDisassembler.c b/ArmPkg/Library/ArmDisassemblerLib/ArmDisassembler.c index b449a5d3cd..661bddd901 100644 --- a/ArmPkg/Library/ArmDisassemblerLib/ArmDisassembler.c +++ b/ArmPkg/Library/ArmDisassemblerLib/ArmDisassembler.c @@ -143,8 +143,8 @@ RotateRight ( /** - Place a dissasembly of of **OpCodePtr into buffer, and update OpCodePtr to - point to next instructin. + Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to + point to next instruction. We cheat and only decode instructions that access memory. If the instruction is not found we dump the instruction in hex. diff --git a/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c b/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c index 8c7285bcae..1dabff833f 100644 --- a/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c +++ b/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c @@ -1,5 +1,5 @@ /** @file - Thumb Dissassembler. Still a work in progress. + Thumb Disassembler. Still a work in progress. Wrong output is a bug, so please fix it. Hex output means there is not yet an entry or a decode bug. @@ -109,7 +109,7 @@ typedef struct { } THUMB_INSTRUCTIONS; THUMB_INSTRUCTIONS gOpThumb[] = { -// Thumb 16-bit instrucitons +// Thumb 16-bit instructions // Op Mask Format { "ADC" , 0x4140, 0xffc0, DATA_FORMAT5 }, // ADC , { "ADR", 0xa000, 0xf800, ADR_FORMAT }, // ADR ,