Rev 3492 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3492 | Rev 3665 | ||
---|---|---|---|
Line 156... | Line 156... | ||
156 | * can actually handle six arguments plus the syscall number |
156 | * can actually handle six arguments plus the syscall number |
157 | * entirely in registers. |
157 | * entirely in registers. |
158 | */ |
158 | */ |
159 | .global sysenter_handler |
159 | .global sysenter_handler |
160 | sysenter_handler: |
160 | sysenter_handler: |
- | 161 | sti |
|
161 | pushl %ebp # remember user stack |
162 | pushl %ebp # remember user stack |
162 | pushl %edi # remember return user address |
163 | pushl %edi # remember return user address |
163 | 164 | ||
164 | pushl %gs # remember TLS |
165 | pushl %gs # remember TLS |
165 | 166 |