Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1702 | Rev 1780 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | 43 | ||
44 | /** Map device into kernel space |
44 | /** Map device into kernel space |
45 | * - on mips, all devices are already mapped into kernel space, |
45 | * - on mips, all devices are already mapped into kernel space, |
46 | * translate the physical address to uncached area |
46 | * translate the physical address to uncached area |
47 | */ |
47 | */ |
48 | __address hw_map(__address physaddr, size_t size) |
48 | uintptr_t hw_map(uintptr_t physaddr, size_t size) |
49 | { |
49 | { |
50 | return physaddr + 0xa0000000; |
50 | return physaddr + 0xa0000000; |
51 | } |
51 | } |
52 | 52 | ||
53 | /** @} |
53 | /** @} |