Changes in uspace/drv/fb/kfb/port.c [8e4a408:7dba813] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/kfb/port.c
r8e4a408 r7dba813 207 207 }; 208 208 209 static 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 217 209 int port_init(ddf_dev_t *dev) 218 210 { … … 341 333 342 334 kfb.size = scanline * height; 343 kfb.addr = AS_AREA_ANY; 344 345 rc = physmem_map(paddr + offset, 335 rc = physmem_map((void *) paddr + offset, 346 336 ALIGN_UP(kfb.size, PAGE_SIZE) >> PAGE_WIDTH, 347 337 AS_AREA_READ | AS_AREA_WRITE, (void *) &kfb.addr); … … 354 344 return ENOMEM; 355 345 } 356 ddf_fun_set_ conn_handler(fun_vs, &graph_vsl_connection);346 ddf_fun_set_ops(fun_vs, &graph_vsl_device_ops); 357 347 358 348 visualizer_t *vs = ddf_fun_data_alloc(fun_vs, sizeof(visualizer_t));
Note:
See TracChangeset
for help on using the changeset viewer.