Changeset 8c6337d in mainline
- Timestamp:
- 2008-12-24T14:00:21Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b1a29bb
- Parents:
- 7217199
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
r7217199 r8c6337d 107 107 } 108 108 109 static void curs_visibility(int v) 110 { 111 async_msg_1(fb_info.phone, FB_CURSOR_VISIBILITY, v); 109 static void curs_visibility(bool visible) 110 { 111 async_msg_1(fb_info.phone, FB_CURSOR_VISIBILITY, visible); 112 } 113 114 static void curs_hide_sync(void) 115 { 116 ipc_call_sync_1_0(fb_info.phone, FB_CURSOR_VISIBILITY, false); 112 117 } 113 118 … … 198 203 if (newcons == KERNEL_CONSOLE) { 199 204 async_serialize_start(); 200 curs_ visibility(0);205 curs_hide_sync(); 201 206 gcons_in_kernel(); 202 207 async_serialize_end(); … … 205 210 active_console = KERNEL_CONSOLE; 206 211 else 207 newcons = =active_console;212 newcons = active_console; 208 213 } 209 214 … … 219 224 220 225 set_style(&conn->screenbuffer.style); 221 curs_visibility( 0);226 curs_visibility(false); 222 227 if (interbuffer) { 223 228 for (i = 0; i < conn->screenbuffer.size_x; i++)
Note:
See TracChangeset
for help on using the changeset viewer.