Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/asm.S

    r9d58539 r27f67f5  
    2727 */
    2828
     29#include <abi/asmtool.h>
    2930#include <arch/register.h>
    3031
    3132.text
    32 .global memcpy_from_uspace
    33 .global memcpy_to_uspace
    34 .global memcpy_from_uspace_failover_address
    35 .global memcpy_to_uspace_failover_address
    3633
    3734/** Copy memory from/to userspace.
     
    4643 *
    4744 */
    48 memcpy_from_uspace:
    49 memcpy_to_uspace:
     45FUNCTION_BEGIN(memcpy_from_uspace)
     46FUNCTION_BEGIN(memcpy_to_uspace)
    5047        alloc loc0 = ar.pfs, 3, 1, 0, 0
    5148       
     
    132129                mov ar.pfs = loc0
    133130                br.ret.sptk.many rp
     131FUNCTION_END(memcpy_from_uspace)
     132FUNCTION_END(memcpy_to_uspace)
    134133
    135 memcpy_from_uspace_failover_address:
    136 memcpy_to_uspace_failover_address:
     134SYMBOL(memcpy_from_uspace_failover_address)
     135SYMBOL(memcpy_to_uspace_failover_address)
    137136        /* Return 0 on failure */
    138137        mov r8 = r0
     
    140139        br.ret.sptk.many rp
    141140
    142 .global cpu_halt
    143 cpu_halt:
     141FUNCTION_BEGIN(cpu_halt)
    144142        br cpu_halt
     143FUNCTION_END(cpu_halt)
    145144
    146145/** Switch to userspace - low level code.
     
    154153 *
    155154 */
    156 .global switch_to_userspace
    157 switch_to_userspace:
     155FUNCTION_BEGIN(switch_to_userspace)
    158156        alloc loc0 = ar.pfs, 6, 3, 0, 0
    159157       
     
    191189       
    192190        rfi ;;
     191FUNCTION_END(switch_to_userspace)
    193192
    194 .global early_putchar
    195 early_putchar:
     193FUNCTION_BEGIN(early_putchar)
    196194        br.ret.sptk.many b0
     195FUNCTION_END(early_putchar)
Note: See TracChangeset for help on using the changeset viewer.