Changes in uspace/srv/bd/rd/rd.c [1558d85:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/rd/rd.c
r1558d85 r3e6a98c5 49 49 #include <errno.h> 50 50 #include <async.h> 51 #include <align.h> 52 #include <async.h> 51 53 #include <fibril_synch.h> 52 54 #include <stdio.h> … … 58 60 59 61 /** Pointer to the ramdisk's image */ 60 static void *rd_addr = AS_AREA_ANY;62 static void *rd_addr; 61 63 62 64 /** Size of the ramdisk */ … … 163 165 AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE; 164 166 165 ret = physmem_map( addr_phys,167 ret = physmem_map((void *) addr_phys, 166 168 ALIGN_UP(rd_size, PAGE_SIZE) >> PAGE_WIDTH, flags, &rd_addr); 167 169 if (ret != EOK) { … … 176 178 bd_srvs.ops = &rd_bd_ops; 177 179 178 async_set_ fallback_port_handler(rd_client_conn, NULL);180 async_set_client_connection(rd_client_conn); 179 181 ret = loc_server_register(NAME); 180 182 if (ret != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.