<div dir="ltr">How does this interact with the pthread affinity and cpuset size? <div><br></div><div>If we end up with a port that can support more than 32, then do we </div><div>increase the cpuset size or make applications more to variable cpuset's?</div><div><br></div><div>What's the intended use? </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 8:47 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Maximum number of processors of all systems supported by this CPU port.<br>
---<br>
 cpukit/score/cpu/arm/rtems/score/cpu.h      | 2 ++<br>
 cpukit/score/cpu/bfin/rtems/score/cpu.h     | 2 ++<br>
 cpukit/score/cpu/epiphany/rtems/score/cpu.h | 2 ++<br>
 cpukit/score/cpu/i386/rtems/score/cpu.h     | 2 ++<br>
 cpukit/score/cpu/lm32/rtems/score/cpu.h     | 2 ++<br>
 cpukit/score/cpu/m32c/rtems/score/cpu.h     | 2 ++<br>
 cpukit/score/cpu/m68k/rtems/score/cpu.h     | 2 ++<br>
 cpukit/score/cpu/mips/rtems/score/cpu.h     | 2 ++<br>
 cpukit/score/cpu/moxie/rtems/score/cpu.h    | 2 ++<br>
 cpukit/score/cpu/nios2/rtems/score/cpu.h    | 2 ++<br>
 cpukit/score/cpu/no_cpu/rtems/score/cpu.h   | 6 ++++++<br>
 cpukit/score/cpu/or1k/rtems/score/cpu.h     | 2 ++<br>
 cpukit/score/cpu/powerpc/rtems/score/cpu.h  | 2 ++<br>
 cpukit/score/cpu/sh/rtems/score/cpu.h       | 2 ++<br>
 cpukit/score/cpu/sparc/rtems/score/cpu.h    | 2 ++<br>
 cpukit/score/cpu/sparc64/rtems/score/cpu.h  | 2 ++<br>
 cpukit/score/cpu/v850/rtems/score/cpu.h     | 2 ++<br>
 17 files changed, 38 insertions(+)<br>
<br>
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h<br>
index 89b7609..4380590 100644<br>
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h<br>
@@ -204,6 +204,8 @@<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /** @} */<br>
<br>
 #ifdef ARM_MULTILIB_HAS_THREAD_ID_REGISTER<br>
diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h<br>
index 3302f47..e4ad87f 100644<br>
--- a/cpukit/score/cpu/bfin/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h<br>
@@ -354,6 +354,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  Processor defined structures required for cpukit/score.<br>
  *<br>
diff --git a/cpukit/score/cpu/epiphany/rtems/score/cpu.h b/cpukit/score/cpu/epiphany/rtems/score/cpu.h<br>
index 896af12..e433e19 100644<br>
--- a/cpukit/score/cpu/epiphany/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/epiphany/rtems/score/cpu.h<br>
@@ -795,6 +795,8 @@ typedef struct {<br>
 #define CPU_EXCEPTION_FRAME_SIZE 260<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 #ifndef ASM<br>
 typedef uint16_t Priority_bit_map_Word;<br>
<br>
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h<br>
index d6828dc..9ad9cf2 100644<br>
--- a/cpukit/score/cpu/i386/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/i386/rtems/score/cpu.h<br>
@@ -129,6 +129,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 #define I386_CONTEXT_CONTROL_EFLAGS_OFFSET 0<br>
 #define I386_CONTEXT_CONTROL_ESP_OFFSET 4<br>
 #define I386_CONTEXT_CONTROL_EBP_OFFSET 8<br>
diff --git a/cpukit/score/cpu/lm32/rtems/score/cpu.h b/cpukit/score/cpu/lm32/rtems/score/cpu.h<br>
index 3ddae7c..1a22da8 100644<br>
--- a/cpukit/score/cpu/lm32/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/lm32/rtems/score/cpu.h<br>
@@ -348,6 +348,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  Processor defined structures required for cpukit/score.<br>
  *<br>
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h<br>
index 59e9b4e..de0ead5 100644<br>
--- a/cpukit/score/cpu/m32c/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h<br>
@@ -371,6 +371,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  Processor defined structures required for cpukit/score.<br>
  *<br>
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h<br>
index 06d711a..470391a 100644<br>
--- a/cpukit/score/cpu/m68k/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h<br>
@@ -115,6 +115,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 #if ( CPU_HARDWARE_FP == TRUE ) && !defined( __mcoldfire__ )<br>
   #if defined( __mc68060__ )<br>
     #define M68K_FP_STATE_SIZE 16<br>
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h<br>
index cb66b89..67a9ea6 100644<br>
--- a/cpukit/score/cpu/mips/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/mips/rtems/score/cpu.h<br>
@@ -313,6 +313,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  Processor defined structures<br>
  *<br>
diff --git a/cpukit/score/cpu/moxie/rtems/score/cpu.h b/cpukit/score/cpu/moxie/rtems/score/cpu.h<br>
index 9f0b9b4..ad40ff4 100644<br>
--- a/cpukit/score/cpu/moxie/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/moxie/rtems/score/cpu.h<br>
@@ -285,6 +285,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  Processor defined structures required for cpukit/score.<br>
  *<br>
diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h<br>
index 1008865..0dd7ed4 100644<br>
--- a/cpukit/score/cpu/nios2/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h<br>
@@ -111,6 +111,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 #ifndef ASM<br>
<br>
 typedef struct {<br>
diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h<br>
index 1c29bd6..a56bc17 100644<br>
--- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h<br>
@@ -391,6 +391,12 @@ extern "C" {<br>
  */<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+/**<br>
+ * @brief Maximum number of processors of all systems supported by this CPU<br>
+ * port.<br>
+ */<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  Processor defined structures required for cpukit/score.<br>
  *<br>
diff --git a/cpukit/score/cpu/or1k/rtems/score/cpu.h b/cpukit/score/cpu/or1k/rtems/score/cpu.h<br>
index 7364343..5d7a72f 100644<br>
--- a/cpukit/score/cpu/or1k/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/or1k/rtems/score/cpu.h<br>
@@ -788,6 +788,8 @@ typedef struct {<br>
 #define CPU_SIZEOF_POINTER 4<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 #ifndef ASM<br>
 typedef uint32_t CPU_Counter_ticks;<br>
 typedef uint16_t Priority_bit_map_Word;<br>
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h<br>
index f988f8a..0f5c8d8 100644<br>
--- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h<br>
@@ -173,6 +173,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  Processor defined structures required for cpukit/score.<br>
  */<br>
diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h<br>
index 2bddba7..fd657dd 100644<br>
--- a/cpukit/score/cpu/sh/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/sh/rtems/score/cpu.h<br>
@@ -260,6 +260,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  Processor defined structures required for cpukit/score.<br>
  */<br>
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h<br>
index c2b5f4c..96b6ac5 100644<br>
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h<br>
@@ -363,6 +363,8 @@ typedef struct {<br>
   #define CPU_PER_CPU_CONTROL_SIZE 4<br>
 #endif<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /**<br>
  * @brief Offset of the CPU_Per_CPU_control::isr_dispatch_disable field<br>
  * relative to the Per_CPU_Control begin.<br>
diff --git a/cpukit/score/cpu/sparc64/rtems/score/cpu.h b/cpukit/score/cpu/sparc64/rtems/score/cpu.h<br>
index aa756f9..a669c54 100644<br>
--- a/cpukit/score/cpu/sparc64/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/sparc64/rtems/score/cpu.h<br>
@@ -209,6 +209,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 /*<br>
  *  This structure represents the organization of the minimum stack frame<br>
  *  for the SPARC.  More framing information is required in certain situaions<br>
diff --git a/cpukit/score/cpu/v850/rtems/score/cpu.h b/cpukit/score/cpu/v850/rtems/score/cpu.h<br>
index e910ae1..36e271c 100644<br>
--- a/cpukit/score/cpu/v850/rtems/score/cpu.h<br>
+++ b/cpukit/score/cpu/v850/rtems/score/cpu.h<br>
@@ -348,6 +348,8 @@ extern "C" {<br>
<br>
 #define CPU_PER_CPU_CONTROL_SIZE 0<br>
<br>
+#define CPU_MAXIMUM_PROCESSORS 32<br>
+<br>
 typedef struct {<br>
   /* There is no CPU specific per-CPU state */<br>
 } CPU_Per_CPU_control;<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.4.5<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br></div>