Changeset f33cb0b9 in mainline for ns/ns.c


Ignore:
Timestamp:
2006-05-03T08:18:37Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fca4207
Parents:
602ca36b
Message:

Added commented example to ns.c how to access i8042 from uspace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ns/ns.c

    r602ca36b rf33cb0b9  
    1515};
    1616*/
     17/*
     18irq_cmd_t i8042_cmds[1] = {
     19        { CMD_PORT_READ_1, (void *)0x60, 0 }
     20};
     21
     22irq_code_t i8042_kbd = {
     23        1,
     24        i8042_cmds
     25};
     26*/
     27
    1728static int service;
    1829
     
    2637        printf("NS:Name service started.\n");
    2738//      ipc_register_irq(2, &msim_kbd);
     39//      ipc_register_irq(1, &i8042_kbd);
    2840        while (1) {
    2941                callid = ipc_wait_for_call(&call, 0);
Note: See TracChangeset for help on using the changeset viewer.