Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/page.c

    r1c01e6c r17646b1  
    3333 */
    3434
    35 #include <mm/page.h>
    3635#include <arch/mm/page.h>
    3736#include <arch/mm/tlb.h>
     
    5150}
    5251
     52/** Map memory-mapped device into virtual memory.
     53 *
     54 * We are currently using identity mapping for mapping device registers.
     55 *
     56 * @param physaddr Physical address of the page where the device is
     57 *                 located.
     58 * @param size     Size of the device's registers.
     59 *
     60 * @return Virtual address of the page where the device is mapped.
     61 *
     62 */
     63uintptr_t hw_map(uintptr_t physaddr, size_t size)
     64{
     65        return PA2KA(physaddr);
     66}
     67
    5368/** @}
    5469 */
Note: See TracChangeset for help on using the changeset viewer.