Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 17646b1 in mainline


Ignore:
Timestamp:
2009-04-15T10:14:54Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
f03afad
Parents:
6700ee2
Message:

repair two glitches in memory management
(no beer today :))

Location:
kernel/arch/sparc64
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/trap/mmu.h

    r6700ee2 r17646b1  
    117117
    118118        ldx [%g7 + %lo(kernel_8k_tlb_data_template)], %g2
    119         or %g3, %g2, %g2
     119        add %g3, %g2, %g2
    120120        stxa %g2, [%g0] ASI_DTLB_DATA_IN_REG            ! identity map the kernel page
    121121        retry
  • kernel/arch/sparc64/src/mm/page.c

    r6700ee2 r17646b1  
    6363uintptr_t hw_map(uintptr_t physaddr, size_t size)
    6464{
    65         return KA2PA(physaddr);
     65        return PA2KA(physaddr);
    6666}
    6767
Note: See TracChangeset for help on using the changeset viewer.