From 0e5d97e97e32eae4023d4223d6ac6527c76cabd7 Mon Sep 17 00:00:00 2001 From: "Ithamar R. Adema" Date: Tue, 6 Nov 2012 11:01:13 +0100 Subject: [PATCH] ARM/vm: small formatting change and trace fix. Copy some minor changes over from the X86 paging implementation to keep the two reasonably aligned. Smaller diff ;-) --- .../kernel/arch/arm/paging/32bit/ARMPagingMethod32Bit.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/arch/arm/paging/32bit/ARMPagingMethod32Bit.cpp b/src/system/kernel/arch/arm/paging/32bit/ARMPagingMethod32Bit.cpp index 9214286f02..cfcd630dd5 100644 --- a/src/system/kernel/arch/arm/paging/32bit/ARMPagingMethod32Bit.cpp +++ b/src/system/kernel/arch/arm/paging/32bit/ARMPagingMethod32Bit.cpp @@ -169,7 +169,8 @@ void ARMPagingMethod32Bit::PhysicalPageSlotPool::Map(phys_addr_t physicalAddress, addr_t virtualAddress) { - page_table_entry& pte = fPageTable[(virtualAddress - fVirtualBase) / B_PAGE_SIZE]; + page_table_entry& pte = fPageTable[ + (virtualAddress - fVirtualBase) / B_PAGE_SIZE]; pte = (physicalAddress & ARM_PTE_ADDRESS_MASK) | ARM_PTE_TYPE_SMALL_PAGE; @@ -298,7 +299,7 @@ ARMPagingMethod32Bit::Init(kernel_args* args, x86_write_cr4(x86_read_cr4() | IA32_CR4_GLOBAL_PAGES); } #endif - TRACE("vm_translation_map_init: done\n"); + TRACE("ARMPagingMethod32Bit::Init(): done\n"); *_physicalPageMapper = fPhysicalPageMapper; return B_OK;