Subversion Repositories HelenOS

Rev

Rev 4343 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4343 Rev 4344
Line 268... Line 268...
268
    v->present.tag.tag_word = tag;
268
    v->present.tag.tag_word = tag;
269
}
269
}
270
 
270
 
271
uintptr_t hw_map(uintptr_t physaddr, size_t size __attribute__ ((unused)))
271
uintptr_t hw_map(uintptr_t physaddr, size_t size __attribute__ ((unused)))
272
{
272
{
273
    /* This is a dirty hack. */
273
    /* THIS is a dirty hack. */
274
    return PA2KA(physaddr);
-
 
275
}
-
 
276
 
-
 
277
void hw_area(uintptr_t *physaddr, pfn_t *frames)
274
    return (uintptr_t)((uint64_t)(PA2KA(physaddr)) + VIO_OFFSET);
278
{
-
 
279
    *physaddr = end_frame;
-
 
280
    *frames = ADDR2PFN(0x7fffffffffffffffUL - end_frame);
-
 
281
}
275
}
282
 
276
 
283
/** @}
277
/** @}
284
 */
278
 */