Changes in uspace/lib/c/arch/ia32/src/syscall.S [9d58539:58563585] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/src/syscall.S
r9d58539 r58563585 27 27 # 28 28 29 #include <abi/asmtool.h> 30 29 31 .data 30 32 31 .global __syscall_fast_func 32 __syscall_fast_func: 33 OBJECT_BEGIN(__syscall_fast_func) 33 34 .long __syscall_slow 34 .size __syscall_fast_func, . - __syscall_fast_func 35 OBJECT_END(__syscall_fast_func) 35 36 36 37 .text … … 42 43 * could benefit from this and not save unused registers on the stack. 43 44 */ 44 .global __syscall_slow 45 __syscall_slow: 45 FUNCTION_BEGIN(__syscall_slow) 46 46 pushl %ebx 47 47 pushl %esi … … 61 61 popl %ebx 62 62 ret 63 63 FUNCTION_END(__syscall_slow) 64 64 65 65 /** Syscall wrapper - SYSENTER version. … … 71 71 * segment, otherwise the SYSENTER wouldn't work in the first place). 72 72 */ 73 .global __syscall_fast 74 .type __syscall_fast, @function 75 76 __syscall_fast: 73 FUNCTION_BEGIN(__syscall_fast) 77 74 pushl %ebx 78 75 pushl %esi … … 98 95 popl %ebx 99 96 ret 100 101 .size __syscall_fast, . - __syscall_fast 97 FUNCTION_END(__syscall_fast)
Note:
See TracChangeset
for help on using the changeset viewer.