summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/ArmMmuLib
diff options
context:
space:
mode:
authorAntoine Cœur <coeur@gmx.fr>2019-02-06 23:39:35 +0800
committerLeif Lindholm <leif.lindholm@linaro.org>2019-07-04 12:20:28 +0100
commitff5fef1428dafc8f73e1f5d63966ef5c9bd8c420 (patch)
treee101e619122fa00859d5d776a026556ef7401e76 /ArmPkg/Library/ArmMmuLib
parent080981d72dcbb782ad73716c439639324b0aa4dd (diff)
downloadedk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.tar.gz
edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.tar.bz2
edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.zip
ArmPkg: Fix various typos
Fix various typos in ArmPkg. Signed-off-by: Coeur <coeur@gmx.fr> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Library/ArmMmuLib')
-rw-r--r--ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c2
-rw-r--r--ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c
index 2cd584c898..e8f5c69e31 100644
--- a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c
+++ b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c
@@ -352,7 +352,7 @@ UpdateRegionMapping (
do {
// Get the first Block Entry that matches the Virtual Address and also the information on the Table Descriptor
- // such as the the size of the Block Entry and the address of the last BlockEntry of the Table Descriptor
+ // such as the size of the Block Entry and the address of the last BlockEntry of the Table Descriptor
BlockEntrySize = RegionLength;
BlockEntry = GetBlockEntryListFromAddress (RootTable, RegionStart, &TableLevel, &BlockEntrySize, &LastBlockEntry);
if (BlockEntry == NULL) {
diff --git a/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c b/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c
index edb4de341f..74ac31de98 100644
--- a/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c
+++ b/ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c
@@ -691,7 +691,7 @@ UpdateSectionEntries (
for(i=0; i<NumSections; i++) {
CurrentDescriptor = FirstLevelTable[FirstLevelIdx + i];
- // has this descriptor already been coverted to pages?
+ // has this descriptor already been converted to pages?
if (TT_DESCRIPTOR_SECTION_TYPE_IS_PAGE_TABLE(CurrentDescriptor)) {
// forward this 1MB range to page table function instead
Status = UpdatePageEntries (