Subversion Repositories HelenOS

Rev

Rev 3535 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3535 Rev 3563
Line 62... Line 62...
62
 * address. The kernel part doesn't save DS, ES and FS so the handler restores
62
 * address. The kernel part doesn't save DS, ES and FS so the handler restores
63
 * these to the selector immediately following CS (it must be the flat data
63
 * these to the selector immediately following CS (it must be the flat data
64
 * segment, otherwise the SYSENTER wouldn't work in the first place).
64
 * segment, otherwise the SYSENTER wouldn't work in the first place).
65
 */
65
 */
66
.global __syscall_sysenter
66
.global __syscall_sysenter
-
 
67
	.type __syscall_sysenter, @function
-
 
68
 
67
__syscall_sysenter:
69
__syscall_sysenter:
68
	pushl %ebx
70
	pushl %ebx
69
	pushl %esi
71
	pushl %esi
70
	pushl %edi
72
	pushl %edi
71
	pushl %ebp
73
	pushl %ebp
Line 86... Line 88...
86
	popl %ebp
88
	popl %ebp
87
	popl %edi
89
	popl %edi
88
	popl %esi
90
	popl %esi
89
	popl %ebx
91
	popl %ebx
90
	ret
92
	ret
-
 
93
 
-
 
94
	.size __syscall_sysenter, . - __syscall_sysenter