Rev 3940 | Rev 3973 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3940 | Rev 3971 | ||
---|---|---|---|
Line 272... | Line 272... | ||
272 | v->present.tag.tag_word = tag; |
272 | v->present.tag.tag_word = tag; |
273 | } |
273 | } |
274 | 274 | ||
275 | uintptr_t hw_map(uintptr_t physaddr, size_t size __attribute__ ((unused))) |
275 | uintptr_t hw_map(uintptr_t physaddr, size_t size __attribute__ ((unused))) |
276 | { |
276 | { |
277 | /* This is a dirty hack. */ |
277 | /* THIS is a dirty hack. */ |
278 | return PA2KA(physaddr); |
278 | return (uintptr_t)((uint64_t)(PA2KA(physaddr)) + VIO_OFFSET); |
279 | } |
279 | } |
280 | 280 | ||
281 | void hw_area(void) |
281 | void hw_area(void) |
282 | { |
282 | { |
283 | dev_area.pbase = end_frame; |
283 | dev_area.pbase = end_frame; |