Changeset 48adf0f in mainline for uspace/drv/intctl/obio/obio.c


Ignore:
Timestamp:
2017-10-30T18:02:36Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b11c3c
Parents:
be1b1e68
Message:

OBIO should take base address from platform driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/intctl/obio/obio.c

    rbe1b1e68 r48adf0f  
    119119        int rc;
    120120
    121         base_phys = (uintptr_t) 0x1fe00000000ULL;
    122 
    123121        int flags = AS_AREA_READ | AS_AREA_WRITE;
    124         int retval = physmem_map(base_phys,
     122        int retval = physmem_map(res->base,
    125123            ALIGN_UP(OBIO_SIZE, PAGE_SIZE) >> PAGE_WIDTH, flags,
    126124            (void *) &base_virt);
Note: See TracChangeset for help on using the changeset viewer.