Rev 793 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 793 | Rev 1396 | ||
|---|---|---|---|
| Line 32... | Line 32... | ||
| 32 | 32 | ||
| 33 | void page_arch_init(void) |
33 | void page_arch_init(void) |
| 34 | { |
34 | { |
| 35 | page_mapping_operations = &pt_mapping_operations; |
35 | page_mapping_operations = &pt_mapping_operations; |
| 36 | } |
36 | } |
| - | 37 | ||
| - | 38 | /** Map device into kernel space |
|
| - | 39 | * - on mips, all devices are already mapped into kernel space, |
|
| - | 40 | * translate the physical address to uncached area |
|
| - | 41 | */ |
|
| - | 42 | __address hw_map(__address physaddr, size_t size) |
|
| - | 43 | { |
|
| - | 44 | return physaddr + 0xa0000000; |
|
| - | 45 | } |
|