Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/fb/kfb/port.c

    r7dba813 r8e4a408  
    207207};
    208208
     209static void graph_vsl_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
     210{
     211        visualizer_t *vsl;
     212
     213        vsl = (visualizer_t *) ddf_fun_data_get((ddf_fun_t *)arg);
     214        graph_visualizer_connection(vsl, iid, icall, NULL);
     215}
     216
    209217int port_init(ddf_dev_t *dev)
    210218{
     
    333341       
    334342        kfb.size = scanline * height;
    335         rc = physmem_map((void *) paddr + offset,
     343        kfb.addr = AS_AREA_ANY;
     344       
     345        rc = physmem_map(paddr + offset,
    336346            ALIGN_UP(kfb.size, PAGE_SIZE) >> PAGE_WIDTH,
    337347            AS_AREA_READ | AS_AREA_WRITE, (void *) &kfb.addr);
     
    344354                return ENOMEM;
    345355        }
    346         ddf_fun_set_ops(fun_vs, &graph_vsl_device_ops);
     356        ddf_fun_set_conn_handler(fun_vs, &graph_vsl_connection);
    347357
    348358        visualizer_t *vs = ddf_fun_data_alloc(fun_vs, sizeof(visualizer_t));
Note: See TracChangeset for help on using the changeset viewer.