Changes in kernel/generic/src/ipc/sysipc.c [8820544:466e95f7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/sysipc.c
r8820544 r466e95f7 736 736 * @param ucode Uspace pointer to the top-half pseudocode. 737 737 * 738 * @return EPERM or a return code returned by ipc_irq_ subscribe().739 * 740 */ 741 sysarg_t sys_i pc_irq_subscribe(inr_t inr, devno_t devno, sysarg_t imethod,738 * @return EPERM or a return code returned by ipc_irq_register(). 739 * 740 */ 741 sysarg_t sys_irq_register(inr_t inr, devno_t devno, sysarg_t imethod, 742 742 irq_code_t *ucode) 743 743 { … … 745 745 return EPERM; 746 746 747 return ipc_irq_ subscribe(&TASK->answerbox, inr, devno, imethod, ucode);747 return ipc_irq_register(&TASK->answerbox, inr, devno, imethod, ucode); 748 748 } 749 749 … … 756 756 * 757 757 */ 758 sysarg_t sys_i pc_irq_unsubscribe(inr_t inr, devno_t devno)758 sysarg_t sys_irq_unregister(inr_t inr, devno_t devno) 759 759 { 760 760 if (!(cap_get(TASK) & CAP_IRQ_REG)) 761 761 return EPERM; 762 762 763 ipc_irq_un subscribe(&TASK->answerbox, inr, devno);763 ipc_irq_unregister(&TASK->answerbox, inr, devno); 764 764 765 765 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.