Ignore:
File:
1 edited

Legend:

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

    r464a52f re49e234  
    4141{
    4242        page_mapping_operations = &pt_mapping_operations;
    43         as_switch(NULL, AS_KERNEL);
     43}
     44
     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 + 0xa0000000;
    4452}
    4553
Note: See TracChangeset for help on using the changeset viewer.