Changes in uspace/srv/hw/irc/obio/obio.c [9d58539:bf9cb2f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/obio/obio.c
r9d58539 rbf9cb2f 49 49 #include <ddi.h> 50 50 #include <align.h> 51 #include < bool.h>51 #include <stdbool.h> 52 52 #include <errno.h> 53 53 #include <async.h> … … 69 69 #define INO_MASK 0x1f 70 70 71 static void *base_phys;72 static volatile uint64_t *base_virt ;71 static uintptr_t base_phys; 72 static volatile uint64_t *base_virt = (volatile uint64_t *) AS_AREA_ANY; 73 73 74 74 /** Handle one connection to obio. … … 123 123 } 124 124 125 base_phys = ( void *) paddr;125 base_phys = (uintptr_t) paddr; 126 126 127 127 int flags = AS_AREA_READ | AS_AREA_WRITE; … … 135 135 } 136 136 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); 138 138 139 139 async_set_client_connection(obio_connection);
Note:
See TracChangeset
for help on using the changeset viewer.