Ignore:
File:
1 edited

Legend:

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

    r9d58539 rbf9cb2f  
    4949#include <ddi.h>
    5050#include <align.h>
    51 #include <bool.h>
     51#include <stdbool.h>
    5252#include <errno.h>
    5353#include <async.h>
     
    6969#define INO_MASK        0x1f
    7070
    71 static void *base_phys;
    72 static volatile uint64_t *base_virt;
     71static uintptr_t base_phys;
     72static volatile uint64_t *base_virt = (volatile uint64_t *) AS_AREA_ANY;
    7373
    7474/** Handle one connection to obio.
     
    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.