Changes in kernel/generic/src/ipc/sysipc.c [466e95f7:8820544] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/sysipc.c
r466e95f7 r8820544 736 736 * @param ucode Uspace pointer to the top-half pseudocode. 737 737 * 738 * @return EPERM or a return code returned by ipc_irq_ register().739 * 740 */ 741 sysarg_t sys_i rq_register(inr_t inr, devno_t devno, sysarg_t imethod,738 * @return EPERM or a return code returned by ipc_irq_subscribe(). 739 * 740 */ 741 sysarg_t sys_ipc_irq_subscribe(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_ register(&TASK->answerbox, inr, devno, imethod, ucode);747 return ipc_irq_subscribe(&TASK->answerbox, inr, devno, imethod, ucode); 748 748 } 749 749 … … 756 756 * 757 757 */ 758 sysarg_t sys_i rq_unregister(inr_t inr, devno_t devno)758 sysarg_t sys_ipc_irq_unsubscribe(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 register(&TASK->answerbox, inr, devno);763 ipc_irq_unsubscribe(&TASK->answerbox, inr, devno); 764 764 765 765 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.