Changeset 10270a8 in mainline for uspace/srv/console/console.c
- Timestamp:
- 2009-04-24T20:24:41Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ebfabf6
- Parents:
- c07544d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
rc07544d3 r10270a8 142 142 } 143 143 144 static void screen_grab(void) 145 { 146 ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_GRAB); 147 } 148 149 static void screen_relinquish(void) 150 { 151 ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_RELINQUISH); 152 } 153 144 154 static void set_style(int style) 145 155 { … … 331 341 curs_hide_sync(); 332 342 gcons_in_kernel(); 343 screen_relinquish(); 333 344 async_serialize_end(); 345 334 346 335 347 if (__SYSCALL0(SYS_DEBUG_ENABLE_CONSOLE)) { … … 343 355 async_serialize_start(); 344 356 345 if (active_console == KERNEL_CONSOLE) 357 if (active_console == KERNEL_CONSOLE) { 358 screen_grab(); 346 359 gcons_redraw_console(); 360 } 347 361 348 362 active_console = newcons;
Note:
See TracChangeset
for help on using the changeset viewer.