Ignore:
File:
1 edited

Legend:

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

    r27f67f5 r9d58539  
    2727 */
    2828
    29 #include <abi/asmtool.h>
    3029#include <arch/register.h>
    3130
    3231.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
    3336
    3437/** Copy memory from/to userspace.
     
    4346 *
    4447 */
    45 FUNCTION_BEGIN(memcpy_from_uspace)
    46 FUNCTION_BEGIN(memcpy_to_uspace)
     48memcpy_from_uspace:
     49memcpy_to_uspace:
    4750        alloc loc0 = ar.pfs, 3, 1, 0, 0
    4851       
     
    129132                mov ar.pfs = loc0
    130133                br.ret.sptk.many rp
    131 FUNCTION_END(memcpy_from_uspace)
    132 FUNCTION_END(memcpy_to_uspace)
    133134
    134 SYMBOL(memcpy_from_uspace_failover_address)
    135 SYMBOL(memcpy_to_uspace_failover_address)
     135memcpy_from_uspace_failover_address:
     136memcpy_to_uspace_failover_address:
    136137        /* Return 0 on failure */
    137138        mov r8 = r0
     
    139140        br.ret.sptk.many rp
    140141
    141 FUNCTION_BEGIN(cpu_halt)
     142.global cpu_halt
     143cpu_halt:
    142144        br cpu_halt
    143 FUNCTION_END(cpu_halt)
    144145
    145146/** Switch to userspace - low level code.
     
    153154 *
    154155 */
    155 FUNCTION_BEGIN(switch_to_userspace)
     156.global switch_to_userspace
     157switch_to_userspace:
    156158        alloc loc0 = ar.pfs, 6, 3, 0, 0
    157159       
     
    189191       
    190192        rfi ;;
    191 FUNCTION_END(switch_to_userspace)
    192193
    193 FUNCTION_BEGIN(early_putchar)
     194.global early_putchar
     195early_putchar:
    194196        br.ret.sptk.many b0
    195 FUNCTION_END(early_putchar)
Note: See TracChangeset for help on using the changeset viewer.