/uspace/trunk/console/console.c |
---|
459,6 → 459,7 |
if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, &phonehash) != 0) { |
return -1; |
}; |
async_new_connection(phonehash, 0, NULL, keyboard_events); |
/* Connect to framebuffer driver */ |
503,8 → 504,6 |
} |
} |
async_new_connection(phonehash, 0, NULL, keyboard_events); |
curs_goto(0,0); |
curs_visibility(connections[active_console].screenbuffer.is_cursor_visible); |
/uspace/trunk/console/gcons.c |
---|
89,8 → 89,7 |
static int vp_create(unsigned int x, unsigned int y, |
unsigned int width, unsigned int height) |
{ |
/* Init function, use ipc_call_sync */ |
return ipc_call_sync_2(fbphone, FB_VIEWPORT_CREATE, |
return async_req_2(fbphone, FB_VIEWPORT_CREATE, |
(x << 16) | y, (width << 16) | height, |
NULL, NULL); |
} |
382,7 → 381,7 |
fbphone = phone; |
rc = ipc_call_sync_2(phone, FB_GET_RESOLUTION, 0, 0, &xres, &yres); |
rc = async_req_2(phone, FB_GET_RESOLUTION, 0, 0, &xres, &yres); |
if (rc) |
return; |