Changeset 15039b67 in mainline for kbd/arch/ia64/src/kbd.c


Ignore:
Timestamp:
2006-06-11T17:05:41Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f8d5b85
Parents:
290c0db
Message:

Modified uspace to match changes in kernel ipc/irq.
Fixed types in ega fb.
Added dummy interfacing with PS/2 mouse.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kbd/arch/ia64/src/kbd.c

    r290c0db r15039b67  
    3838#include <ipc/ipc.h>
    3939#include <sysinfo.h>
     40#include <kbd.h>
     41#include <keys.h>
    4042
    4143#define KEY_F1 0x504f1b
     
    5658
    5759irq_cmd_t ski_cmds[1] = {
    58         { CMD_IA64_GETCHAR, 0, 0 }
     60        { CMD_IA64_GETCHAR, 0, 0, 2 }
    5961};
    6062
     
    6870        if(sysinfo_value("kbd")) {
    6971                ipc_register_irq(sysinfo_value("kbd.irq"), &ski_kbd);
    70                 return 1;
     72                return 0;
    7173        }       
    72        
     74        return 1;
    7375}
    7476
     
    8284*/
    8385
    84 int kbd_arch_process(keybuffer_t *keybuffer, int scan_code)
     86int kbd_arch_process(keybuffer_t *keybuffer, ipc_call_t *call)
    8587{
    8688        static unsigned long long buf=0;
    8789        static int count=0;     
    8890        static int esc_count=0;
     91        int scan_code = IPC_GET_ARG2(*call);
    8992
    9093
Note: See TracChangeset for help on using the changeset viewer.