Changes in kernel/arch/ia32/src/asm.S [b8230b9:62baed17] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/asm.S
rb8230b9 r62baed17 163 163 pushl %edi # remember return user address 164 164 165 xorl %ebp, %ebp # stop stack traces here 166 165 167 pushl %gs # remember TLS 166 168 … … 196 198 # and call exc_dispatch(). 197 199 # 198 #define INTERRUPT_ALIGN 64200 #define INTERRUPT_ALIGN 128 199 201 .macro handler i n 200 202 … … 224 226 movw %ax, %ds 225 227 movw %ax, %es 226 228 229 xorl %ebp, %ebp 230 227 231 cld 228 232 sti … … 230 234 call syscall_handler 231 235 cli 232 addl $28, %esp # clean-up of parameters 236 237 movl 20(%esp), %ebp # restore EBP 238 addl $28, %esp # clean-up of parameters 233 239 234 240 popl %gs … … 280 286 movw %ax, %es 281 287 282 # stop stack traces here 288 # stop stack traces here if we came from userspace 289 cmpl $8, 40(%esp) 290 jz 0f 283 291 xorl %ebp, %ebp 284 292 293 0: 285 294 pushl %esp # *istate 286 295 pushl $(\i) # intnum
Note:
See TracChangeset
for help on using the changeset viewer.