Rev 4325 | Rev 4457 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4325 | Rev 4326 | ||
---|---|---|---|
Line 424... | Line 424... | ||
424 | serial_cursor_enable(); |
424 | serial_cursor_enable(); |
425 | else |
425 | else |
426 | serial_cursor_disable(); |
426 | serial_cursor_disable(); |
427 | retval = 0; |
427 | retval = 0; |
428 | break; |
428 | break; |
429 | case FB_SCREEN_GRAB: |
429 | case FB_SCREEN_YIELD: |
430 | serial_clrscr(); |
- | |
431 | serial_set_attrs(&cur_attr); |
- | |
432 | retval = 0; |
- | |
433 | break; |
- | |
434 | case FB_SCREEN_RELINQUISH: |
- | |
435 | serial_sgr(SGR_RESET); |
430 | serial_sgr(SGR_RESET); |
436 | serial_puts("\033[2J"); |
431 | serial_puts("\033[2J"); |
437 | serial_goto(0, 0); |
432 | serial_goto(0, 0); |
438 | serial_cursor_enable(); |
433 | serial_cursor_enable(); |
439 | retval = 0; |
434 | retval = 0; |
440 | break; |
435 | break; |
- | 436 | case FB_SCREEN_RECLAIM: |
|
- | 437 | serial_clrscr(); |
|
- | 438 | serial_set_attrs(&cur_attr); |
|
- | 439 | retval = 0; |
|
- | 440 | break; |
|
441 | default: |
441 | default: |
442 | retval = ENOENT; |
442 | retval = ENOENT; |
443 | } |
443 | } |
444 | ipc_answer_0(callid, retval); |
444 | ipc_answer_0(callid, retval); |
445 | } |
445 | } |