From 10fd4aacc7c2788ebc6a696174ae0a98c4a83dd3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 2 Aug 2013 13:54:08 +0200 Subject: score/cpu: Add CPU_Per_CPU_control Add CPU port specific per-CPU control. --- cpukit/score/cpu/bfin/rtems/score/cpu.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/bfin/rtems/score') diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h index 8065bbf164..1af3f81f81 100644 --- a/cpukit/score/cpu/bfin/rtems/score/cpu.h +++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h @@ -397,6 +397,8 @@ extern "C" { */ #define CPU_MODES_INTERRUPT_MASK 0x00000001 +#define CPU_PER_CPU_CONTROL_SIZE 0 + /* * Processor defined structures required for cpukit/score. * @@ -407,6 +409,12 @@ extern "C" { /* may need to put some structures here. */ +#ifndef ASM + +typedef struct { + /* There is no CPU specific per-CPU state */ +} CPU_Per_CPU_control; + /** * @defgroup CPUContext Processor Dependent Context Management * @@ -450,8 +458,6 @@ extern "C" { */ /**@{**/ -#ifndef ASM - /** * This defines the minimal set of integer and processor state registers * that must be saved during a voluntary context switch from one thread -- cgit v1.2.3