summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/percpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-27 10:36:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-10 10:38:45 +0200
commitcfc4231d8fe1056fa501508a929c8ccaa1dd11be (patch)
tree522a0bcab2e11c0dbd71a1f8c66b336608338d7a /cpukit/include/rtems/score/percpu.h
parent77d374f580d48ad0ebdbb09950087603b38956db (diff)
downloadrtems-cfc4231d8fe1056fa501508a929c8ccaa1dd11be.tar.bz2
score: Add flexible per-CPU data
Update #3507.
Diffstat (limited to 'cpukit/include/rtems/score/percpu.h')
-rw-r--r--cpukit/include/rtems/score/percpu.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/percpu.h b/cpukit/include/rtems/score/percpu.h
index f0b155d4c1..712d1cde36 100644
--- a/cpukit/include/rtems/score/percpu.h
+++ b/cpukit/include/rtems/score/percpu.h
@@ -9,7 +9,7 @@
* COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
- * Copyright (c) 2012, 2016 embedded brains GmbH
+ * Copyright (c) 2012, 2018 embedded brains GmbH
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
@@ -477,6 +477,13 @@ typedef struct Per_CPU_Control {
} Scheduler;
/**
+ * @brief Begin of the per-CPU data area.
+ *
+ * Contains items defined via PER_CPU_DATA_ITEM().
+ */
+ char *data;
+
+ /**
* @brief Indicates the current state of the CPU.
*
* This field is protected by the _Per_CPU_State_lock lock.