diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-10 11:36:23 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-11 07:37:58 +0200 |
commit | b2dbb634eccc4132eb839a0ed5ab09c7b3bd992e (patch) | |
tree | f8ceced2aa2efa35f9a208a9279bcf5b95ea03e5 /cpukit/score/include/rtems/score/cpuset.h | |
parent | posix: Validate affinity sets by the scheduler (diff) | |
download | rtems-b2dbb634eccc4132eb839a0ed5ab09c7b3bd992e.tar.bz2 |
score: Remove CPU_set_Control
Use Processor_mask instead.
Update #2514.
Diffstat (limited to 'cpukit/score/include/rtems/score/cpuset.h')
-rw-r--r-- | cpukit/score/include/rtems/score/cpuset.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/cpukit/score/include/rtems/score/cpuset.h b/cpukit/score/include/rtems/score/cpuset.h deleted file mode 100644 index 564f4a5efb..0000000000 --- a/cpukit/score/include/rtems/score/cpuset.h +++ /dev/null @@ -1,63 +0,0 @@ -/** - * @file rtems/score/cpuset.h - * - * @brief Information About the CPU Set - * - * This include file contains all information about the thread - * CPU Set. - */ - -/* - * COPYRIGHT (c) 2014. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifndef _RTEMS_SCORE_CPUSET_H -#define _RTEMS_SCORE_CPUSET_H - -#include <rtems/score/basedefs.h> - -#include <sys/cpuset.h> - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup ScoreCpuset SuperCore CPU Set - * - * @ingroup Score - * - * This handler encapsulates functionality which is used in the management - * of thread's CPU set. - */ -/**@{*/ - -/** - * The following defines the control block used to manage the cpuset. - * The names do not include affinity in the front in case the set is - * ever used for something other than affinity. The usage in thread - * uses the attribute affinity such that accesses will read - * thread->affinity.set. - */ -typedef struct { - /** This is the size of the set */ - size_t setsize; - /** This is the preallocated space to store the set */ - cpu_set_t preallocated; - /** This is a pointer to the set in use */ - cpu_set_t *set; -} CPU_set_Control; - -/**@}*/ - -#ifdef __cplusplus -} -#endif - -#endif /* _RTEMS_SCORE_CPUSET_H */ -/* end of include file */ |