Skip to content

Commit

Permalink
ARM/vm: small formatting change and trace fix.
Browse files Browse the repository at this point in the history
Copy some minor changes over from the X86 paging implementation to keep
the two reasonably aligned. Smaller diff ;-)
  • Loading branch information
Ithamar committed Nov 7, 2012
1 parent 0ba9bff commit 0e5d97e
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0e5d97e

Please sign in to comment.