Changeset 8844e70 in mainline for uspace/lib/c/arch/ia32/src/syscall.S


Ignore:
Timestamp:
2016-04-11T17:03:47Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3b0f1b9a
Parents:
3a34852
Message:

ia32: use asmtool.h macros for defining symbols

File:
1 edited

Legend:

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

    r3a34852 r8844e70  
    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
     63FUNCTION_END(__syscall_slow)
    6364
    6465
     
    7172 * segment, otherwise the SYSENTER wouldn't work in the first place).
    7273 */
    73 .global __syscall_fast
    74         .type __syscall_fast, @function
    75 
    76 __syscall_fast:
     74FUNCTION_BEGIN(__syscall_fast)
    7775        pushl %ebx
    7876        pushl %esi
     
    9896        popl %ebx
    9997        ret
    100 
    101         .size __syscall_fast, . - __syscall_fast
     98FUNCTION_END(__syscall_fast)
Note: See TracChangeset for help on using the changeset viewer.