Skip to content

Commit ff5fef1

Browse files
CoeurLeif Lindholm
authored andcommitted
ArmPkg: Fix various typos
Fix various typos in ArmPkg. Signed-off-by: Coeur <[email protected]> Reviewed-by: Leif Lindholm <[email protected]>
1 parent 080981d commit ff5fef1

File tree

31 files changed

+62
-62
lines changed

31 files changed

+62
-62
lines changed

ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ CpuIoCheckParameter (
146146
//
147147
// Since MAX_ADDRESS can be the maximum integer value supported by the CPU and Count
148148
// can also be the maximum integer value supported by the CPU, this range
149-
// check must be adjusted to avoid all oveflow conditions.
149+
// check must be adjusted to avoid all overflow conditions.
150150
//
151151
// The following form of the range check is equivalent but assumes that
152152
// MAX_ADDRESS and MAX_IO_PORT_ADDRESS are of the form (2^n - 1).

ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ GetMemoryRegionRec (
281281
BlockEntry++;
282282
} else if (EntryType == BlockEntryType) {
283283
// We have found the BlockEntry attached to the address. We save its start address (the start
284-
// address might be before the 'BaseAdress') and attributes
284+
// address might be before the 'BaseAddress') and attributes
285285
*BaseAddress = *BaseAddress & ~(TT_ADDRESS_AT_LEVEL(TableLevel) - 1);
286286
*RegionLength = 0;
287287
*RegionAttributes = *BlockEntry & TT_ATTRIBUTES_MASK;

ArmPkg/Drivers/CpuDxe/Arm/Mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ SyncCacheConfig (
234234
EFI_GCD_MEMORY_SPACE_DESCRIPTOR *MemorySpaceMap;
235235

236236

237-
DEBUG ((EFI_D_PAGE, "SyncCacheConfig()\n"));
237+
DEBUG ((DEBUG_PAGE, "SyncCacheConfig()\n"));
238238

239239
// This code assumes MMU is enabled and filed with section translations
240240
ASSERT (ArmMmuEnabled ());

ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ CpuSetMemoryAttributes (
188188

189189
if ((BaseAddress & (SIZE_4KB - 1)) != 0) {
190190
// Minimum granularity is SIZE_4KB (4KB on ARM)
191-
DEBUG ((EFI_D_PAGE, "CpuSetMemoryAttributes(%lx, %lx, %lx): Minimum ganularity is SIZE_4KB\n", BaseAddress, Length, EfiAttributes));
191+
DEBUG ((DEBUG_PAGE, "CpuSetMemoryAttributes(%lx, %lx, %lx): Minimum granularity is SIZE_4KB\n", BaseAddress, Length, EfiAttributes));
192192
return EFI_UNSUPPORTED;
193193
}
194194

ArmPkg/Drivers/CpuDxe/CpuMpCore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PublishArmProcessorTable (
6161
// Allocate Runtime memory for ARM processor table
6262
ArmProcessorTable = (ARM_PROCESSOR_TABLE*)AllocateRuntimePool(sizeof(ARM_PROCESSOR_TABLE));
6363

64-
// Check if the memory allocation is succesful or not
64+
// Check if the memory allocation is successful or not
6565
ASSERT(NULL != ArmProcessorTable);
6666

6767
// Set ARM processor table to default values
@@ -81,7 +81,7 @@ PublishArmProcessorTable (
8181
ArmProcessorTable->ArmCpus = (ARM_CORE_INFO*)AllocateRuntimePool (
8282
ArmProcessorTable->NumberOfEntries * sizeof(ARM_CORE_INFO));
8383

84-
// Check if the memory allocation is succesful or not
84+
// Check if the memory allocation is successful or not
8585
ASSERT(NULL != ArmProcessorTable->ArmCpus);
8686

8787
// Copy ARM Processor Table data from HOB list to newly allocated memory

ArmPkg/Drivers/CpuDxe/Exception.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ InitializeExceptions (
2727
VectorInfo = VectorInfoList;
2828
}
2929

30-
// intialize the CpuExceptionHandlerLib so we take over the exception vector table from the DXE Core
30+
// initialize the CpuExceptionHandlerLib so we take over the exception vector table from the DXE Core
3131
InitializeCpuExceptionHandlers(VectorInfo);
3232

3333
Status = EFI_SUCCESS;

ArmPkg/Drivers/CpuPei/CpuPei.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Module Name:
2323
//
2424
#include <PiPei.h>
2525
//
26-
// The protocols, PPI and GUID defintions for this module
26+
// The protocols, PPI and GUID definitions for this module
2727
//
2828
#include <Ppi/ArmMpCoreInfo.h>
2929

ArmPkg/Drivers/TimerDxe/TimerDxe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ TimerInitialize (
365365
UINT32 TimerHypIntrNum;
366366

367367
if (ArmIsArchTimerImplemented () == 0) {
368-
DEBUG ((EFI_D_ERROR, "ARM Architectural Timer is not available in the CPU, hence cann't use this Driver \n"));
368+
DEBUG ((DEBUG_ERROR, "ARM Architectural Timer is not available in the CPU, hence can't use this Driver \n"));
369369
ASSERT (0);
370370
}
371371

ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ FileGetPosition (
691691
@param[in] Position The byte position from the start of the file to set.
692692
693693
@retval EFI_SUCCESS The position was set.
694-
@retval EFI_DEVICE_ERROR The semi-hosting positionning operation failed.
694+
@retval EFI_DEVICE_ERROR The semi-hosting positioning operation failed.
695695
@retval EFI_UNSUPPORTED The seek request for nonzero is not valid on open
696696
directories.
697697
@retval EFI_INVALID_PARAMETER The parameter "This" is NULL.

ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ FileGetPosition (
157157
@param[in] Position The byte position from the start of the file to set.
158158
159159
@retval EFI_SUCCESS The position was set.
160-
@retval EFI_DEVICE_ERROR The semi-hosting positionning operation failed.
160+
@retval EFI_DEVICE_ERROR The semi-hosting positioning operation failed.
161161
@retval EFI_UNSUPPORTED The seek request for nonzero is not valid on open
162162
directories.
163163

0 commit comments

Comments
 (0)