Ignore:
File:
1 edited

Legend:

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

    rb66cc97 rf892ed3b  
    2727 */
    2828
    29 #include <abi/asmtool.h>
    3029#include <arch/asm/regname.h>
    3130#include <arch/msr.h>
     
    3433.text
    3534
    36 FUNCTION_BEGIN(userspace_asm)
     35.global userspace_asm
     36.global iret
     37.global iret_syscall
     38.global memcpy_from_uspace
     39.global memcpy_to_uspace
     40.global memcpy_from_uspace_failover_address
     41.global memcpy_to_uspace_failover_address
     42.global early_putchar
     43
     44userspace_asm:
     45       
    3746        /*
    3847         * r3 = uspace_uarg
     
    6978       
    7079        rfi
    71 FUNCTION_END(userspace_asm)
    72 
    73 SYMBOL(iret)
     80
     81iret:
     82       
    7483        /* Disable interrupts */
    7584       
     
    133142        rfi
    134143
    135 SYMBOL(iret_syscall)
     144iret_syscall:
     145       
    136146        /* Disable interrupts */
    137147       
     
    194204        rfi
    195205
    196 FUNCTION_BEGIN(memcpy_from_uspace)
    197 FUNCTION_BEGIN(memcpy_to_uspace)
     206memcpy_from_uspace:
     207memcpy_to_uspace:
     208       
    198209        srwi. r7, r5, 3
    199210        addi r6, r3, -4
     
    256267                mtctr r7
    257268                b 1b
    258 FUNCTION_END(memcpy_from_uspace)
    259 FUNCTION_END(memcpy_to_uspace)
    260 
    261 SYMBOL(memcpy_from_uspace_failover_address)
    262 SYMBOL(memcpy_to_uspace_failover_address)
     269
     270memcpy_from_uspace_failover_address:
     271memcpy_to_uspace_failover_address:
    263272        /* Return zero, failure */
    264273        xor r3, r3, r3
    265274        blr
    266275
    267 FUNCTION_BEGIN(early_putchar)
     276early_putchar:
    268277        blr
    269 FUNCTION_END(early_putchar)
Note: See TracChangeset for help on using the changeset viewer.