Subversion Repositories HelenOS-historic

Rev

Rev 1254 | Rev 1430 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1254 Rev 1279
Line 85... Line 85...
85
 
85
 
86
/** Interrupt control
86
/** Interrupt control
87
 *
87
 *
88
 * @param enable 1 - enable interrupts, 0 - disable interrupts
88
 * @param enable 1 - enable interrupts, 0 - disable interrupts
89
 */
89
 */
90
int interrupt_control(int enable)
90
int preemption_control(int enable)
91
{
91
{
92
    return __SYSCALL1(SYS_INT_CONTROL, (sysarg_t) enable);
92
    return __SYSCALL1(SYS_PREEMPT_CONTROL, (sysarg_t) enable);
93
}
93
}