Changeset ccd1a14 in mainline for uspace/srv/kbd/port/msim.c


Ignore:
Timestamp:
2009-04-25T11:54:17Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9701d49
Parents:
ebfabf6
Message:

Stop userspace kbd driver from polling when switching to kcon. Also, fix swapped reversed enabling/disabling of polling in kernel sgcn and ski drivers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/kbd/port/msim.c

    rebfabf6 rccd1a14  
    7070}
    7171
     72void kbd_port_yield(void)
     73{
     74}
     75
     76void kbd_port_reclaim(void)
     77{
     78}
     79
    7280static void msim_irq_handler(ipc_callid_t iid, ipc_call_t *call)
    7381{
    7482        int scan_code = IPC_GET_ARG2(*call);
    75 //      static int esc_count=0;
    76 
    77 //      if (scan_code == 0x1b) {
    78 //              esc_count++;
    79 //              if (esc_count == 3)
    80 //                      __SYSCALL0(SYS_DEBUG_ENABLE_CONSOLE);
    81 //      } else {
    82 //              esc_count=0;
    83 //      }
    84 
    85 //      if (fb_fb)
    86 //              return kbd_arch_process_fb(keybuffer, scan_code);
    87 
    8883        kbd_push_scancode(scan_code);
    8984}
Note: See TracChangeset for help on using the changeset viewer.