Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3745 → Rev 3744

/branches/sparc/uspace/srv/console/console.c
106,16 → 106,11
async_msg_0(fb_info.phone, FB_CLEAR);
}
 
static void curs_visibility(bool visible)
static void curs_visibility(int v)
{
async_msg_1(fb_info.phone, FB_CURSOR_VISIBILITY, visible);
async_msg_1(fb_info.phone, FB_CURSOR_VISIBILITY, v);
}
 
static void curs_hide_sync(void)
{
ipc_call_sync_1_0(fb_info.phone, FB_CURSOR_VISIBILITY, false);
}
 
static void curs_goto(int row, int col)
{
async_msg_2(fb_info.phone, FB_CURSOR_GOTO, row, col);
202,7 → 197,7
if (newcons == KERNEL_CONSOLE) {
async_serialize_start();
curs_hide_sync();
curs_visibility(0);
gcons_in_kernel();
async_serialize_end();
209,7 → 204,7
if (__SYSCALL0(SYS_DEBUG_ENABLE_CONSOLE))
active_console = KERNEL_CONSOLE;
else
newcons = active_console;
newcons == active_console;
}
if (newcons != KERNEL_CONSOLE) {
223,7 → 218,7
conn = &connections[active_console];
set_style(&conn->screenbuffer.style);
curs_visibility(false);
curs_visibility(0);
if (interbuffer) {
for (i = 0; i < conn->screenbuffer.size_x; i++)
for (j = 0; j < conn->screenbuffer.size_y; j++) {