Changeset 8442d10 in mainline for uspace/srv/hw/irc/obio/obio.c


Ignore:
Timestamp:
2013-09-09T21:48:12Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c67dbd6
Parents:
2e2c18a1
Message:

improve the API of physmem_map(), dmamem_map() and dmamem_map_anonymous()
the "constraint" argument of dmamem_map_anonymous() should be used to specify bits disallowed in the physical frame address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/irc/obio/obio.c

    r2e2c18a1 r8442d10  
    6969#define INO_MASK        0x1f
    7070
    71 static void *base_phys;
     71static uintptr_t base_phys;
    7272static volatile uint64_t *base_virt;
    7373
     
    123123        }
    124124       
    125         base_phys = (void *) paddr;
     125        base_phys = (uintptr_t) paddr;
    126126       
    127127        int flags = AS_AREA_READ | AS_AREA_WRITE;
     
    135135        }
    136136       
    137         printf("%s: OBIO registers with base at %p\n", NAME, base_phys);
     137        printf("%s: OBIO registers with base at %zu\n", NAME, base_phys);
    138138       
    139139        async_set_client_connection(obio_connection);
Note: See TracChangeset for help on using the changeset viewer.