diff options
author | Olivier Martin <olivier.martin@arm.com> | 2013-06-19 18:27:55 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-06-19 18:27:55 +0000 |
commit | 918c653e1f3fdcb46acadbb65a431391fcd388d2 (patch) | |
tree | 48385d7bc346952c5efd7d2e447dda670e738c64 /ArmPkg/Library | |
parent | 2425e1d4fea9f25cfee2497595149b451d91296d (diff) | |
download | edk2-918c653e1f3fdcb46acadbb65a431391fcd388d2.zip edk2-918c653e1f3fdcb46acadbb65a431391fcd388d2.tar.gz edk2-918c653e1f3fdcb46acadbb65a431391fcd388d2.tar.bz2 |
ArmPkg/ArmLib: Removed ArmInvalidateTlb when disabling cache as ArmDisableMmu() already does it
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14436 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library')
-rw-r--r-- | ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c index 6fa770e..7881a9b 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c +++ b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c @@ -222,10 +222,10 @@ ArmConfigureMmu ( ArmCleanInvalidateDataCache ();
ArmInvalidateInstructionCache ();
- ArmInvalidateTlb ();
ArmDisableDataCache ();
ArmDisableInstructionCache();
+ // TLBs are also invalidated when calling ArmDisableMmu()
ArmDisableMmu ();
// Make sure nothing sneaked into the cache
|