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/no_cpu/rtems/score/cpu.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'cpukit/score/cpu/no_cpu/rtems/score') diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index 0ffce818f8..391ade1791 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -474,6 +474,14 @@ extern "C" { */ #define CPU_MODES_INTERRUPT_MASK 0x00000001 +/** + * @brief The size of the CPU specific per-CPU control. + * + * This define must be visible to assember files since it is used to derive + * structure offsets. + */ +#define CPU_PER_CPU_CONTROL_SIZE 0 + /* * Processor defined structures required for cpukit/score. * @@ -484,6 +492,16 @@ extern "C" { /* may need to put some structures here. */ +/** + * @brief The CPU specific per-CPU control. + * + * The CPU port can place here all state information that must be available and + * maintained for each CPU in the system. + */ +typedef struct { + /* CPU specific per-CPU state */ +} CPU_Per_CPU_control; + /** * @defgroup CPUContext Processor Dependent Context Management * -- cgit v1.2.3