Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1688 → Rev 1689

/uspace/trunk/console/console.c
459,7 → 459,8
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 */
while ((fb_info.phone = ipc_connect_me_to(PHONE_NS, SERVICE_VIDEO, 0)) < 0) {
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,10 → 89,9
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,
(x << 16) | y, (width << 16) | height,
NULL, NULL);
return async_req_2(fbphone, FB_VIEWPORT_CREATE,
(x << 16) | y, (width << 16) | height,
NULL, NULL);
}
 
static void clear(void)
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;