From 918c653e1f3fdcb46acadbb65a431391fcd388d2 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Wed, 19 Jun 2013 18:27:55 +0000 Subject: ArmPkg/ArmLib: Removed ArmInvalidateTlb when disabling cache as ArmDisableMmu() already does it Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14436 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ArmPkg/Library/ArmLib') diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c index 6fa770edbf..7881a9b9fa 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 -- cgit v1.2.3