From 9f1412b9dc37a3919f21794f29b0199dc9ec4ea4 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Sep 2011 10:25:22 +0000 Subject: 2011-09-16 Sebastian Huber * 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. --- cpukit/score/cpu/nios2/rtems/score/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/score/cpu/nios2/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index 956294d303..07f1f29179 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -134,6 +134,8 @@ typedef struct { uint32_t sp; uint32_t ra; uint32_t thread_dispatch_disabled; + uint32_t stack_mpubase; + uint32_t stack_mpuacc; } Context_Control; #define _CPU_Context_Get_SP( _context ) \ -- cgit v1.2.3