Changeset 8e7c9fe in mainline for kernel/generic/src/ipc/sysipc.c
- Timestamp:
- 2014-09-12T03:45:25Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/sysipc.c
r3eb0c85 r8e7c9fe 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.