Subversion Repositories HelenOS-historic

Rev

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

Rev 1227 Rev 1278
Line 46... Line 46...
46
 */
46
 */
47
int ddi_iospace_enable_arch(task_t *task, __address ioaddr, size_t size)
47
int ddi_iospace_enable_arch(task_t *task, __address ioaddr, size_t size)
48
{
48
{
49
    return 0;
49
    return 0;
50
}
50
}
51
 
-
 
52
/** Enable/disable interrupts for syscall
-
 
53
 *
-
 
54
 * @param enable If non-zero, interrupts are enabled, otherwise disabled
-
 
55
 * @param flags CP0 status register
-
 
56
 */
-
 
57
__native ddi_int_control_arch(__native enable, __native *flags)
-
 
58
{
-
 
59
    if (enable)
-
 
60
        *flags |= cp0_status_ie_enabled_bit;
-
 
61
    else
-
 
62
        *flags &= ~cp0_status_ie_enabled_bit;
-
 
63
    return 0;
-
 
64
}
-