summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-02-17 14:26:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-03-04 13:36:08 +0100
commitdecff899ec5f63cadc1ea3e985e1bdb7144787b7 (patch)
tree02656756908fa9562a7e3ea349b7d4553f7f6e2b /cpukit
parentpc386: adjust assembly in bsp_fatal_halt (diff)
downloadrtems-decff899ec5f63cadc1ea3e985e1bdb7144787b7.tar.bz2
score: Add CPU_MAXIMUM_PROCESSORS
Maximum number of processors of all systems supported by this CPU port.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/epiphany/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/i386/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/lm32/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/mips/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/moxie/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/nios2/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/no_cpu/rtems/score/cpu.h6
-rw-r--r--cpukit/score/cpu/or1k/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/powerpc/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/sh/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/sparc64/rtems/score/cpu.h2
-rw-r--r--cpukit/score/cpu/v850/rtems/score/cpu.h2
17 files changed, 38 insertions, 0 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index 89b76090cc..43805904e0 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -204,6 +204,8 @@
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/** @} */
#ifdef ARM_MULTILIB_HAS_THREAD_ID_REGISTER
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h
index 3302f474cd..e4ad87f019 100644
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h
@@ -354,6 +354,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* Processor defined structures required for cpukit/score.
*
diff --git a/cpukit/score/cpu/epiphany/rtems/score/cpu.h b/cpukit/score/cpu/epiphany/rtems/score/cpu.h
index 896af12cb8..e433e197e8 100644
--- a/cpukit/score/cpu/epiphany/rtems/score/cpu.h
+++ b/cpukit/score/cpu/epiphany/rtems/score/cpu.h
@@ -795,6 +795,8 @@ typedef struct {
#define CPU_EXCEPTION_FRAME_SIZE 260
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
#ifndef ASM
typedef uint16_t Priority_bit_map_Word;
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h
index 3d9e4eb541..a0b44cb755 100644
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h
@@ -124,6 +124,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
#define I386_CONTEXT_CONTROL_EFLAGS_OFFSET 0
#define I386_CONTEXT_CONTROL_ESP_OFFSET 4
#define I386_CONTEXT_CONTROL_EBP_OFFSET 8
diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h
index 3ddae7cf20..1a22da88b4 100644
--- a/cpukit/score/cpu/lm32/rtems/score/cpu.h
+++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h
@@ -348,6 +348,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* Processor defined structures required for cpukit/score.
*
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h
index 59e9b4e987..de0ead55f4 100644
--- a/cpukit/score/cpu/m32c/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h
@@ -371,6 +371,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* Processor defined structures required for cpukit/score.
*
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h
index 06d711af48..470391a027 100644
--- a/cpukit/score/cpu/m68k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h
@@ -115,6 +115,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
#if ( CPU_HARDWARE_FP == TRUE ) && !defined( __mcoldfire__ )
#if defined( __mc68060__ )
#define M68K_FP_STATE_SIZE 16
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h
index cb66b89018..67a9ea6b95 100644
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h
@@ -313,6 +313,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* Processor defined structures
*
diff --git a/cpukit/score/cpu/moxie/rtems/score/cpu.h b/cpukit/score/cpu/moxie/rtems/score/cpu.h
index 9f0b9b4bde..ad40ff49e6 100644
--- a/cpukit/score/cpu/moxie/rtems/score/cpu.h
+++ b/cpukit/score/cpu/moxie/rtems/score/cpu.h
@@ -285,6 +285,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* Processor defined structures required for cpukit/score.
*
diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h
index 1008865e48..0dd7ed4fab 100644
--- a/cpukit/score/cpu/nios2/rtems/score/cpu.h
+++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h
@@ -111,6 +111,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
#ifndef ASM
typedef struct {
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
index 1c29bd6d8f..a56bc173e3 100644
--- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
+++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h
@@ -391,6 +391,12 @@ extern "C" {
*/
#define CPU_PER_CPU_CONTROL_SIZE 0
+/**
+ * @brief Maximum number of processors of all systems supported by this CPU
+ * port.
+ */
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* Processor defined structures required for cpukit/score.
*
diff --git a/cpukit/score/cpu/or1k/rtems/score/cpu.h b/cpukit/score/cpu/or1k/rtems/score/cpu.h
index 736434336e..5d7a72fe5c 100644
--- a/cpukit/score/cpu/or1k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/rtems/score/cpu.h
@@ -788,6 +788,8 @@ typedef struct {
#define CPU_SIZEOF_POINTER 4
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
#ifndef ASM
typedef uint32_t CPU_Counter_ticks;
typedef uint16_t Priority_bit_map_Word;
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
index f988f8acf6..0f5c8d81ea 100644
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h
@@ -173,6 +173,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* Processor defined structures required for cpukit/score.
*/
diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h
index 2bddba7a76..fd657dd9ed 100644
--- a/cpukit/score/cpu/sh/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sh/rtems/score/cpu.h
@@ -260,6 +260,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* Processor defined structures required for cpukit/score.
*/
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index c2b5f4c84f..96b6ac5265 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -363,6 +363,8 @@ typedef struct {
#define CPU_PER_CPU_CONTROL_SIZE 4
#endif
+#define CPU_MAXIMUM_PROCESSORS 32
+
/**
* @brief Offset of the CPU_Per_CPU_control::isr_dispatch_disable field
* relative to the Per_CPU_Control begin.
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
index aa756f9f4a..a669c54436 100644
--- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h
@@ -209,6 +209,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
/*
* This structure represents the organization of the minimum stack frame
* for the SPARC. More framing information is required in certain situaions
diff --git a/cpukit/score/cpu/v850/rtems/score/cpu.h b/cpukit/score/cpu/v850/rtems/score/cpu.h
index e910ae17b2..36e271c3c6 100644
--- a/cpukit/score/cpu/v850/rtems/score/cpu.h
+++ b/cpukit/score/cpu/v850/rtems/score/cpu.h
@@ -348,6 +348,8 @@ extern "C" {
#define CPU_PER_CPU_CONTROL_SIZE 0
+#define CPU_MAXIMUM_PROCESSORS 32
+
typedef struct {
/* There is no CPU specific per-CPU state */
} CPU_Per_CPU_control;