Ignore:
File:
1 edited

Legend:

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

    ra52e2f4 r9d58539  
    2727 */
    2828
    29 #include <abi/asmtool.h>
    3029#include <arch/arch.h>
    3130#include <arch/stack.h>
     
    3938 * Almost the same as memcpy() except the loads are from userspace.
    4039 */
    41 FUNCTION_BEGIN(memcpy_from_uspace)
     40.global memcpy_from_uspace
     41memcpy_from_uspace:
    4242        mov %o0, %o3  /* save dst */
    4343        add %o1, 7, %g1
     
    108108                jmp %o7 + 8  /* exit point */
    109109                mov %o3, %o0
    110 FUNCTION_END(memcpy_from_uspace)
    111110
    112111/*
    113112 * Almost the same as memcpy() except the stores are to userspace.
    114113 */
    115 FUNCTION_BEGIN(memcpy_to_uspace)
     114.global memcpy_to_uspace
     115memcpy_to_uspace:
    116116        mov %o0, %o3  /* save dst */
    117117        add %o1, 7, %g1
     
    182182                jmp     %o7 + 8  /* exit point */
    183183                mov     %o3, %o0
    184 FUNCTION_END(memcpy_to_uspace)
    185184
    186 SYMBOL(memcpy_from_uspace_failover_address)
    187 SYMBOL(memcpy_to_uspace_failover_address)
     185.global memcpy_from_uspace_failover_address
     186.global memcpy_to_uspace_failover_address
     187memcpy_from_uspace_failover_address:
     188memcpy_to_uspace_failover_address:
    188189        jmp %o7 + 8   /* exit point */
    189190        mov %g0, %o0  /* return 0 on failure */
    190191
    191 FUNCTION_BEGIN(early_putchar)
     192.global early_putchar
     193early_putchar:
    192194        retl
    193195        nop
    194 FUNCTION_END(early_putchar)
Note: See TracChangeset for help on using the changeset viewer.