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 ;-)
This commit is contained in:
Ithamar R. Adema 2012-11-06 11:01:13 +01:00
parent 0ba9bff27d
commit 0e5d97e97e

View File

@ -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;