From cfc4231d8fe1056fa501508a929c8ccaa1dd11be Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 27 Aug 2018 10:36:35 +0200 Subject: score: Add flexible per-CPU data Update #3507. --- cpukit/include/rtems/score/percpu.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'cpukit/include/rtems/score/percpu.h') 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 @@ -476,6 +476,13 @@ typedef struct Per_CPU_Control { struct _Thread_Control *idle_if_online_and_unused; } 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. * -- cgit v1.2.3