Changeset ebfabf6 in mainline
- Timestamp:
- 2009-04-24T20:33:49Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ccd1a14
- Parents:
- 10270a8
- Location:
- uspace
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/ipc/fb.h
r10270a8 rebfabf6 68 68 FB_ANIM_STOP, 69 69 FB_POINTER_MOVE, 70 FB_SCREEN_ GRAB,71 FB_SCREEN_RE LINQUISH70 FB_SCREEN_YIELD, 71 FB_SCREEN_RECLAIM 72 72 } fb_request_t; 73 73 -
uspace/srv/console/console.c
r10270a8 rebfabf6 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_re linquish(void)150 { 151 ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_RE LINQUISH);144 static void screen_yield(void) 145 { 146 ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_YIELD); 147 } 148 149 static void screen_reclaim(void) 150 { 151 ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_RECLAIM); 152 152 } 153 153 … … 341 341 curs_hide_sync(); 342 342 gcons_in_kernel(); 343 screen_ relinquish();343 screen_yield(); 344 344 async_serialize_end(); 345 345 … … 356 356 357 357 if (active_console == KERNEL_CONSOLE) { 358 screen_ grab();358 screen_reclaim(); 359 359 gcons_redraw_console(); 360 360 } -
uspace/srv/fb/ega.c
r10270a8 rebfabf6 392 392 retval = 0; 393 393 break; 394 case FB_SCREEN_ GRAB:395 case FB_SCREEN_RE LINQUISH:394 case FB_SCREEN_YIELD: 395 case FB_SCREEN_RECLAIM: 396 396 retval = EOK; 397 397 break; -
uspace/srv/fb/fb.c
r10270a8 rebfabf6 1714 1714 retval = EOK; 1715 1715 break; 1716 case FB_SCREEN_ GRAB:1717 case FB_SCREEN_RE LINQUISH:1716 case FB_SCREEN_YIELD: 1717 case FB_SCREEN_RECLAIM: 1718 1718 retval = EOK; 1719 1719 break; -
uspace/srv/fb/serial_console.c
r10270a8 rebfabf6 427 427 retval = 0; 428 428 break; 429 case FB_SCREEN_GRAB: 430 serial_clrscr(); 431 serial_set_attrs(&cur_attr); 432 retval = 0; 433 break; 434 case FB_SCREEN_RELINQUISH: 429 case FB_SCREEN_YIELD: 435 430 serial_sgr(SGR_RESET); 436 431 serial_puts("\033[2J"); … … 439 434 retval = 0; 440 435 break; 436 case FB_SCREEN_RECLAIM: 437 serial_clrscr(); 438 serial_set_attrs(&cur_attr); 439 retval = 0; 440 break; 441 441 default: 442 442 retval = ENOENT;
Note:
See TracChangeset
for help on using the changeset viewer.