Changeset e1c4849 in mainline for console/console.c
- Timestamp:
- 2006-06-02T17:16:59Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0c6984e
- Parents:
- 3756912
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
console/console.c
r3756912 re1c4849 42 42 #include <sys/mman.h> 43 43 44 #include "gcons.h" 45 44 46 #define MAX_KEYREQUESTS_BUFFERED 32 45 47 … … 178 180 // if ((c >= KBD_KEY_F1) && (c < KBD_KEY_F1 + CONSOLE_COUNT)) { 179 181 if ((c >= '0') && (c < '0' + CONSOLE_COUNT)) { 180 181 182 if (c == '0') { 182 183 /* switch to kernel console*/ … … 193 194 break; 194 195 active_console = c; 196 gcons_change_console(c); 197 195 198 } 196 199 … … 337 340 usleep(10000); 338 341 } 342 343 /* Initialize gcons */ 344 gcons_init(fb_info.phone); 345 /* Synchronize, the gcons can have something in queue */ 346 sync_send_2(fb_info.phone, FB_GET_CSIZE, 0, 0, NULL, NULL); 347 339 348 340 349 ipc_call_sync_2(fb_info.phone, FB_GET_CSIZE, 0, 0, &(fb_info.rows), &(fb_info.cols)); … … 368 377 async_new_connection(phonehash, 0, NULL, keyboard_events); 369 378 370 nsend_call_2(fb_info.phone, FB_CURSOR_GOTO, 0, 0);379 sync_send_2(fb_info.phone, FB_CURSOR_GOTO, 0, 0, NULL, NULL); 371 380 nsend_call(fb_info.phone, FB_CURSOR_VISIBILITY, 1); 372 381
Note:
See TracChangeset
for help on using the changeset viewer.