Changeset 3d77747 in mainline for libc/generic/ddi.c


Ignore:
Timestamp:
2006-04-22T18:05:25Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
34c4d69
Parents:
1c7da86
Message:

Added uspace call to enable/disable interrupts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/ddi.c

    r1c7da86 r3d77747  
    8383        return __SYSCALL1(SYS_ENABLE_IOSPACE, (sysarg_t) &arg);
    8484}
     85
     86/** Interrupt control
     87 *
     88 * @param enable 1 - enable interrupts, 0 - disable interrupts
     89 */
     90int interrupt_control(int enable)
     91{
     92        return __SYSCALL1(SYS_INT_CONTROL, (sysarg_t) enable);
     93}
Note: See TracChangeset for help on using the changeset viewer.