summaryrefslogtreecommitdiff
path: root/ArmPkg
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2014-02-12 15:30:34 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-02-12 15:30:34 +0000
commite6f3ed43400bc9d02ff3e2728579cc9f35f71405 (patch)
treee9e4bbb10339bf1633489b7f00c789bb4924e260 /ArmPkg
parent9401d6f4b989d977f8b0aa4946168a92b748aead (diff)
downloadedk2-platforms-e6f3ed43400bc9d02ff3e2728579cc9f35f71405.tar.xz
ARM Packages: CRLF fixup
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15241 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg')
-rw-r--r--ArmPkg/Library/ArmLib/AArch64/AArch64Mmu.c8
1 files changed, 4 insertions, 4 deletions
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