Changeset 602ca36b in mainline for libipc/generic/ipc.c


Ignore:
Timestamp:
2006-05-02T21:50:06Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f33cb0b9
Parents:
fa3561f
Message:

Added way to do an action upon interrupt.
ns.c contains a commented example on how to access keyboard in msim.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libipc/generic/ipc.c

    rfa3561f r602ca36b  
    263263}
    264264
    265 int ipc_register_irq(int irq)
    266 {
    267         return __SYSCALL1(SYS_IPC_REGISTER_IRQ, irq);
     265int ipc_register_irq(int irq, irq_code_t *ucode)
     266{
     267        return __SYSCALL2(SYS_IPC_REGISTER_IRQ, irq, (sysarg_t) ucode);
    268268}
    269269
Note: See TracChangeset for help on using the changeset viewer.