Rev 2613 | Rev 3043 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2613 | Rev 2784 | ||
|---|---|---|---|
| Line 171... | Line 171... | ||
| 171 | # we must fill the data segment registers |
171 | # we must fill the data segment registers |
| 172 | movw $16, %ax |
172 | movw $16, %ax |
| 173 | movw %ax, %ds |
173 | movw %ax, %ds |
| 174 | movw %ax, %es |
174 | movw %ax, %es |
| 175 | 175 | ||
| - | 176 | cld |
|
| 176 | sti |
177 | sti |
| 177 | # syscall_handler(edx, ecx, ebx, esi, edi, ebp, eax) |
178 | # syscall_handler(edx, ecx, ebx, esi, edi, ebp, eax) |
| 178 | call syscall_handler |
179 | call syscall_handler |
| 179 | cli |
180 | cli |
| 180 | addl $28, %esp # clean-up of parameters |
181 | addl $28, %esp # clean-up of parameters |
| Line 231... | Line 232... | ||
| 231 | # we must fill the data segment registers |
232 | # we must fill the data segment registers |
| 232 | movw $16, %ax |
233 | movw $16, %ax |
| 233 | movw %ax, %ds |
234 | movw %ax, %ds |
| 234 | movw %ax, %es |
235 | movw %ax, %es |
| 235 | 236 | ||
| - | 237 | cld |
|
| - | 238 | ||
| 236 | pushl %esp # *istate |
239 | pushl %esp # *istate |
| 237 | pushl $(\i) # intnum |
240 | pushl $(\i) # intnum |
| 238 | call exc_dispatch # excdispatch(intnum, *istate) |
241 | call exc_dispatch # excdispatch(intnum, *istate) |
| 239 | addl $8, %esp # Clear arguments from stack |
242 | addl $8, %esp # Clear arguments from stack |
| 240 | 243 | ||