Changeset ccd1a14 in mainline for uspace/srv/console/console.c
- Timestamp:
- 2009-04-25T11:54:17Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9701d49
- Parents:
- ebfabf6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
rebfabf6 rccd1a14 65 65 int prev_console = 0; 66 66 67 /** Phone to the keyboard driver. */ 68 static int kbd_phone; 69 67 70 /** Information about framebuffer */ 68 71 struct { … … 150 153 { 151 154 ipc_call_sync_0_0(fb_info.phone, FB_SCREEN_RECLAIM); 155 } 156 157 static void kbd_yield(void) 158 { 159 ipc_call_sync_0_0(kbd_phone, KBD_YIELD); 160 } 161 162 static void kbd_reclaim(void) 163 { 164 ipc_call_sync_0_0(kbd_phone, KBD_RECLAIM); 152 165 } 153 166 … … 342 355 gcons_in_kernel(); 343 356 screen_yield(); 357 kbd_yield(); 344 358 async_serialize_end(); 345 359 … … 357 371 if (active_console == KERNEL_CONSOLE) { 358 372 screen_reclaim(); 373 kbd_reclaim(); 359 374 gcons_redraw_console(); 360 375 } … … 666 681 667 682 ipcarg_t phonehash; 668 int kbd_phone;669 683 size_t ib_size; 670 684 int i;
Note:
See TracChangeset
for help on using the changeset viewer.