Ignore:
File:
1 edited

Legend:

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

    rb66cc97 ra595f5a  
    2727#
    2828
    29 #include <abi/asmtool.h>
    3029#include <arch/context_struct.h>
    3130#include <arch/asm/regname.h>
     
    3332.text
    3433
    35 FUNCTION_BEGIN(context_save_arch)
     34.global context_save_arch
     35.global context_restore_arch
     36
     37context_save_arch:
    3638        stw sp, CONTEXT_OFFSET_SP(r3)
    3739        stw r2, CONTEXT_OFFSET_R2(r3)
     
    6567        li r3, 1
    6668        blr
    67 FUNCTION_END(context_save_arch)
    6869
    69 FUNCTION_BEGIN(context_restore_arch)
     70context_restore_arch:
    7071        lwz sp, CONTEXT_OFFSET_SP(r3)
    7172        lwz r2, CONTEXT_OFFSET_R2(r3)
     
    99100        li r3, 0
    100101        blr
    101 FUNCTION_END(context_restore_arch)
Note: See TracChangeset for help on using the changeset viewer.