Changes in uspace/lib/c/generic/ipc.c [64d2b10:124c061] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ipc.c
r64d2b10 r124c061 45 45 #include <errno.h> 46 46 #include <adt/list.h> 47 #include <stdio.h> 48 #include <unistd.h> 47 49 #include <futex.h> 50 #include <kernel/synch/synch.h> 51 #include <async.h> 48 52 #include <fibril.h> 53 #include <assert.h> 49 54 50 55 /** … … 645 650 } 646 651 652 /** Register IRQ notification. 653 * 654 * @param inr IRQ number. 655 * @param devno Device number of the device generating inr. 656 * @param method Use this method for notifying me. 657 * @param ucode Top-half pseudocode handler. 658 * 659 * @return Value returned by the kernel. 660 */ 661 int ipc_register_irq(int inr, int devno, int method, irq_code_t *ucode) 662 { 663 return __SYSCALL4(SYS_IPC_REGISTER_IRQ, inr, devno, method, 664 (sysarg_t) ucode); 665 } 666 667 /** Unregister IRQ notification. 668 * 669 * @param inr IRQ number. 670 * @param devno Device number of the device generating inr. 671 * 672 * @return Value returned by the kernel. 673 */ 674 int ipc_unregister_irq(int inr, int devno) 675 { 676 return __SYSCALL2(SYS_IPC_UNREGISTER_IRQ, inr, devno); 677 } 678 647 679 /** Forward a received call to another destination. 648 680 *
Note:
See TracChangeset
for help on using the changeset viewer.