Rev 1058 | Rev 1146 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1058 | Rev 1075 | ||
---|---|---|---|
Line 127... | Line 127... | ||
127 | { |
127 | { |
128 | return (void *) ofw_call("call-method", 7, 1, "translate", ofw_mmu, virt, 0, 0, 0, 0); |
128 | return (void *) ofw_call("call-method", 7, 1, "translate", ofw_mmu, virt, 0, 0, 0, 0); |
129 | } |
129 | } |
130 | 130 | ||
131 | 131 | ||
- | 132 | int ofw_map(const void *phys, const void *virt, const int size, const int mode) |
|
- | 133 | { |
|
- | 134 | return ofw_call("call-method", 6, 1, "map", ofw_mmu, mode, size, virt, phys); |
|
- | 135 | } |
|
- | 136 | ||
- | 137 | ||
132 | int ofw_memmap(memmap_t *map) |
138 | int ofw_memmap(memmap_t *map) |
133 | { |
139 | { |
134 | int i; |
140 | int i; |
135 | int ret; |
141 | int ret; |
136 | 142 |