Subversion Repositories HelenOS-historic

Rev

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

Rev 1263 Rev 1278
Line 99... Line 99...
99
    task->arch.iomapver++;
99
    task->arch.iomapver++;
100
 
100
 
101
    return 0;
101
    return 0;
102
}
102
}
103
 
103
 
104
/** Enable/disable interrupts for syscall
-
 
105
 *
-
 
106
 * @param enable If non-zero, interrupts are enabled, otherwise disabled
-
 
107
 * @param flags EFLAGS flags register
-
 
108
 */
-
 
109
__native ddi_int_control_arch(__native enable, __native *flags)
-
 
110
{
-
 
111
    if (enable)
-
 
112
        *flags |= EFLAGS_IF;
-
 
113
    else
-
 
114
        *flags &= ~EFLAGS_IF;
-
 
115
    return 0;
-
 
116
}
-
 
117
 
-
 
118
/** Install I/O Permission bitmap.
104
/** Install I/O Permission bitmap.
119
 *
105
 *
120
 * Current task's I/O permission bitmap, if any, is installed
106
 * Current task's I/O permission bitmap, if any, is installed
121
 * in the current CPU's TSS.
107
 * in the current CPU's TSS.
122
 *
108
 *