diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-17 19:24:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-17 19:24:16 +0000 |
commit | dace69bfc49b217fa80783e0e9092851622b03d7 (patch) | |
tree | 6bce6607917274ed0ed57274f396b0e4956bdc50 /cpukit/score/cpu/bfin/cpu_asm.S | |
parent | 2010-04-17 Mike Frysinger <vapier.adi@gmail.com> (diff) | |
download | rtems-dace69bfc49b217fa80783e0e9092851622b03d7.tar.bz2 |
2010-04-17 Allan Hessenflow <allanh@kallisti.com>
* cpu.c, cpu_asm.S, rtems/score/cpu.h: Fine tune registers saved in the
context. The sp and imask registers need to be saved. Also allocated
12 bytes on the stack at thread entry as the abi requires that.
Diffstat (limited to 'cpukit/score/cpu/bfin/cpu_asm.S')
-rw-r--r-- | cpukit/score/cpu/bfin/cpu_asm.S | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cpukit/score/cpu/bfin/cpu_asm.S b/cpukit/score/cpu/bfin/cpu_asm.S index 13ca83bc84..7180c635fc 100644 --- a/cpukit/score/cpu/bfin/cpu_asm.S +++ b/cpukit/score/cpu/bfin/cpu_asm.S @@ -255,16 +255,6 @@ __CPU_Context_switch: [p0++] = fp; [p0++] = sp; - /* save length registers */ - r0 = l0; - [p0++] = r0; - r0 = l1; - [p0++] = r0; - r0 = l2; - [p0++] = r0; - r0 = l3; - [p0++] = r0; - /* save rets */ r0 = rets; [p0++] = r0; @@ -290,16 +280,6 @@ restore: fp = [p0++]; sp = [p0++]; - /* restore length registers */ - r0 = [p0++]; - l0 = r0; - r0 = [p0++]; - l1 = r0; - r0 = [p0++]; - l2 = r0; - r0 = [p0++]; - l3 = r0; - /* restore rets */ r0 = [p0++]; rets = r0; |