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


Ignore:
Timestamp:
2006-06-11T17:05:41Z (18 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/mips32/src/kbd.c

    r290c0db r15039b67  
    3737#include <ipc/ipc.h>
    3838#include <sysinfo.h>
    39 
     39#include <kbd.h>
     40#include <keys.h>
    4041
    4142#define MSIM_KEY_F1 0x504f1bL
     
    7172
    7273irq_cmd_t msim_cmds[1] = {
    73         { CMD_MEM_READ_1, (void *)0xB0000000, 0 }
     74        { CMD_MEM_READ_1, (void *)0xB0000000, 0, 2 }
    7475};
    7576
     
    8687        msim=sysinfo_value("machine.msim");
    8788        gxemul=sysinfo_value("machine.lgxemul");
    88         return 1;
     89        return 0;
    8990}
    9091
     
    374375}
    375376
    376 int kbd_arch_process(keybuffer_t *keybuffer, int scan_code)
     377int kbd_arch_process(keybuffer_t *keybuffer, ipc_call_t *call)
    377378{
    378 
     379        int scan_code = IPC_GET_ARG2(*call);
    379380        static int esc_count=0;
    380381
Note: See TracChangeset for help on using the changeset viewer.