diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-09-16 10:25:22 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-09-16 10:25:22 +0000 |
commit | 9f1412b9dc37a3919f21794f29b0199dc9ec4ea4 (patch) | |
tree | c5c576f66845f317f9835cb8a8d2391a449f2143 /cpukit/score/cpu/nios2/nios2-context-switch.S | |
parent | 2011-09-16 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-9f1412b9dc37a3919f21794f29b0199dc9ec4ea4.tar.bz2 |
2011-09-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* nios2-eic-il-low-level.S, nios2-eic-rsie-low-level.S: New files.
* Makefile.am: Reflect changes above.
* rtems/score/cpu.h, rtems/score/nios2-utility.h,
nios2-thread-dispatch-disabled.c, nios2-context-switch.S: Added
support for thread stack protection via the MPU.
Diffstat (limited to 'cpukit/score/cpu/nios2/nios2-context-switch.S')
-rw-r--r-- | cpukit/score/cpu/nios2/nios2-context-switch.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/nios2/nios2-context-switch.S b/cpukit/score/cpu/nios2/nios2-context-switch.S index bf6b836f6b..71704ae62c 100644 --- a/cpukit/score/cpu/nios2/nios2-context-switch.S +++ b/cpukit/score/cpu/nios2/nios2-context-switch.S @@ -43,11 +43,11 @@ _CPU_Context_switch: stw r8, NIOS2_CONTEXT_OFFSET_STATUS(r4) stw sp, NIOS2_CONTEXT_OFFSET_SP(r4) stw ra, NIOS2_CONTEXT_OFFSET_RA(r4) - stw r9, NIOS2_CONTEXT_OFFSET_TDD(r4) + stw r9, NIOS2_CONTEXT_OFFSET_THREAD_DISPATCH_DISABLED(r4) restore: - ldw r10, NIOS2_CONTEXT_OFFSET_TDD(r5) + ldw r10, NIOS2_CONTEXT_OFFSET_THREAD_DISPATCH_DISABLED(r5) ldw r16, NIOS2_CONTEXT_OFFSET_R16(r5) ldw r17, NIOS2_CONTEXT_OFFSET_R17(r5) ldw r18, NIOS2_CONTEXT_OFFSET_R18(r5) |