summaryrefslogtreecommitdiff
path: root/ArmPkg/Library
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-06 15:47:23 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-06-06 15:47:23 +0000
commit526099f9680c5260998a6d6066dd043aafce0a4b (patch)
tree59afddebbc81e246086586608d2102b7ec97a3fa /ArmPkg/Library
parent2d1f3dd497f343bc54b4a164d4e9f015ae04f7dc (diff)
downloadedk2-platforms-526099f9680c5260998a6d6066dd043aafce0a4b.tar.xz
ArmPkg/ArmLib: Fixed parameter checking in ArmConfigureMmu()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13429 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library')
-rw-r--r--ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c
index a0fbc1ff5c..6fa770edbf 100644
--- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c
+++ b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c
@@ -214,7 +214,7 @@ ArmConfigureMmu (
*TranslationTableBase = (VOID *)TranslationTable;
}
- if (TranslationTableBase != NULL) {
+ if (TranslationTableSize != NULL) {
*TranslationTableSize = TRANSLATION_TABLE_SECTION_SIZE;
}