Changeset dd641e3 in mainline for console/console.c


Ignore:
Timestamp:
2006-06-04T12:22:54Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26f48570
Parents:
67ec84b
Message:

fb make changes neaded by ega driver and console switching by function keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • console/console.c

    r67ec84b rdd641e3  
    285285        ipc_call_t call;
    286286        int retval;
    287         char c;
     287        int c;
    288288        connection_t *conn;
    289289       
     
    305305                        conn = &connections[active_console];
    306306//                      if ((c >= KBD_KEY_F1) && (c < KBD_KEY_F1 + CONSOLE_COUNT)) {
    307                         if ((c >= '0') && (c < '0' + CONSOLE_COUNT)) {
    308                                 if (c == '0')
     307                        if ((c >= 0x101) && (c < 0x101 + CONSOLE_COUNT)) {
     308                                if (c == 0x112)
    309309                                        change_console(KERNEL_CONSOLE);
    310310                                else
    311                                         change_console(c - '1');
     311                                        change_console(c - 0x101);
    312312                                break;
    313313                        }
Note: See TracChangeset for help on using the changeset viewer.