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