Changes in kernel/arch/ppc32/src/context.S [b66cc97:a595f5a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/context.S
rb66cc97 ra595f5a 27 27 # 28 28 29 #include <abi/asmtool.h>30 29 #include <arch/context_struct.h> 31 30 #include <arch/asm/regname.h> … … 33 32 .text 34 33 35 FUNCTION_BEGIN(context_save_arch) 34 .global context_save_arch 35 .global context_restore_arch 36 37 context_save_arch: 36 38 stw sp, CONTEXT_OFFSET_SP(r3) 37 39 stw r2, CONTEXT_OFFSET_R2(r3) … … 65 67 li r3, 1 66 68 blr 67 FUNCTION_END(context_save_arch)68 69 69 FUNCTION_BEGIN(context_restore_arch) 70 context_restore_arch: 70 71 lwz sp, CONTEXT_OFFSET_SP(r3) 71 72 lwz r2, CONTEXT_OFFSET_R2(r3) … … 99 100 li r3, 0 100 101 blr 101 FUNCTION_END(context_restore_arch)
Note:
See TracChangeset
for help on using the changeset viewer.