Changes in kernel/arch/sparc64/src/mm/page.c [1c01e6c:17646b1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/page.c
r1c01e6c r17646b1 33 33 */ 34 34 35 #include <mm/page.h>36 35 #include <arch/mm/page.h> 37 36 #include <arch/mm/tlb.h> … … 51 50 } 52 51 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 */ 63 uintptr_t hw_map(uintptr_t physaddr, size_t size) 64 { 65 return PA2KA(physaddr); 66 } 67 53 68 /** @} 54 69 */
Note:
See TracChangeset
for help on using the changeset viewer.