Changes in uspace/srv/bd/rd/rd.c [1558d85:3e6a98c5] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/rd/rd.c

    r1558d85 r3e6a98c5  
    4949#include <errno.h>
    5050#include <async.h>
     51#include <align.h>
     52#include <async.h>
    5153#include <fibril_synch.h>
    5254#include <stdio.h>
     
    5860
    5961/** Pointer to the ramdisk's image */
    60 static void *rd_addr = AS_AREA_ANY;
     62static void *rd_addr;
    6163
    6264/** Size of the ramdisk */
     
    163165            AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE;
    164166       
    165         ret = physmem_map(addr_phys,
     167        ret = physmem_map((void *) addr_phys,
    166168            ALIGN_UP(rd_size, PAGE_SIZE) >> PAGE_WIDTH, flags, &rd_addr);
    167169        if (ret != EOK) {
     
    176178        bd_srvs.ops = &rd_bd_ops;
    177179       
    178         async_set_fallback_port_handler(rd_client_conn, NULL);
     180        async_set_client_connection(rd_client_conn);
    179181        ret = loc_server_register(NAME);
    180182        if (ret != EOK) {
Note: See TracChangeset for help on using the changeset viewer.