Rev 2787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2787 | Rev 2925 | ||
---|---|---|---|
Line 74... | Line 74... | ||
74 | #define OFFSET_FPSCR 0x90 |
74 | #define OFFSET_FPSCR 0x90 |
75 | 75 | ||
76 | #ifdef __ASM__ |
76 | #ifdef __ASM__ |
77 | # include <arch/asm/regname.h> |
77 | # include <arch/asm/regname.h> |
78 | 78 | ||
79 | - | ||
80 | # ctx: address of the structure with saved context |
79 | # ctx: address of the structure with saved context |
81 | .macro CONTEXT_SAVE_ARCH_CORE ctx:req |
80 | .macro CONTEXT_SAVE_ARCH_CORE ctx:req |
82 | stw sp, OFFSET_SP(\ctx) |
81 | stw sp, OFFSET_SP(\ctx) |
83 | stw r2, OFFSET_R2(\ctx) |
82 | stw r2, OFFSET_R2(\ctx) |
84 | stw r13, OFFSET_R13(\ctx) |
83 | stw r13, OFFSET_R13(\ctx) |