Rev 4277 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4277 | Rev 4282 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | * @return Virtual address of the page where the device is mapped. |
60 | * @return Virtual address of the page where the device is mapped. |
61 | * |
61 | * |
62 | */ |
62 | */ |
63 | uintptr_t hw_map(uintptr_t physaddr, size_t size) |
63 | uintptr_t hw_map(uintptr_t physaddr, size_t size) |
64 | { |
64 | { |
65 | return KA2PA(physaddr); |
65 | return PA2KA(physaddr); |
66 | } |
66 | } |
67 | 67 | ||
68 | /** @} |
68 | /** @} |
69 | */ |
69 | */ |