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