Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/sysipc.c

    r466e95f7 r8820544  
    736736 * @param ucode   Uspace pointer to the top-half pseudocode.
    737737 *
    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,
     738 * @return EPERM or a return code returned by ipc_irq_subscribe().
     739 *
     740 */
     741sysarg_t sys_ipc_irq_subscribe(inr_t inr, devno_t devno, sysarg_t imethod,
    742742    irq_code_t *ucode)
    743743{
     
    745745                return EPERM;
    746746       
    747         return ipc_irq_register(&TASK->answerbox, inr, devno, imethod, ucode);
     747        return ipc_irq_subscribe(&TASK->answerbox, inr, devno, imethod, ucode);
    748748}
    749749
     
    756756 *
    757757 */
    758 sysarg_t sys_irq_unregister(inr_t inr, devno_t devno)
     758sysarg_t sys_ipc_irq_unsubscribe(inr_t inr, devno_t devno)
    759759{
    760760        if (!(cap_get(TASK) & CAP_IRQ_REG))
    761761                return EPERM;
    762762       
    763         ipc_irq_unregister(&TASK->answerbox, inr, devno);
     763        ipc_irq_unsubscribe(&TASK->answerbox, inr, devno);
    764764       
    765765        return 0;
Note: See TracChangeset for help on using the changeset viewer.