summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/percpuasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/percpuasm.c')
-rw-r--r--cpukit/score/src/percpuasm.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/score/src/percpuasm.c b/cpukit/score/src/percpuasm.c
index d422a0deb6..15b49c72e1 100644
--- a/cpukit/score/src/percpuasm.c
+++ b/cpukit/score/src/percpuasm.c
@@ -88,6 +88,16 @@ RTEMS_STATIC_ASSERT(
);
RTEMS_STATIC_ASSERT(
+ offsetof(Per_CPU_Control, executing) == PER_CPU_OFFSET_EXECUTING,
+ PER_CPU_OFFSET_EXECUTING
+);
+
+RTEMS_STATIC_ASSERT(
+ offsetof(Per_CPU_Control, heir) == PER_CPU_OFFSET_HEIR,
+ PER_CPU_OFFSET_HEIR
+);
+
+RTEMS_STATIC_ASSERT(
offsetof(Per_CPU_Control, dispatch_necessary) == PER_CPU_DISPATCH_NEEDED,
PER_CPU_DISPATCH_NEEDED
);