summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-01-12 07:13:08 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-01 06:26:18 +0100
commit9165349d392d6f3307b9506dd818e91736d7493b (patch)
treedd6bb49ee02961f4ae3ff206020b3fdbfcc89d17 /cpukit/score/cpu/nios2/include/rtems/score/cpu.h
parentnios2: Add TLS support (diff)
downloadrtems-9165349d392d6f3307b9506dd818e91736d7493b.tar.bz2
nios2: Use Per_CPU_Control::isr_dispatch_disable
Diffstat (limited to 'cpukit/score/cpu/nios2/include/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/nios2/include/rtems/score/cpu.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/score/cpu/nios2/include/rtems/score/cpu.h b/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
index 5fffed646e..8caec19b5b 100644
--- a/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/nios2/include/rtems/score/cpu.h
@@ -106,11 +106,6 @@ extern "C" {
*
* There is no need to save the global pointer (gp) since it is a system wide
* constant and set-up with the C runtime environment.
- *
- * The @a thread_dispatch_disabled field is used for the external interrupt
- * controller (EIC) support.
- *
- * @see _Nios2_Thread_dispatch_disabled
*/
typedef struct {
uint32_t r16;
@@ -125,7 +120,14 @@ typedef struct {
uint32_t status;
uint32_t sp;
uint32_t ra;
- uint32_t thread_dispatch_disabled;
+
+ /**
+ * @brief This member is used for the external interrupt controller (EIC) support.
+ *
+ * It corresponds to Per_CPU_Control::isr_dispatch_disable.
+ */
+ uint32_t isr_dispatch_disable;
+
uint32_t stack_mpubase;
uint32_t stack_mpuacc;
} Context_Control;