Rev 3485 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3485 | Rev 3631 | ||
---|---|---|---|
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 |