Changeset 6b1de7a in mainline


Ignore:
Timestamp:
2009-02-25T23:03:22Z (15 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
5f0f29ce
Parents:
3e5a814
Message:

Fix I/O access to identicaly mapped space

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/mm/page.c

    r3e5a814 r6b1de7a  
    275275uintptr_t hw_map(uintptr_t physaddr, size_t size __attribute__ ((unused)))
    276276{
    277         /* This is a dirty hack. */
    278         return PA2KA(physaddr);
     277        /* THIS is a dirty hack. */
     278        return (uintptr_t)((uint64_t)(PA2KA(physaddr)) + VIO_OFFSET);
    279279}
    280280
Note: See TracChangeset for help on using the changeset viewer.