2 * Copyright 2007, Travis Geiselbrecht. All rights reserved.
3 * Distributed under the terms of the MIT License.
11 /* user space half of the syscall mechanism, to be copied into the commpage */
14 FUNCTION(x86_user_syscall_int):
17 FUNCTION_END(x86_user_syscall_int)
18 SYMBOL(x86_user_syscall_int_end):
21 // Intel sysenter/sysexit
22 FUNCTION(x86_user_syscall_sysenter):
23 // sysexit forces us to trash edx (-> eip) and ecx (-> esp), but they are
24 // scratch registers anyway. We use ecx right away to store esp.
28 FUNCTION_END(x86_user_syscall_sysenter)
29 SYMBOL(x86_user_syscall_sysenter_end):