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