Ignore:
File:
1 edited

Legend:

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

    r0407636 r5301662  
    2727 */
    2828
    29 #include <abi/asmtool.h>
    3029#include <arch/asm/regname.h>
    3130#include <arch/fpu_context_struct.h>
     
    4948.set nomacro
    5049
    51 FUNCTION_BEGIN(asm_delay_loop)
     50.global asm_delay_loop
     51asm_delay_loop:
    5252        j $31
    5353        nop
    54 FUNCTION_END(asm_delay_loop)
    55 
    56 FUNCTION_BEGIN(cpu_halt)
     54
     55.global cpu_halt
     56cpu_halt:
    5757        j cpu_halt
    5858        nop
    59 FUNCTION_END(cpu_halt)
    60 
    61 FUNCTION_BEGIN(memcpy_from_uspace)
    62 FUNCTION_BEGIN(memcpy_to_uspace)
     59
     60.global memcpy_from_uspace
     61.global memcpy_to_uspace
     62.global memcpy_from_uspace_failover_address
     63.global memcpy_to_uspace_failover_address
     64memcpy_from_uspace:
     65memcpy_to_uspace:
    6366        move $t2, $a0  /* save dst */
    6467       
     
    126129                jr $ra
    127130                move $v0, $t2
    128 FUNCTION_END(memcpy_from_uspace)
    129 FUNCTION_END(memcpy_to_uspace)
    130 
    131 SYMBOL(memcpy_from_uspace_failover_address)
    132 SYMBOL(memcpy_to_uspace_failover_address)
     131
     132memcpy_from_uspace_failover_address:
     133memcpy_to_uspace_failover_address:
    133134        jr $ra
    134135        move $v0, $zero
     
    154155.endm
    155156
    156 FUNCTION_BEGIN(fpu_context_save)
     157.global fpu_context_save
     158fpu_context_save:
    157159#ifdef CONFIG_FPU
    158160        fpu_gp_save 0, $a0
     
    223225        j $ra
    224226        nop
    225 FUNCTION_END(fpu_context_save)
    226 
    227 FUNCTION_BEGIN(fpu_context_restore)
     227
     228.global fpu_context_restore
     229fpu_context_restore:
    228230#ifdef CONFIG_FPU
    229231        fpu_gp_restore 0, $a0
     
    294296        j $ra
    295297        nop
    296 FUNCTION_END(fpu_context_restore)
    297 
    298 FUNCTION_BEGIN(early_putchar)
     298
     299.global early_putchar
     300early_putchar:
    299301        j $ra
    300302        nop
    301 FUNCTION_END(early_putchar)
Note: See TracChangeset for help on using the changeset viewer.