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