From e6f3ed43400bc9d02ff3e2728579cc9f35f71405 Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Wed, 12 Feb 2014 15:30:34 +0000 Subject: ARM Packages: CRLF fixup Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm Signed-off-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15241 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ArmPkg') diff --git a/ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c b/ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c index 42b4963913..9bc984f0bf 100644 --- a/ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c +++ b/ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c @@ -471,7 +471,7 @@ SetMemoryAttributes ( IN UINT64 Attributes, IN EFI_PHYSICAL_ADDRESS VirtualMask ) -{ +{ RETURN_STATUS Status; ARM_MEMORY_REGION_DESCRIPTOR MemoryRegion; UINT64 *TranslationTable; @@ -483,9 +483,9 @@ SetMemoryAttributes ( TranslationTable = ArmGetTTBR0BaseAddress (); - Status = FillTranslationTable (TranslationTable, &MemoryRegion); - if (RETURN_ERROR (Status)) { - return Status; + Status = FillTranslationTable (TranslationTable, &MemoryRegion); + if (RETURN_ERROR (Status)) { + return Status; } // Flush d-cache so descriptors make it back to uncached memory for subsequent table walks -- cgit v1.2.3