Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/src/syscall.S

    r9d58539 r58563585  
    2727#
    2828
     29#include <abi/asmtool.h>
     30
    2931.data
    3032
    31 .global __syscall_fast_func
    32 __syscall_fast_func:
     33OBJECT_BEGIN(__syscall_fast_func)
    3334        .long __syscall_slow
    34         .size __syscall_fast_func, . - __syscall_fast_func
     35OBJECT_END(__syscall_fast_func)
    3536
    3637.text
     
    4243 * could benefit from this and not save unused registers on the stack.
    4344 */
    44 .global __syscall_slow
    45 __syscall_slow:
     45FUNCTION_BEGIN(__syscall_slow)
    4646        pushl %ebx
    4747        pushl %esi
     
    6161        popl %ebx
    6262        ret
    63 
     63FUNCTION_END(__syscall_slow)
    6464
    6565/** Syscall wrapper - SYSENTER version.
     
    7171 * segment, otherwise the SYSENTER wouldn't work in the first place).
    7272 */
    73 .global __syscall_fast
    74         .type __syscall_fast, @function
    75 
    76 __syscall_fast:
     73FUNCTION_BEGIN(__syscall_fast)
    7774        pushl %ebx
    7875        pushl %esi
     
    9895        popl %ebx
    9996        ret
    100 
    101         .size __syscall_fast, . - __syscall_fast
     97FUNCTION_END(__syscall_fast)
Note: See TracChangeset for help on using the changeset viewer.