diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-02 13:54:08 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-09 21:58:39 +0200 |
commit | 10fd4aacc7c2788ebc6a696174ae0a98c4a83dd3 (patch) | |
tree | 0fe6d3372886bf42a019366939928fa55398dba9 /cpukit/score/cpu/no_cpu/rtems | |
parent | bsp/pc386: Provide local outb() for elink driver (diff) | |
download | rtems-10fd4aacc7c2788ebc6a696174ae0a98c4a83dd3.tar.bz2 |
score/cpu: Add CPU_Per_CPU_control
Add CPU port specific per-CPU control.
Diffstat (limited to 'cpukit/score/cpu/no_cpu/rtems')
-rw-r--r-- | cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 18 |
1 files changed, 18 insertions, 0 deletions
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. * @@ -485,6 +493,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 * * From the highest level viewpoint, there are 2 types of context to save. |