Ignore:
File:
1 edited

Legend:

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

    r9d58539 ra52e2f4  
    2727 */
    2828
     29#include <abi/asmtool.h>
    2930#include <arch/arch.h>
    3031#include <arch/stack.h>
     
    3839 * Almost the same as memcpy() except the loads are from userspace.
    3940 */
    40 .global memcpy_from_uspace
    41 memcpy_from_uspace:
     41FUNCTION_BEGIN(memcpy_from_uspace)
    4242        mov %o0, %o3  /* save dst */
    4343        add %o1, 7, %g1
     
    108108                jmp %o7 + 8  /* exit point */
    109109                mov %o3, %o0
     110FUNCTION_END(memcpy_from_uspace)
    110111
    111112/*
    112113 * Almost the same as memcpy() except the stores are to userspace.
    113114 */
    114 .global memcpy_to_uspace
    115 memcpy_to_uspace:
     115FUNCTION_BEGIN(memcpy_to_uspace)
    116116        mov %o0, %o3  /* save dst */
    117117        add %o1, 7, %g1
     
    182182                jmp     %o7 + 8  /* exit point */
    183183                mov     %o3, %o0
     184FUNCTION_END(memcpy_to_uspace)
    184185
    185 .global memcpy_from_uspace_failover_address
    186 .global memcpy_to_uspace_failover_address
    187 memcpy_from_uspace_failover_address:
    188 memcpy_to_uspace_failover_address:
     186SYMBOL(memcpy_from_uspace_failover_address)
     187SYMBOL(memcpy_to_uspace_failover_address)
    189188        jmp %o7 + 8   /* exit point */
    190189        mov %g0, %o0  /* return 0 on failure */
    191190
    192 .global early_putchar
    193 early_putchar:
     191FUNCTION_BEGIN(early_putchar)
    194192        retl
    195193        nop
     194FUNCTION_END(early_putchar)
Note: See TracChangeset for help on using the changeset viewer.