Ignore:
File:
1 edited

Legend:

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

    r1c01e6c r2429e4a  
    4343}
    4444
     45/** Map device into kernel space
     46 * - on mips, all devices are already mapped into kernel space,
     47 *   translate the physical address to uncached area
     48 */
     49uintptr_t hw_map(uintptr_t physaddr, size_t size)
     50{
     51        return physaddr + 0xffffffffa0000000;
     52}
     53
    4554/** @}
    4655 */
Note: See TracChangeset for help on using the changeset viewer.