summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/percpuasm.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-11 15:45:10 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-18 07:30:33 +0100
commit2072dd242f269ca7d3d14b8f4e2830f15e85e555 (patch)
tree8e300c821ba705af87500c307273f46027ab4bbd /cpukit/score/src/percpuasm.c
parentarm: Provide CPU_Interrupt_frame for ARMv4 (diff)
downloadrtems-2072dd242f269ca7d3d14b8f4e2830f15e85e555.tar.bz2
score: Add Per_CPU_Control::isr_dispatch_disable
Update #2751.
Diffstat (limited to 'cpukit/score/src/percpuasm.c')
-rw-r--r--cpukit/score/src/percpuasm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/score/src/percpuasm.c b/cpukit/score/src/percpuasm.c
index 53e6326abd..29bdb138e7 100644
--- a/cpukit/score/src/percpuasm.c
+++ b/cpukit/score/src/percpuasm.c
@@ -84,6 +84,12 @@ RTEMS_STATIC_ASSERT(
);
RTEMS_STATIC_ASSERT(
+ offsetof(Per_CPU_Control, isr_dispatch_disable)
+ == PER_CPU_ISR_DISPATCH_DISABLE,
+ PER_CPU_ISR_DISPATCH_DISABLE
+);
+
+RTEMS_STATIC_ASSERT(
offsetof(Per_CPU_Control, thread_dispatch_disable_level)
== PER_CPU_THREAD_DISPATCH_DISABLE_LEVEL,
PER_CPU_THREAD_DISPATCH_DISABLE_LEVEL