Changeset 8844e70 in mainline for uspace/lib/c/arch/ia32/src/syscall.S
- Timestamp:
- 2016-04-11T17:03:47Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3b0f1b9a
- Parents:
- 3a34852
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/src/syscall.S
r3a34852 r8844e70 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 FUNCTION_END(__syscall_slow) 63 64 64 65 … … 71 72 * segment, otherwise the SYSENTER wouldn't work in the first place). 72 73 */ 73 .global __syscall_fast 74 .type __syscall_fast, @function 75 76 __syscall_fast: 74 FUNCTION_BEGIN(__syscall_fast) 77 75 pushl %ebx 78 76 pushl %esi … … 98 96 popl %ebx 99 97 ret 100 101 .size __syscall_fast, . - __syscall_fast 98 FUNCTION_END(__syscall_fast)
Note:
See TracChangeset
for help on using the changeset viewer.