Rev 1526 | Rev 1533 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1526 | Rev 1528 | ||
---|---|---|---|
Line 282... | Line 282... | ||
282 | /* TODO */ |
282 | /* TODO */ |
283 | ipc_answer_fast(callid, 0,0,0); |
283 | ipc_answer_fast(callid, 0,0,0); |
284 | return; |
284 | return; |
285 | case CONSOLE_PUTCHAR: |
285 | case CONSOLE_PUTCHAR: |
286 | write_char(consnum, IPC_GET_ARG1(call)); |
286 | write_char(consnum, IPC_GET_ARG1(call)); |
- | 287 | gcons_notify_char(consnum); |
|
287 | break; |
288 | break; |
288 | case CONSOLE_CLEAR: |
289 | case CONSOLE_CLEAR: |
289 | /* Send message to fb */ |
290 | /* Send message to fb */ |
290 | if (consnum == active_console) { |
291 | if (consnum == active_console) { |
291 | send_call(fb_info.phone, FB_CLEAR, 0); |
292 | send_call(fb_info.phone, FB_CLEAR, 0); |
Line 294... | Line 295... | ||
294 | screenbuffer_clear(&(connections[consnum].screenbuffer)); |
295 | screenbuffer_clear(&(connections[consnum].screenbuffer)); |
295 | 296 | ||
296 | break; |
297 | break; |
297 | case CONSOLE_GOTO: |
298 | case CONSOLE_GOTO: |
298 | 299 | ||
299 | screenbuffer_goto(&(connections[consnum].screenbuffer), IPC_GET_ARG1(call), IPC_GET_ARG2(call)); |
300 | screenbuffer_goto(&(connections[consnum].screenbuffer), IPC_GET_ARG2(call), IPC_GET_ARG1(call)); |
300 | 301 | ||
301 | break; |
302 | break; |
302 | 303 | ||
303 | case CONSOLE_GETSIZE: |
304 | case CONSOLE_GETSIZE: |
304 | arg1 = fb_info.cols; |
305 | arg1 = fb_info.rows; |
305 | arg2 = fb_info.rows; |
306 | arg2 = fb_info.cols; |
306 | break; |
307 | break; |
307 | case CONSOLE_FLUSH: |
308 | case CONSOLE_FLUSH: |
308 | sync_send_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL); |
309 | sync_send_2(fb_info.phone, FB_FLUSH, 0, 0, NULL, NULL); |
309 | break; |
310 | break; |
310 | case CONSOLE_SET_STYLE: |
311 | case CONSOLE_SET_STYLE: |